[XeTeX] \typeout command not recognized ?

Bruno Voisin bvoisin at mac.com
Fri Feb 24 09:10:41 CET 2006


Le 24 févr. 06 à 08:52, Damlamian, Alain a écrit :

> While trying out some typesetting with XeTeX, I came to this error:
>
>> This is XeTeX, Version 3.141592-2.2-0.99b (Web2C 7.5.3)
>> entering extended mode
>> (./Lecture Erevan2_Oct. 2004 copy.tex
>> (/usr/local/teTeX/share/texmf.tetex/tex/plain/graphics/graphicx.tex
>> (/usr/local/teTeX/share/texmf.tetex/tex/plain/graphics/miniltx.tex)
>> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphicx.sty
>> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/keyval.sty)
>> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/graphics.sty
>> (/usr/local/teTeX/share/texmf.tetex/tex/latex/graphics/trig.sty)
>> (/usr/local/teTeX/share/texmf.local/tex/xelatex/graphics/ 
>> graphics.cfg)
>> (/usr/local/teTeX/share/texmf.local/tex/xelatex/graphics/xetex.def
>> ! Undefined control sequence.
>> l.527 \typeout
>>               {...supports rotation and scaling}%
>> ?
>> Process aborted

I'm not quite sure this is connected, but does the above line:

>> (./Lecture Erevan2_Oct. 2004 copy.tex

mean you're running XeTeX on a file with a space in its name?

I see you're using plain TeX, and loading the LaTeX graphics package  
through the miniltx.tex compatibility layer. Normally this should  
work, but who knows?

In Textures, typesetting in plain TeX a file with space(s) in its  
name wasn't a problem: the Textures TeX engine was able to process  
files with space(s) in their names. However, as soon as LaTeX was  
used, auxiliary files with .aux extensions were created, and the TeX  
file opening, reading, writing and closing routines were used, which  
generally don't like spaces in file names.

In the OS X TeXs of now, based on the TeXs from the Unix and Linux  
worlds, the TeX engines not only have problems dealing with  
these .aux files, but they have also problems typesetting any file  
with space(s) in its name. Which means, in practice, that, for these  
more recent TeXs, spaces in file names have to be prohibited not only  
for LaTeX, but also for plain TeX.

I'm not sure the above is strictly correct, or even that it is really  
the cause of your problem, but that's a possibility.

In any case, \typeout is a TeX primitive if I remember correctly,  
thus I doubt any TeX implementation could make it wrong.

Hope this helps,

Bruno Voisin 



More information about the XeTeX mailing list