aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-02-18 15:48:40 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-02-18 15:48:40 -0800
commit24d7cd539ba70aa94480976a7957420c020cb19a (patch)
tree2b2a59b80b6422cacec03d88610f55aa09aa2e4d /data/templates
parent53cf8295a4825297f78e20b6ce73d2da8fd7ef84 (diff)
downloadpandoc-24d7cd539ba70aa94480976a7957420c020cb19a.tar.gz
LaTeX template: disable `` ?` `` and `` !` `` ligatures.
These are often triggered by accident in languagegs that use ` `` ` for end quote (e.g. German). See jgm/citeproc#54.
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/default.latex1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index c98f53bb6..efc905741 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -181,6 +181,7 @@ $endif$
\IfFileExists{microtype.sty}{% use microtype if available
\usepackage[$for(microtypeoptions)$$microtypeoptions$$sep$,$endfor$]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
+ \DisableLigatures[?,!]{encoding=T1} % disable ?` and !` ligatures
}{}
$if(indent)$
$else$