[texhax] How to define a macro like \input

Donald Arseneau asnd at triumf.ca
Mon May 12 06:31:45 CEST 2003


xkyanh at yahoo.com (ky anh) writes:

> As you know, \input treats his arguments
> in various ways, ...
> Yes, how can we define a macro like \input?

Don Knuth, in his infinite wisdom, decided to make TeX macro
syntax completely different from TeX built-in command syntax.

So the answer is, you have to write a parser in TeX macros.

Donald Arseneau                          asnd at triumf.ca



More information about the texhax mailing list