Christopher Creutzig wrote:
Won't help, since the \par in there is never evaluated. I need to stop it being generated in the first place. I guess I probably should change \catcode`\^^M and \catcode`\^^J before reading the contents.
\obeylines \let\obeyedlines\space
That would solve the second problem, assuming I insert a counter (which for the first problem would be needed anyway). But is there a way to tell texexec to run this and that between the TeX runs?
the *first mode is set automatically direct runs: \startmode[*first]% \executesystemcommand{...} \stopmode or between first and second run: \startmode[*first]% \installprogram{.....} \stopmode Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------