Am Mon, 20 Dec 2010 16:18:14 +0530 schrieb Shrisha Rao: > 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?
\begingroup \catcode ..=.. %(or simply \dev \chapter ... \addcontentsline ... \endgroup or \begingroup \dev \gdef\myarg{kR^ishhNaM vande jagadgurum.h} \endgroup \chapter*{\dev myarg} -- Ulrike Fischer -------------------------------------------------- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex