[XeTeX] \typeout command not recognized ?

Ross Moore ross at ics.mq.edu.au
Fri Feb 24 13:24:01 CET 2006


On 24/02/2006, at 7:58 PM, Jonathan Kew wrote:

> <snip>
>>>> (/usr/local/teTeX/share/texmf.local/tex/xelatex/graphics/xetex.def
>>>> ! Undefined control sequence.
>>>> l.527 \typeout
>>>>               {...supports rotation and scaling}%
>>>> ?
>>>> Process aborted

>> 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?
>>
> <snip>
>>
>> In any case, \typeout is a TeX primitive if I remember correctly,  
>> thus I doubt any TeX implementation could make it wrong.
>
> No; \typeout is a LaTeX macro, and that's why it causes a problem  
> here. Guess we should change xetex.def to use something "plainer".  
> See:

Yep.
I wrote  xetex.def  assuming LaTeX would be used.

Just change  \typeout  to \message and it should work ...

... except that you won't get a new line in the .log  with each
call to  \message  .


> Alain, for an immediate workaround, you can simply edit the file / 
> usr/local/teTeX/share/texmf.local/tex/xelatex/graphics/xetex.def  
> and remove (or comment out) the \typeout line.

Or insert  \let\typeout\message  either early in the file,
or before it loads.


Hope this helps.

	Ross

>
> JK
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------




More information about the XeTeX mailing list