[XeTeX] Confusion with encoding

Will Robertson will at guerilla.net.au
Fri Mar 25 14:54:37 CET 2005


On 25 Mar 2005, at 9:04 PM, Bruno Voisin wrote:

> Le 25 mars 05, à 10:37, Simon Spiegel a écrit :
>
>> I'm now using the latest versions of XeTeX, xunicode and fontspec and 
>> I have the problems that typical LaTeX stuff like -- or ,, or `` 
>> isn't rendered properly. This works when I use the adobetypeclassic 
>> package, but if I understood this correctly this package shouldn't be 
>> necessary anymore. I though xunicode would take care of this, but it 
>> doesn't.
>
> IIRC this isn't connected with xunicode.sty, but with using the flag 
> ":mapping=tex-text" when calling fonts.

Yes indeed. Using fontspec you could write 
\defaultfontfeatures{Mapping=tex-text} at the beginning of your 
document. Would it perhaps be better if I automatically enabled this 
feature unless a package option on the contrary was issued?

W



More information about the XeTeX mailing list