aboutsummaryrefslogtreecommitdiff
path: root/data/templates
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 /data/templates
parent302543af086ad90d5d2b2a8efd2dcdd64032a99d (diff)
downloadpandoc-06d834caaa91bee53537e49251a1b30cfb9a8d00.tar.gz
Use selnolig to selectively suppress ligatures with lualatex.
Closes #6534
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.latex3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 92ab9fe13..d6cca9c98 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -339,6 +339,9 @@ $if(babel-newcommands)$
$endif$
\fi
$endif$
+\ifluatex
+ \usepackage{selnolig} % disable illegal ligatures
+\fi
$if(dir)$
\ifxetex
% Load bidi as late as possible as it modifies e.g. graphicx