Dear list,

One more (last) problem regarding layout I can't resolve by myself:

I've got a little booklet (2 A5 pages on one A4 sheet). The outside
margins are colored in blue. I would like to color the left outside
margin in yellow and keep the right outside margin in blue.

I've read and tried to adapt the 'Alternative backgrounds' example on
the wiki without any success. When I try to use leftpage (or
rightpage) in \setupbackgrounds, the background of the whole left page
is colored.

Here is what I have right now:

Thanks a lot for your reply,
-AJ

\definepapersize[pca4][width=212mm,height=299mm]
\definepapersize[pca5][width=149.5mm, height=212mm]

\setuppapersize[pca5][pca4]
\setuparranging[2UP,rotated]
\setuppagenumbering
 [alternative=doublesided]

\definelayout
        [default]
        [leftmargin=0mm,rightmargin=25.5mm,
         topspace=0mm,backspace=10mm,
         width=115mm,height=middle]

\setuplayout[location=middle]
\setuplayout[default]

\setupbodyfont[sansserif,10pt]

\enableregime[utf]
\setupcolors[state=start]

\setupbackgrounds
        [text,header,footer] % with leftpage here, doesn't work
        [rightmargin]
        [background=color,backgroundcolor=blue]

\starttext
Hop
\page[yes]
foo
\page[yes]
bar
\stoptext


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

Reply via email to