From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4949 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: New ConTeXt vs. old document Date: Fri, 06 Jul 2001 20:05:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20010706200527.019d3b00@server-1> References: <20010706114714.6F7DC52551@bart.math.muni.cz> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035395577 30043 80.91.224.250 (23 Oct 2002 17:52:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:52:57 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: antos@math.muni.cz (David Antos) In-Reply-To: <20010706114714.6F7DC52551@bart.math.muni.cz> Xref: main.gmane.org gmane.comp.tex.context:4949 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4949 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 | pragma@wxs.nl 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 -------------------------------------------------------------------------