aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-03-07 10:06:59 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-03-07 10:06:59 -0800
commit1bcfd44b43a36f4c05e87f034c4e623214737018 (patch)
tree0c48229a079dd4f1a4b4bcda4f7ee7719080f600
parent40ac87808b26951b54cd351319368fda79c25f78 (diff)
downloadpandoc-1bcfd44b43a36f4c05e87f034c4e623214737018.tar.gz
Use mainlang variable to set main language in context template.
-rw-r--r--default.context4
1 files changed, 2 insertions, 2 deletions
diff --git a/default.context b/default.context
index 21a062482..8def3a671 100644
--- a/default.context
+++ b/default.context
@@ -3,8 +3,8 @@
\setupcolors[state=start]
\stopmode
-$if(lang)$
-\mainlanguage[$lang$]
+$if(mainlang)$
+\mainlanguage[$mainlang$]
$endif$
% Enable hyperlinks