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