aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-10-16 23:34:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2021-10-16 23:34:53 -0700
commit3f489bcb5897898d453bef549d6eba5f5d2120bf (patch)
tree10d77c3677d074be27579ba09352b4bd3669eb8c /test
parentfcbfc8cd390da64817190e2feb3412aeaf54e911 (diff)
downloadpandoc-3f489bcb5897898d453bef549d6eba5f5d2120bf.tar.gz
Ensure that babel is loaded also with pdflatex.
This fixes a regression in #7604, which modernized babel usage but omitted to load babel for pdflatex, with the result that even simple documents could no longer be produced. Closes #7627.
Diffstat (limited to 'test')
-rw-r--r--test/writers-lang-and-dir.latex5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index c8a1c0338..1f7ce262b 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -44,11 +44,10 @@
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
-\ifXeTeX
-\usepackage[bidi=default]{babel}
-\fi
\ifLuaTeX
\usepackage[bidi=basic]{babel}
+\else
+\usepackage[bidi=default]{babel}
\fi
\babelprovide[main,import]{english}
\babelprovide[import]{ngerman}