[XeTeX] Encoding of auxiliary files

Ulrike Fischer news2 at nililand.de
Wed Mar 12 18:12:13 CET 2008


Am Wed, 12 Mar 2008 12:41:00 +0000 schrieb Jonathan Kew:

>> Btw: Is is correct that the following code

>> {\XeTeXdefaultencoding "cp1252"
>>  \XeTeXdefaultencoding "auto"}

>> gives the message
>> ### simple group (level 1) entered at line 5 ({)
>> ### bottom level

> It is correct, though admittedly a little surprising. The issue here  
> is that encoding names (which are treated like filenames as far as  
> TeX's scanner is concerned) need to be terminated somehow. The quotes  
> do not necessarily delimit them, because it's possible for a name to  
> be constructed from several quoted fragments,

That's the problem when you do to much LaTeX, you forget that arguments
are delimited differently somehow when you use primitives. ;-)

But if the quotes don't terminate the filename, then why using them at
all? \XeTeXdefaultencoding cp1252\relax and  \XeTeXdefaultencoding
auto\relax seems to work fine. 


-- 
Ulrike Fischer 



More information about the XeTeX mailing list