From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/4951 Path: main.gmane.org!not-for-mail From: antos@math.muni.cz (David Antos) Newsgroups: gmane.comp.tex.context Subject: Re: New ConTeXt vs. old document Date: Sat, 7 Jul 2001 09:42:52 +0200 (CEST) Sender: owner-ntg-context@let.uu.nl Message-ID: <20010707074252.3865052352@bart.math.muni.cz> References: <3.0.6.32.20010706200527.019d3b00@server-1> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035395579 30055 80.91.224.250 (23 Oct 2002 17:52:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:52:59 +0000 (UTC) Cc: ntg-context@ntg.nl In-Reply-To: <3.0.6.32.20010706200527.019d3b00@server-1> from Hans Hagen at "Jul 6, 2001 08:05:27 pm" Original-To: Hans Hagen Xref: main.gmane.org gmane.comp.tex.context:4951 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:4951 > Hi all, hi Hans! > [btw others: david's file is a nice example] Thanks :-) (It means that Hans is a good teacher.) > > btw, the file compiles well with pdfetex, so again a tex/etex compatibility > issue; unwise saving of couple of tokens Hey, I've used pdfeTeX! Have a look at the log file closely :-) Is there a problem with older pdfeTeX version? (It's the one from TeXLive 5 CD, I think many people use it.) > > \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, Great, should we all/I put it into cont-new.tex? Or is this `David's file specific'? Thanks for your answer D.A.