aboutsummaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorVáclav Haisman <vhaisman@gmail.com>2018-03-18 04:20:57 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2018-03-17 20:20:57 -0700
commit2ddf2257dcba7554606ea96b259e81842c5bcbb3 (patch)
treef95cade91ccb0bbb79efde8e9d300d116aa44ff4 /test/writers-lang-and-dir.latex
parent90a705c8aff676dff174ebc3bfd45d632f65005f (diff)
downloadpandoc-2ddf2257dcba7554606ea96b259e81842c5bcbb3.tar.gz
Provide `bidi` package's option using `\PassOptionsToPackage` (#4357).
* Provide `bidi` package's option using `\PassOptionsToPackage`. This avoid clash when `polyglossia` loads it first and then it is loaded again for XeLaTeX when `latex-dir-rtl` defined. * Adjust test suite for LaTeX template change.
Diffstat (limited to 'test/writers-lang-and-dir.latex')
-rw-r--r--test/writers-lang-and-dir.latex4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index 97c34010c..9a31a7df8 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -74,8 +74,8 @@
\fi
\ifxetex
% load bidi as late as possible as it modifies e.g. graphicx
- \usepackage{bidi}
- \fi
+ \usepackage{bidi}
+\fi
\ifnum 0\ifxetex 1\fi\ifluatex 1\fi=0 % if pdftex
\TeXXeTstate=1
\newcommand{\RL}[1]{\beginR #1\endR}