ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* textcolor (mkii)
@ 2009-09-24 15:03 Peter Rolf
  0 siblings, 0 replies; only message in thread
From: Peter Rolf @ 2009-09-24 15:03 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 349 bytes --]

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

[-- Attachment #2: colorname.tex --]
[-- Type: text/plain, Size: 697 bytes --]

\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

[-- Attachment #3: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-24 15:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-24 15:03 textcolor (mkii) Peter Rolf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).