[texhax] Write verbatim to file - can't stop

CV Radhakrishnan cvr at river-valley.org
Fri Sep 3 14:30:12 CEST 2004

<quote who="Matthew Leingang">
> Hello,
> I have a long LaTeX file with several control sequences of the form
> \cs{text}
> I'd like to change the definition of \cs to write "text" to another
> file, unexpanded.

Try the following, this seems to work as you wanted.


     \immediate\write\x{\expandafter\strip at prefix\meaning\next}}







More information about the texhax mailing list