Thanks Hans,
But actually, I've tried it before I asked. I just modified your code from cont-enp.pdf:
+++++++++++++++++++++++++++++++++++++++++
\setuppapersize [A7][A3]
\setuparranging [2*8,rotated,doublesided]
\setuppagenumbering [alternative=doublesided]
\setuplayout [margin=0pt,width=fit]
\setupbackgrounds [paper][background=color,backgroundcolor=red]
\setupcolors [state=start]
\setuplayout [location=middle,marking=color]
\setuptolerance [tolerant]
\setupbodyfont [6pt]
\starttext
\dorecurse{30}{\input tufte \par \input knuth \par}
\stoptext
++++++++++++++++++++++++++++++++++++++++
and it appears nothing changed. So I wonder if you could look it up again for me.
Thank you
On 2/28/07, Hans Hagen <pragma@wxs.nl> wrote:
Zhichu Chen wrote:
> Hi there,
>
> I know there is a command \setupbackgrounds[page][background=???], and
> I can
> use \defineoverlay[page][\useMPgraphic{page}], then use MetaPost to
> draw the
> page background. But I also use something like \setuppapersize[A7][A3] to
> compose the output, and it seems that the \setupbackgrounds command only
> affect on A7 sub-paper. I also noticed a command
> \setuplayout[marking=color]that really acts on the
> A3 paper rather than the subpaper. So I think there should be such a
> macro
> that handles the whole page's background. Can anyone tell me about it?
>
you can set up backgrounds for page, leftpage, rightpage, paper etc
so in your case ... use \setupbackgrounds[paper][...]
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
|
www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context
--
Sincerely yours,
Chen
----------------------------------------------------------------
Zhi-chu Chen | Shanghai Synchrotron Radiation Facility
No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China
tel: 086 21 5955 3405 |
zhichu.chen.googlepages.com
| www.sinap.ac.cn
----------------------------------------------------------------