Hi,
while struggling with my colortest for overprinting I run into this
curious test case. Mkiv is running fine, but mkii gives no color (block
1 is black instead of blue) or the color is 'shifted' one line into the
next textcolor block (block 3 and 4: 'Blue text.' is black and 'Black
text.' is blue).
Example attached.
Best wishes, Peter
\setupcolors[state=start]
\starttext
\unprotect
\ifnum\contextmarkmode=4
\def\@@currentcolorname{undefined}
\fi
\starttextcolor[blue]
Blue text.\par
\stoptextcolor
\starttextcolor[black]
Black text.\par
\stoptextcolor
\starttextcolor[blue]
Blue text.\par
\type{\currentcolorname: }\currentcolorname\par
\type{\@@currentcolorname: }\@@currentcolorname\par
\type{\@@themaintextcolor: }\@@themaintextcolor\par
\stoptextcolor
\starttextcolor[black]
Black text.\par
\type{\currentcolorname: }\currentcolorname\par
\type{\@@currentcolorname: }\@@currentcolorname\par
\type{\@@themaintextcolor: }\@@themaintextcolor\par
\stoptextcolor
\protect
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________