Hi Pablo,

for each defined colour there is a command that can be called to
switch. \centerbox centres the text vertically. It is not the most
elegant solution, but the following does what you asked for.

\setuppapersize
  [S6] [S6]

\setuppagenumber
  [state=stop]

\setupbackgrounds
  [page] [background=color]

\define[1]\setpagecolor
  {\setupbackgrounds[page][backgroundcolor=#1]}

\setupalign
  [middle]

\starttext

\setpagecolor{blue}
\yellow
\centerbox{Page is blue and text is yellow.}

\stoptext


Marco


___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to