Am Wed, 19 Dec 2012 22:05:06 +0000 schrieb Philip TAYLOR:

>> \usepackage{fontspec}
>> \defaultfontfeatures{Ligatures=TeX}
 
> Sadly that is not backwards-compatible : tried in Plain XeTeX,
> no ligatures are recognised :
 
>       \font \bodyfont = "Arial Unicode MS:Ligatures=TeX"

Ligatures=TeX is a high-level option of fontspec. If you use
something like 

\usepackage{fontspec}
\setmainfont[Ligatures=TeX]{Arial}

then fontspec will tell you in the log-file how this translates to
low-level syntax:

"Arial/ICU:mapping=tex-text;"

So in plain tex you can do something like this:

\font\test="Arial:mapping=tex-text;"
\test a--b

to get long dashes.

(The /ICU is seldom necessary).

-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to