3 ms·
> \newwrite\outfile > \openout\outfile=cmd.tex > \write\outfile{\imm\diate\wwrite\args} > \write\outfile{\inp\iput\cmd} > \closeout\outf
by JadeNB 11y ago
> \newwrite\outfile
> \openout\outfile=cmd.tex
> \write\outfile{\imm\diate\wwrite\args}
> \write\outfile{\inp\iput\cmd}
> \closeout\outfile
Though a longtime TeXer, I've never used the output facilities very much, so it's probably my fault; but I can't understand what this does (hence what it illustrates), and some things seem like typos. For example, shouldn't `\imm\diate`, `\wwrite`, and `\iput` be `\immediate`, `\write`, and `\input`? (I don't know about `\inp`.) What does this do?
- radarsat1 11y agoIt's from the article.
- JadeNB 11y agoOops! I usually read comments first, to see if the article is worth it. Sorry about that.
- internetwache 11y agoThe abbreviations are defined with the `\def` in the same code snippet. So that aren't typos, but a way to build latex commands like `\immediate` by breaking it up in multiple parts.