[texhax] Alignment in a \newwrite file?

Rodolfo Medina romeomedina at libero.it
Fri Aug 20 22:49:13 CEST 2004

Hi, all.

In plain TeX format:
I want to output stuff into a file, let's call it `bluefile.tex'.
In `myfile.tex' I say:

%%%%%%%%%%%%%%%%%%%%begin of myfile.tex%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\outer\def\putstuffoverthere#1#2{\immediate\write\blue{#1, #2!}}



{\catcode`@=11 \input bluefile }

%%%%%%%%%%%%%%%%%%%end of myfile.tex%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

and got

Hallo, folks!

in the ouput file.
Now, I would like all the stuff that gets into bluefile.tex to be aligned
according, e.g., to the template


, i.e. all the bluefile.tex to be structured according to that alignment
Is it possible to achieve this, and how?


More information about the texhax mailing list