Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
Aditya, thanks. I like this Lua way, but I have to explore the Lua world first. Ok, reading PIL and coding in Lua. Tim> Date: Tue, 23 Apr 2013 10:51:24 -0400 > From: adit...@umich.edu > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Set background color for a single page >

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
Aditya, I want to know both please. Now I use the \start \definecolor ... ... \startmakeup[standard] ... \stopmakeup \stopto assign a specific color to the tilepage whose content is on a single page exactly. But I don't know how to set the background for a single page, say, page 3 if a docum

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
if a document has more than three pages. Also, I don't know how to cycle pages through a finite list of colors. Can you show me that? Tim > Date: Tue, 23 Apr 2013 09:47:32 -0400 > From: adit...@umich.edu > To: ntg-context@ntg.nl > Subject: Re: [NTG-context] Set background c

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
On Tue, 23 Apr 2013, Tim Li wrote: 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 cha

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
ate: Tue, 23 Apr 2013 07:28:09 -0400 > From: adit...@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, wit

Re: [NTG-context] Set background color for a single page

2013-04-23 Thread Aditya Mahajan
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

[NTG-context] Set background color for a single page

2013-04-23 Thread Tim Li
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