[texhax] How to define a macro like \input

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Mon May 12 12:33:04 CEST 2003


> > > 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.
> 
> Err... I was just wondering: is this good or bad?

i suggest you try implementing the parser don talked about.

imo, the syntax of \input (the primitive, not the latex-hacked
version) is quite mad.



More information about the texhax mailing list