[texhax] Alignment in a \newwrite file?
geolsoft at mail.ru
geolsoft at mail.ru
Sat Aug 21 12:39:07 CEST 2004
On Sat, Aug 21, 2004 at 11:42:50AM +0300, geolsoft at mail.ru wrote:
> If I got you right, the following does the job:
>
> %%%%%%%%%%%%%%%%%%%%begin of myfile.tex%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \newwrite\blue
>
> \immediate\openout\blue=bluefile
>
> \outer\def\putstuffoverthere#1#2{\immediate\write\blue{#1,& #2!\cr}}
>
> \putstuffoverthere{Hallo}{folks}
> \putstuffoverthere{Goodbye}{folks}
>
> \immediate\closeout\blue
>
> {\catcode`@=11 \halign{#&#\cr\input bluefile }}
>
> \bye
> %%%%%%%%%%%%%%%%%%%end of myfile.tex%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
>
> If you don't need the \catcode`@=11, the example above can
> work without it.
>
>
> Best regards,
> Oleg Katsitadze
Sorry, me and my mail software managed to confuse each
other, and I sent an unfinished message. Please disregard
this message and refer instead to my next.
Best regards,
Oleg Katsitadze
More information about the texhax
mailing list