[texhax] Solved: Re: Index in (e)plain TeX

Uwe Lueck uwe.lueck at web.de
Sat Apr 23 22:01:30 CEST 2011


"D. R. Evans" <doc.evans at gmail.com> wrote 21.04.2011 22:13:31:
> Backtracking and making smaller and smaller test files, I found the problem...
>
> I was defining \or.
>
> The default \or is not something I ever use in my macros, and I'd
> completely forgotten that it has a pre-existing definition that I was
> blithely overwriting.

Great! With LaTeX (instead of Eplain), you have \newcommand
to check "newness."  (I do not know if Eplain has such a thing,
it doesn't have \newcommand...)

My first \newenvironment was \newenvironment{def},
in order to get a "Definition" environment. This way I learnt of \def...

Cheers,

    Uwe.




More information about the texhax mailing list