aboutsummaryrefslogtreecommitdiff
path: root/test/writers-lang-and-dir.latex
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-07-15 13:28:44 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-07-15 13:28:44 -0700
commit06d834caaa91bee53537e49251a1b30cfb9a8d00 (patch)
tree1b7dee3113214accb5a16a224564cc7f92b92d54 /test/writers-lang-and-dir.latex
parent302543af086ad90d5d2b2a8efd2dcdd64032a99d (diff)
downloadpandoc-06d834caaa91bee53537e49251a1b30cfb9a8d00.tar.gz
Use selnolig to selectively suppress ligatures with lualatex.
Closes #6534
Diffstat (limited to 'test/writers-lang-and-dir.latex')
-rw-r--r--test/writers-lang-and-dir.latex3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index a9eefb32f..2e29bb196 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -66,6 +66,9 @@
\newcommand{\textfrench}[2][]{\foreignlanguage{french}{#2}}
\newenvironment{french}[2][]{\begin{otherlanguage}{french}}{\end{otherlanguage}}
\fi
+\ifluatex
+ \usepackage{selnolig} % disable illegal ligatures
+\fi
\ifxetex
% Load bidi as late as possible as it modifies e.g. graphicx
\usepackage{bidi}