diff options
author | Nathan Gass <gass@search.ch> | 2010-12-13 21:18:01 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2010-12-13 20:41:37 -0800 |
commit | 48600fd5473d1a3c596c6ac8c29f1d7b17f1dc92 (patch) | |
tree | 71119dae7eb1673f818891ce9a6f415faf527999 /templates | |
parent | 1a4a0d0283ef915d0e10fcb24027ff8bc93154e5 (diff) | |
download | pandoc-48600fd5473d1a3c596c6ac8c29f1d7b17f1dc92.tar.gz |
Added support to write natbib or biblatex citations in latex output.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/latex.template | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/latex.template b/templates/latex.template index eeb2f9e4b..8797871e8 100644 --- a/templates/latex.template +++ b/templates/latex.template @@ -13,6 +13,16 @@ $else$ \usepackage[mathletters]{ucs} \usepackage[utf8x]{inputenc} $endif$ +$if(natbib)$ +\usepackage{natbib} +\bibliographystyle{plainnat} +$endif$ +$if(biblatex)$ +\usepackage{biblatex} +$if(biblio)$ +\bibliography{$biblio$} +$endif$ +$endif$ $if(lhs)$ \usepackage{listings} \lstnewenvironment{code}{\lstset{language=Haskell,basicstyle=\small\ttfamily}}{} @@ -94,6 +104,14 @@ $if(toc)$ $endif$ $body$ +$if(biblio)$ +$if(natbib)$ +\bibliography{$biblio$} +$endif$ +$endif$ +$if(biblatex)$ +\printbibliography +$endif$ $for(include-after)$ $include-after$ |