LaTeX, beamer: add setotherlanguages to polyglossia.

This commit is contained in:
John MacFarlane 2015-05-27 12:14:10 -07:00
parent 3370fd9f11
commit 4e72f2bff9
2 changed files with 2 additions and 0 deletions

View file

@ -120,6 +120,7 @@ $if(lang)$
\ifxetex \ifxetex
\usepackage{polyglossia} \usepackage{polyglossia}
\setmainlanguage{$mainlang$} \setmainlanguage{$mainlang$}
\setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
\else \else
\usepackage[shorthands=off,$lang$]{babel} \usepackage[shorthands=off,$lang$]{babel}
\fi \fi

View file

@ -53,6 +53,7 @@ $if(lang)$
\ifxetex \ifxetex
\usepackage{polyglossia} \usepackage{polyglossia}
\setmainlanguage{$mainlang$} \setmainlanguage{$mainlang$}
\setotherlanguages{$for(otherlang)$$otherlang$$sep$,$endfor$}
\else \else
\usepackage[shorthands=off,$lang$]{babel} \usepackage[shorthands=off,$lang$]{babel}
\fi \fi