diff options
author | Andrew Dunning <andunning@gmail.com> | 2015-10-16 08:41:15 -0400 |
---|---|---|
committer | Andrew Dunning <andunning@gmail.com> | 2015-10-16 08:41:15 -0400 |
commit | a91783cee3a2b686b3c20a1a1fc6f57ce520fde8 (patch) | |
tree | 00088a8e5dad0b050154358a7a1a578693eba497 | |
parent | 92e66456ec773382b644c1eda72bef8c25474860 (diff) | |
download | pandoc-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`.”
-rw-r--r-- | default.beamer | 2 | ||||
-rw-r--r-- | default.latex | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/default.beamer b/default.beamer index 9198ef010..079da802c 100644 --- a/default.beamer +++ b/default.beamer @@ -40,7 +40,7 @@ $endif$ \else \usepackage{fontspec} \fi - \defaultfontfeatures{Mapping=tex-text,Scale=MatchLowercase} + \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase} \newcommand{\euro}{€} $if(mainfont)$ \setmainfont[$mainfontoptions$]{$mainfont$} 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$} |