[XeTeX] (no subject)

Bruno Voisin bvoisin at mac.com
Fri May 5 18:03:07 CEST 2006

Le 5 mai 06 à 17:45, Rene Borgella a écrit :

> I am trying to learn how to use XeTex, but can't get it to work on my
> system.  I believe I have simply not done something correctly in the
> setup.  I use i-Installer, have the XeTex package installed last, have
> downloaded Will's fontspec package, but I don't know where I should  
> put
> all of the contents. In particular, where do files like 'fontspec.sty'
> and fontspec.ins go?
> When I try to run a sample file,
> \documentclass{article}
> \usepackage{fontspec}
> \setromanfont{Hoefler Text}
> \begin{document}
> My first XeLaTeX document, typeset in the Mac OS X font ``Hoefler
> Text''.
> \end{document}
> I get an error in TeXshop
> This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3)
> entering extended mode
> [...]
> LaTeX Warning: You have requested, on input line 31, version
>                `2005/05/07' of package xkeyval,
>                but only version
>                `2005/01/30 v2.0 package option processing (HA)'
>                is available.
> ! Undefined control sequence.
> l.447 \define at choicekey
>                        [zf]{preparse}{Renderer}{AAT,ICU}{%

You need to install the latest version of the xkeyval package,  
available from CTAN for example at <ftp://ftp.cam.ctan.org/tex- 
archive/macros/latex/contrib/xkeyval.zip>. Very briefly (I'm in a rush):

- fontspec.sty and fontspec.cfg should go to ~/Library/texmf/tex/ 

- xkeyval.sty and the accompanying *.sty files should go to ~/Library/ 

When you are more comfortable with the command line (ie Terminal) you  
may move them to the corresponding subdirectories of /Library/teTeX/ 
share/texmf.local, running "sudo -H mktexlsr" afterwards.

Please direct questions whenever possible to the corresponding lists  
(OS X TeX, XeTeX, etc.). I cannot devote as much time to TeX matters  
as I once could, and I cannot really answer individual questions.  
Moreover, yours is a question whose answer may be of interest to a  
number of recent XeTeX converts.

Hope this helps,


More information about the XeTeX mailing list