aboutsummaryrefslogtreecommitdiff
path: root/default.latex
diff options
context:
space:
mode:
authorAndrew Dunning <andunning@gmail.com>2015-10-16 08:41:15 -0400
committerAndrew Dunning <andunning@gmail.com>2015-10-16 08:41:15 -0400
commita91783cee3a2b686b3c20a1a1fc6f57ce520fde8 (patch)
tree00088a8e5dad0b050154358a7a1a578693eba497 /default.latex
parent92e66456ec773382b644c1eda72bef8c25474860 (diff)
downloadpandoc-a91783cee3a2b686b3c20a1a1fc6f57ce520fde8.tar.gz
Use Ligatures=TeX for fontspec.
This avoids the ‘use `Ligatures=TeX` instead of `Mapping=tex-text`’ warning when using LuaTeX. The manual clarifies: “for consistency `Ligatures=TeX` will perform the same function as `Mapping=tex-text`.”
Diffstat (limited to 'default.latex')
-rw-r--r--default.latex2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.latex b/default.latex
index 463b096b6..c8dd13aa5 100644
--- a/default.latex
+++ b/default.latex
@@ -23,7 +23,7 @@ $endif$
\else
\usepackage{fontspec}
\fi
- \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase}
+ \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
\newcommand{\euro}{€}
$if(mainfont)$
\setmainfont[$mainfontoptions$]{$mainfont$}