[XeTeX] xelatex not working

Jonathan Kew jonathan_kew at sil.org
Wed Aug 9 10:46:17 CEST 2006

On 9 Aug 2006, at 9:17 am, Peter Dyballa wrote:

> Am 09.08.2006 um 02:21 schrieb Joshua Grauman:
>> ! Undefined control sequence.
>> l.449 \define at choicekey
>>                         [zf]{preparse}{Renderer}{AAT,ICU}{%
> This is not XeTeX related, it's just TeX: you're not allowed to use @
> in a control sequence in a regular TeX document, not even in its
> preamble. You need to 'escape' this:
> 	\makeatletter
> 	    <your definitions>
> 	\makeatother
> The use of control sequences with @ is freely allowed in CLS or STY
> files.

Sorry, Pete -- wrong explanation. This is coming from fontspec.sty,  
and the @ is recognized as part of the control sequence name.  
Otherwise the error would have read:

>> ! Undefined control sequence.
>> l.449 \define
>>               @choicekey[zf]{preparse}{Renderer}{AAT,ICU}{%

As Will noted, the problem is that fontspec requires an up-to-date  
version of the xkeyval package, and Joshua's TeX Live installation  
(at least it looks like TL from the paths) has an older version. And  
because of the texmf.cnf setup, it doesn't see the newer copy that  
probably got installed into texmf-local by the xetex installation  
script. :(

There's probably a better way to handle this for TL-based  
installations, and I hope we'll have it all sorted out by the time of  
TL2006. But for now some hand-adjustment of file locations and/or  
texmf.cnf paths is needed to ensure that the right packages are used.


More information about the XeTeX mailing list