[texhax] Writing verbatim to file

Mike B. mb78aa at yahoo.com
Mon Mar 7 03:49:57 CET 2011


Thanks, but it's not working.

\addtostream{fw}{\string\{}
writes \{ to the file (which is not what I need, only {).

\addtostream{fw}{\string{}
generates an error of a runawat argument.

Am I doing something wrong from your example?.

Thanks.

--- On Mon, 7/3/11, Reinhard Kotucha <reinhard.kotucha at web.de> wrote:

> From: Reinhard Kotucha <reinhard.kotucha at web.de>
> Subject: Re: [texhax] Writing verbatim to file
> To: mb78aa at yahoo.com
> Cc: "texhax ML" <texhax at tug.org>
> Date: Monday, 7 March, 2011, 1:11 PM
> On 2011-03-06 at 17:28:12 -0800, Mike
> B. wrote:
> You can precede characters which have a special meaning
> with \string,
> for instance
> 
>    \string\foo
> 
> when writing to a file.
> 
> Regards,
>   Reinhard






More information about the texhax mailing list