On Sat, Jul 21 2012, Pablo Rodríguez wrote:
> Page is red and text is white.
> \page
> Page is blue and text is yellow.
Quick hack:
\definecolor[MyColor][white]
\setupbackgrounds[page][background=color, backgroundcolor=MyColor]
\def\Slide#1#2#3{% #1: background, #2: foreground, #3: words
\definecolor[MyColor][#1]
\startstandardmakeup
\setupalign[middle]%
\setupcolors[textcolor=#2]%
#3
\stopstandardmakeup
}
\starttext
\Slide{red}{white}{Page is red and text is white.}
\Slide{blue}{yellow}{Page is blue and text is yellow.}
\stoptext
Be patient, others (Wolfgang?!) will probably post cleaner solutions.
--
Peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________