aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-11-27 20:36:37 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-11-27 20:36:37 -0800
commit6c48030dcd70359e5f9c2eeef8cb01873ac033a6 (patch)
tree4bbdabd5a16beb2a780e71d47c0ea82abb78315c
parent279110eb7cfedd20e626cdeaaf94ccc6fbb1e8ab (diff)
downloadpandoc-6c48030dcd70359e5f9c2eeef8cb01873ac033a6.tar.gz
LaTeX template: if 'lang' is set, load babel.
Thanks to Magnus Therning for the suggestion.
-rw-r--r--default.latex3
1 files changed, 3 insertions, 0 deletions
diff --git a/default.latex b/default.latex
index e56583392..da96e6ab2 100644
--- a/default.latex
+++ b/default.latex
@@ -86,6 +86,9 @@ $endif$
$if(verbatim-in-note)$
\VerbatimFootnotes % allows verbatim text in footnotes
$endif$
+$if(lang)$
+\usepackage[$lang$]{babel}
+$endif$
$for(header-includes)$
$header-includes$
$endfor$