Am 21.07.2012 um 21:25 schrieb Peter Münster:
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.
You mean something like this? \setuppapersize[S6] \definelayout[slide][page] \definemakeup[slide][align=middle,backgroundcolor=lightgray] \setupbackgrounds[page][background=color,backgroundcolor=\makeupparameter{backgroundcolor}] \starttext \startslidemakeup Page is gray and text is black. \stopslidemakeup \startslidemakeup[backgroundcolor=red,color=white] Page is red and text is white. Newline \stopslidemakeup \startslidemakeup[backgroundcolor=blue,color=yellow] Page is blue and text is yellow. \stopslidemakeup \stoptext Wolfgang