ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Strange interaction between textcolor and backgrounds in mkii
@ 2009-03-20  2:22 Aditya Mahajan
  2009-03-20 18:32 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2009-03-20  2:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hans,

Something has changed recently with the mkii color model, due to which 
page backgrounds do not change. (I am guessing that this is a grouping 
issue, but then colors are like a black box to me). Consider the following 
example

\setuppapersize[S6][S6]
\setupcolors[state=start]

\definecolor [simpleslidestextcolor][s=0]
\setupcolors[textcolor=simpleslidestextcolor]

\startuseMPgraphic{simpleslides:MP:horizontal}
StartPage ;
fill Page withcolor 0.5white ;
StopPage ;
\stopuseMPgraphic

\defineoverlay
   [simpleslides:background:title]
   [\useMPgraphic{simpleslides:MP:horizontal}]

\starttext
test \page

\setupbackgrounds[page][background={simpleslides:background:title}]

test again
\stoptext

In MKII, the background of the second page does not change. This used to 
work until a few months ago (around Dec, 2008) but stopped working after 
that. (It does not work in the Jan 18 version that I have).

In MKIV, this works fine.

Aditya
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2009-03-20 22:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-20  2:22 Strange interaction between textcolor and backgrounds in mkii Aditya Mahajan
2009-03-20 18:32 ` Hans Hagen
2009-03-20 22:14   ` Aditya Mahajan

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).