aboutsummaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-09-07 22:16:23 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-07 22:16:23 -0700
commit732005456e2b28150943a5a4e11bca6e1566f309 (patch)
tree191f3605e040becfbd444ac0a209064ae3dc312d /test/writers-lang-and-dir.latex
parent5fc4980216bf0a6b425827417655991859cba5ec (diff)
downloadpandoc-732005456e2b28150943a5a4e11bca6e1566f309.tar.gz
LaTeX template: load polyglossia after header-includes.
It needs to be loaded as late as possible. Closes #3898.
Diffstat (limited to 'test/writers-lang-and-dir.latex')
-rw-r--r--test/writers-lang-and-dir.latex12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index b8481c879..ae29cd1bb 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -44,6 +44,12 @@
\let\oldsubparagraph\subparagraph
\renewcommand{\subparagraph}[1]{\oldsubparagraph{#1}\mbox{}}
\fi
+
+% set default figure placement to htbp
+\makeatletter
+\def\fps@figure{htbp}
+\makeatother
+
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\usepackage[shorthands=off,ngerman,british,nswissgerman,spanish,french,main=english]{babel}
\newcommand{\textgerman}[2][]{\foreignlanguage{ngerman}{#2}}
@@ -77,12 +83,6 @@
\newenvironment{LTR}{\beginL}{\endL}
\fi
-% set default figure placement to htbp
-\makeatletter
-\def\fps@figure{htbp}
-\makeatother
-
-
\date{}
\begin{document}