aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-05-27 12:14:10 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-05-27 12:14:54 -0700
commit4e72f2bff9e9edca64b1559746228eaa00b260a0 (patch)
tree9084becd01a502ea3d853b7853cfacedd1f3822f
parent3370fd9f11a2676c2052cdf50d7f0edafa751461 (diff)
downloadpandoc-4e72f2bff9e9edca64b1559746228eaa00b260a0.tar.gz
LaTeX, beamer: add setotherlanguages to polyglossia.
-rw-r--r--default.beamer1
-rw-r--r--default.latex1
2 files changed, 2 insertions, 0 deletions
diff --git a/default.beamer b/default.beamer
index faef00acc..a4ed01884 100644
--- a/default.beamer
+++ b/default.beamer
@@ -120,6 +120,7 @@ $if(lang)$
\ifxetex
\usepackage{polyglossia}
\setmainlanguage{$mainlang$}
+ \setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
\else
\usepackage[shorthands=off,$lang$]{babel}
\fi
diff --git a/default.latex b/default.latex
index cd45cf895..d92ff2c4a 100644
--- a/default.latex
+++ b/default.latex
@@ -53,6 +53,7 @@ $if(lang)$
\ifxetex
\usepackage{polyglossia}
\setmainlanguage{$mainlang$}
+ \setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
\else
\usepackage[shorthands=off,$lang$]{babel}
\fi