[XeTeX] Fontspec mappings causing errors in ToC/chapter-headings in memoir class documents

Shrisha Rao shrao at nyx.net
Mon Dec 20 12:25:07 CET 2010


El dic 20, 2010, a las 4:18 p.m., Shrisha Rao escribió:

> El dic 20, 2010, a las 3:56 p.m., Ulrike Fischer escribió:
> 
>> Your problem has nothing to do with fontspec. Your commands \dev etc
>> change catcodes. But when you use them in the argument of a command
>> this changes are too late. The catcodes are already fixed. 
>> 
>> Change the catcodes before the \chapter* command. 
> 
> Thanks, but the only way to do that would be to have \chapter*, enclosed in \dev{...}, which does not seem to work (already tried that with no success).  So I'm not sure what you mean.  What precisely would you do instead?

I tried inserting the \catcode`\^=11, etc., right after \begin{document} and that seems to work.  Thanks again.

Regards,

Shrisha Rao

> Regards,
> 
> Shrisha Rao
> 
>> Ulrike Fischer 




More information about the XeTeX mailing list