diff options
author | mb21 <mb21@users.noreply.github.com> | 2015-10-17 17:48:06 +0200 |
---|---|---|
committer | mb21 <mb21@users.noreply.github.com> | 2015-10-18 16:48:55 +0200 |
commit | e3cfba292613faa21c61d539f6e33929fd08fade (patch) | |
tree | de22b431541ee2427523191c174fcf262daf1d01 /default.latex | |
parent | 319b641365d23a3a5f84c569a35dbaeef4362b9b (diff) | |
download | pandoc-e3cfba292613faa21c61d539f6e33929fd08fade.tar.gz |
LaTeX and beamer templates: add babel-otherlangs and babel-newcommands
Diffstat (limited to 'default.latex')
-rw-r--r-- | default.latex | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/default.latex b/default.latex index 0579f304d..4189141ca 100644 --- a/default.latex +++ b/default.latex @@ -80,14 +80,15 @@ $endif$ $if(hidelinks)$,hidelinks,$endif$} \urlstyle{same} % don't use monospace font for urls $if(lang)$ -\ifxetex +\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex + \usepackage[shorthands=off,$for(babel-otherlangs)$$babel-otherlangs$$sep$,$endfor$,main=$babel-lang$]{babel} + $babel-newcommands$ +\else \usepackage{polyglossia} \setmainlanguage[$polyglossia-lang.options$]{$polyglossia-lang.name$} $for(polyglossia-otherlangs)$ \setotherlanguage[$polyglossia-otherlangs.options$]{$polyglossia-otherlangs.name$} $endfor$ -\else - \usepackage[shorthands=off,$babel-lang$]{babel} \fi $endif$ $if(natbib)$ |