Re: [NTG-context] garden example at fault
On 3/12/2013 1:07 PM, Sietse Brouwer wrote: Hello Hans, I think \setupbackgrounds now requires you to specify both the column(s) *and* the row(s) you want to fill in. % does not work \setupbackgrounds[header][background=color, backgroundcolor=blue] % does not work \setupbackgrounds[header][][background=color, backgroundcolor=blue] % this works \setupbackgrounds[header][leftedge,leftmargin,text,rightmargin,rightedge][background=color, backgroundcolor=blue] fixed in next beta (Also, just in case you didn't know: remember than any \showframe must come before \setupbackgrounds, or it will 'overwrite' your settings.) indeed as it used the same mechanism - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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 ___
Re: [NTG-context] garden example at fault
Hello Hans, I think \setupbackgrounds now requires you to specify both the column(s) *and* the row(s) you want to fill in. % does not work \setupbackgrounds[header][background=color, backgroundcolor=blue] % does not work \setupbackgrounds[header][][background=color, backgroundcolor=blue] % this works \setupbackgrounds[header][leftedge,leftmargin,text,rightmargin,rightedge][background=color, backgroundcolor=blue] (Also, just in case you didn't know: remember than any \showframe must come before \setupbackgrounds, or it will 'overwrite' your settings.) Cheers, Sietse On 11 March 2013 21:38, H. van der Meer wrote: > I tried this sample from the garden to look at the top and bottom, see > Command/setuplayout. > Below a copy of the garden page (pagesize changed from A10 to A6): > \setuppapersize[A6] > > %% This is an example for showing the effect of the vertical parameters > %% top, topdistance, bottom, bottomdistance and topspace. > %% Just play around with these parameters. > > \showframe > > %% Show the top and the bottom with blue color: > \setupbackgrounds[header, footer][background=color, backgroundcolor=blue] > > \def\MyLength{10pt} > > \setuplayout[ > top=\MyLength, > topdistance=\MyLength, > bottom=\MyLength, > bottomdistance=\MyLength, > topspace=\dimexpr(\topheight + \topdistance), > height=fit] > > \starttext > \input thuan > \stoptext > > This is LuaTeX, Version beta-0.75.0-2013030308 (rev 4589) > ConTeXt ver: 2013.03.04 18:28 MKIV fmt: 2013.3.4 int: english/english > > The top and bottom should have been blue as in the screenshot from the garden > (figure to the left). The reality however is no blue sections at all (figure > at right). What is wrong: the (fairly recent) context or the example in the > garden? > > Hans van der Meer > > > > > > > ___ > 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 > ___ ___ 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 ___
[NTG-context] garden example at fault
I tried this sample from the garden to look at the top and bottom, see Command/setuplayout. Below a copy of the garden page (pagesize changed from A10 to A6): \setuppapersize[A6] %% This is an example for showing the effect of the vertical parameters %% top, topdistance, bottom, bottomdistance and topspace. %% Just play around with these parameters. \showframe %% Show the top and the bottom with blue color: \setupbackgrounds[header, footer][background=color, backgroundcolor=blue] \def\MyLength{10pt} \setuplayout[ top=\MyLength, topdistance=\MyLength, bottom=\MyLength, bottomdistance=\MyLength, topspace=\dimexpr(\topheight + \topdistance), height=fit] \starttext \input thuan \stoptext This is LuaTeX, Version beta-0.75.0-2013030308 (rev 4589) ConTeXt ver: 2013.03.04 18:28 MKIV fmt: 2013.3.4 int: english/english The top and bottom should have been blue as in the screenshot from the garden (figure to the left). The reality however is no blue sections at all (figure at right). What is wrong: the (fairly recent) context or the example in the garden? Hans van der Meer <> headfoot.pdf Description: Adobe PDF document ___ 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 ___