[XeTeX] Problem with tremas

Bruno Voisin bvoisin at mac.com
Tue Jun 6 13:08:44 CEST 2006


Le 6 juin 06 à 12:53, Marc Pautrel a écrit :

> In fact, I use XeTeX only to have easily the Garamond, Baskerville,  
> and
> others beautiful Mac OS X fonts in LaTeX
>
> All my files were in latin1, so I must convert it in UTF, convert the
> TeX headers, etc. etc.

Not really: in case you're using XeLaTeX, just make sure the xunicode  
package is loaded (so as to remap \'e to é, for example) and your  
fonts are loaded with the mapping=tex-text modifier (so that -- is  
remapped to the UTF-8 en-dash –, for example).

The easiest way to do this is like this:

\usepackage{xunicode}
\usepackage{fontspec}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Scale=MatchLowercase]{Verdana}

An alternative (not requiring XeTeX) is the gtamacfonts package,  
available in gwTeX. The doc is at /Library/teTeX/share/texmf.gwtex/ 
doc/fonts/gtamacfonts/gtamacfonts.pdf. Be warned though: there has  
been controversy on the OS X TeX list, regarding whether or not the  
extraction (used by gtamacfonts) of the original .ttf font files from  
their OS X packaging as .dfont files is compatible with the Apple OS  
X license. Personally I think it is, but others think it isn't.

Bruno Voisin



More information about the XeTeX mailing list