@@ -80,14 +80,15 @@ $endif$
8080 $if(hidelinks)$,hidelinks,$endif$}
8181\urlstyle{same} % don't use monospace font for urls
8282$if(lang)$
83−\ifxetex
83+\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
84+ \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$$sep$,$endfor$,main=$babel-lang$]{babel}
85+ $babel-newcommands$
86+\else
8487 \usepackage{polyglossia}
8588 \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$}
8689$for(polyglossia-otherlangs)$
8790 \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$}
8891$endfor$
89−\else
90− \usepackage[shorthands=off,$babel-lang$]{babel}
9192\fi
9293$endif$
9394$if(natbib)$