[XeTeX] loosing some active characters

Bruno Voisin bvoisin at mac.com
Thu Jun 12 23:39:11 CEST 2008


Le 12 juin 08 à 23:29, François Patte a écrit :

> I used to type: --- in order to get a punctuation dash with latex.  
> This
> is no more true with xelatex... Did I forgot something?

You need to specify the tex-text mapping:

- in plain TeX, when loading a font:

	\font\a=MyPreferredFont:mapping=tex-text

- in LaTeX with the fontspec package, by adding the declaration:

	\defaultfontfeatures{Mapping=tex-text}

By the way, --- is not an active character, but one of the weird  
ligatures built in TeX font metrics.

Bonne chance !

Bruno Voisin

	


More information about the XeTeX mailing list