git.iko.soy/typeable/pandoc
on master help sign in
Use polyglossia with xelatex in beamer. Closes #85.
ab55684John MacFarlane
default.beamer+6−1
@@ -117,7 +117,12 @@ $if(verbatim-in-note)$
117\VerbatimFootnotes % allows verbatim text in footnotes
117\VerbatimFootnotes % allows verbatim text in footnotes
118$endif$
118$endif$
119$if(lang)$
119$if(lang)$
120+\ifxetex
121+ \usepackage{polyglossia}
122+ \setmainlanguage{$mainlang$}
123+\else
120−\usepackage[$lang$]{babel}
124+ \usepackage[shorthands=off,$lang$]{babel}
125+\fi
121$endif$
126$endif$
122$for(header-includes)$
127$for(header-includes)$
123$header-includes$
128$header-includes$