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`.”
This commit is contained in:
parent
92e66456ec
commit
a91783cee3
2 changed files with 2 additions and 2 deletions
|
@ -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$}
|
||||
|
|
|
@ -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$}
|
||||
|
|
Loading…
Add table
Reference in a new issue