Fix PDF export and update some chapters

This commit is contained in:
2022-09-23 08:27:32 +02:00
parent a6ce06f012
commit 4536f1330a
4 changed files with 23 additions and 4 deletions

View File

@ -328,9 +328,9 @@ $if(lang)$
\ifxetex
% Load polyglossia as late as possible: uses bidi with RTL langages (e.g. Hebrew, Arabic)
\usepackage{polyglossia}
\setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
\setmainlanguage[$polyglossia-lang.options$]{$mainlang$}
$for(polyglossia-otherlangs)$
\setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
\setotherlanguage[$polyglossia-otherlangs.options$]{$otherlang$}
$endfor$
\else
\usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$,$endfor$main=$babel-lang$]{babel}