At 01:47 PM 7/6/01 +0200, David Antos wrote:
[btw others: david's file is a nice example]
>! Missing \endcsname inserted.
impressive error cq. stupid bug -)
btw, the file compiles well with pdfetex, so again a tex/etex compatibility
issue; unwise saving of couple of tokens
\unprotect
\def\doifcolorelse#1%
{\@EA\ifx\csname\??cr\@EA\ifx\csname\??cr\currentpalet#1\endcsname\relax\els
e\currentpalet\fi#1\endcsname\relax
\expandafter\secondoftwoarguments
\else
\expandafter\firstoftwoarguments
\fi}
\def\getcurrentcolorspecs#1%
{\edef\currentcolorspecs%
{\csname\??cr\@EA
\ifx\csname\??cr\currentpalet#1\endcsname\relax\else\currentpalet\fi
#1\endcsname}}
\def\MPcolor#1%
{\ifMPgraphics
\@EA\@EA\@EA\doMPcolor
\csname\??cr\@EA
\ifx\csname\??cr\currentpalet#1\endcsname\relax\else\currentpalet\fi
#1\endcsname
:::::\end
\else
#1%
\fi}
\protect
will solve your problem,
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------