From 3f489bcb5897898d453bef549d6eba5f5d2120bf Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 16 Oct 2021 23:34:53 -0700 Subject: 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. --- test/writers-lang-and-dir.latex | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'test') 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} -- cgit v1.2.3