[XeTeX] \typeout command not recognized ?

Alain Damlamian damla at univ-paris12.fr
Fri Feb 24 15:32:46 CET 2006


Thanks to Jonathan Kew and Bruno Voisin for their replies.
What Jonathan suggests is exactly what I did (comment out the line in 
/xetex.def), but I wondered if there was some error on my part also.

By the way, I have no problem with spaces in file names under XeTeX.
Actually, I managed to transfer a series of macros from Textures to 
XeTeX to make nice overheads with XeTeX (The only modification was to 
change the graphics input mode and some tweaking of the spacing). 
This is great for my work.

Alain



At 12:00 +0100 24/02/2006, xetex-request at tug.org wrote:
>Message: 3
>Date: Fri, 24 Feb 2006 08:58:20 +0000
>From: Jonathan Kew <jonathan_kew at sil.org>
>Subject: Re: [XeTeX] \typeout command not recognized ?
>To: Unicode-based TeX for Mac OS X <xetex at tug.org>
>Message-ID: <CA815332-F56C-4B5F-AA25-713E0F3CCF83 at sil.org>
>Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
>
>On 24 Feb 2006, at 8:10 am, Bruno Voisin wrote:
>
>>  Le 24 fÈvr. 06 ý 08:52, Damlamian, Alain a Ècrit :
>>
>>>  While trying out some typesetting with XeTeX, I came to this error:
>>>
><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'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?
>
>Shouldn't be a problem, AFAIK.
>
>>
>>  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:
>
>	Kew-PowerBookG4:~ jonathan$ latex \\show\\typeout
>	This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
>	entering extended mode
>	LaTeX2e <2003/12/01>
>	Babel <v3.8d> and hyphenation patterns for american, french, german, 
>latin, spa
>	nish, nohyphenation, loaded.
>	> \typeout=macro:
>	#1->\begingroup \set at display@protect \immediate \write \@unused {#1}
>\endgroup .
>	<*> \show\typeout
>
>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.
>
>JK
>


-- 

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Prof. (Mr) Alain Damlamian   		 	   damla at univ-paris12.fr
			       alternate addresses: alain at damlamian.org,
						     alain at damlamian.net
  Université Paris 12 Val de Marne         	 
  94010 Créteil Cedex, France       
  eFax	+1-425-977-7513                   (depuis la France 08 26079915)
  tel: office +33-(0)1 45171653         	   mobile +33 6 07564935
________________________________________________________________________
      Laboratoire d'Analyse et de Mathématiques Appliquées 
				CNRS UMR 8050
	Universités de Marne-la-Vallée et Paris 12 Val-de-Marne
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@



More information about the XeTeX mailing list