[XeTeX] unicode characters not showing in xelatex

Alan Munn amunn at gmx.com
Tue Apr 19 19:00:21 CEST 2011


On Apr 19, 2011, at 12:32 PM, Peter Dyballa wrote:

> 
> Am 18.04.2011 um 21:29 schrieb Jacobo Myerston:
> 
>> \usepackage{fontspec,xltxtra,xunicode}
>> \defaultfontfeatures{Mapping=tex-text}
> 
> When you're using this default feature than you don't need to repeat it, as in the next line.
> 
>> \setmainfont[Ligatures=TeX, Mapping=tex-text]{Linux Libertine O}
> 
> The Ligatures=TeX option is only valid with LuaTeX. XeTeX should report an error here.

No, this is the preferred usage now.  (As of some recent version of fontspec). From the docs:

"Mapping enables a XeTeX text-mapping scheme, shown in Example 41. Using the tex-text mapping is also equivalent to writing Ligatures=TeX. The use of the latter syntax is recommended for better compatibility with LuaTEX documents."

Alan

-- 
Alan Munn
amunn at gmx.com







More information about the XeTeX mailing list