[tex-eplain] sidx & optional arguments

Oleg Katsitadze olegkat at gmail.com
Fri Jul 30 16:08:13 CEST 2010


Hi Laszlo,

On Mon, 26 Jul 2010 15:57:40 +0000 (UTC), Laszlo Hosszu <l.l.hosszu at shef.ac.uk> said:
> Which results in following error.
>
> ! Undefined control sequence.
> \finresidx ...\toks 0={#1}\toks 2=\expandafter {\@
>                                                   optionalarg}\edef \temp {\...
> l.12 This is a test of \finresidx{Darwin}
>                                          .
> ?

Try wrapping your definitions of \residx and \finresidx in a
\makeatletter ... \makeatother block.

HTH,
Oleg


More information about the tex-eplain mailing list