Aditya, Thanks. Defining a color conversion is a good idea, and we can apply this conversion easily to somethings like chapter, section, etc. which has a `color' filed to assign, but not pages. Is there a way to set the color of a page like that done for chapters and sections? Tim
Date: Tue, 23 Apr 2013 07:28:09 -0400 From: adityam@umich.edu To: ntg-context@ntg.nl Subject: Re: [NTG-context] Set background color for a single page
On Tue, 23 Apr 2013, Tim Li wrote:
Sometimes, I only want a single page, say, the titlepage or page 32, with colored background rather that the whole document. Here are some codes: \starttext% titlepage (yellow) \startmakeup[standard] \midaligned{How to make document} \stopmakeup % page1 (gray) Many \CONTEXT\ users $\ldots$ \page % page2 (darkyellow) Many \TEX\ users $\ldots$ \stoptext Of course, it is awful that if I set the titlepage yellow, page1 gray and page2 darkyellow. How can I achieve this? regrads, Tim
See: http://thread.gmane.org/gmane.comp.tex.context/75726/focus=75743
Another alternative is to pick the color from a list using \convertnumber{colors}{userpage}, similar to the solution at http://tex.stackexchange.com/a/54062/323
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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________