From a91783cee3a2b686b3c20a1a1fc6f57ce520fde8 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Fri, 16 Oct 2015 08:41:15 -0400 Subject: Use Ligatures=TeX for fontspec. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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`.” --- default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default.latex') 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$} -- cgit v1.2.3