Use polyglossia with xelatex in beamer. Closes #85.

This commit is contained in:
John MacFarlane 2015-05-27 10:33:02 -07:00
parent 513c4388c3
commit ab55684bc1

View file

@ -117,7 +117,12 @@ $if(verbatim-in-note)$
\VerbatimFootnotes % allows verbatim text in footnotes \VerbatimFootnotes % allows verbatim text in footnotes
$endif$ $endif$
$if(lang)$ $if(lang)$
\usepackage[$lang$]{babel} \ifxetex
\usepackage{polyglossia}
\setmainlanguage{$mainlang$}
\else
\usepackage[shorthands=off,$lang$]{babel}
\fi
$endif$ $endif$
$for(header-includes)$ $for(header-includes)$
$header-includes$ $header-includes$