From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81108 Path: news.gmane.org!not-for-mail From: Sietse Brouwer Newsgroups: gmane.comp.tex.context Subject: Re: garden example at fault Date: Tue, 12 Mar 2013 13:07:07 +0100 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1363090068 30580 80.91.229.3 (12 Mar 2013 12:07:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 Mar 2013 12:07:48 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Mar 12 13:08:14 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UFO03-0006eb-M7 for gctc-ntg-context-518@m.gmane.org; Tue, 12 Mar 2013 13:08:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E9400101EB; Tue, 12 Mar 2013 13:07:48 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gzRzm3tFCTVP; Tue, 12 Mar 2013 13:07:42 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BCAE9101E7; Tue, 12 Mar 2013 13:07:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 58CC8101E7 for ; Tue, 12 Mar 2013 13:07:41 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qOyBtFOUwOai for ; Tue, 12 Mar 2013 13:07:38 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id A063B101E3 for ; Tue, 12 Mar 2013 13:07:38 +0100 (CET) Original-Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2CBrLa1012680 for ; Tue, 12 Mar 2013 12:53:21 +0100 Original-Received: by mail-ee0-f46.google.com with SMTP id e49so2648093eek.19 for ; Tue, 12 Mar 2013 05:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=xGkgJ2y+4w45Rf6rAjQuUGZo/6djd9C52thiixmW1hQ=; b=tnaK27Q6X789UYkm8ipr3qbhq6COCmer/FrUiOyj1Nxp5FtfNGtWB8j16HSexwyPzb EPej2VIQ94LGLbPOlwdEg35/kdV1kUH8KmLYzOzxFojhpIvUiXnMrs7dGkCjoZBOxVW/ Rzya/AQwOCiW/Vzsu7GUcYLiRgAkSlPErtiaLh08tkoIuaMuydG12xvfyLlSTDlyNQAR 5FNft666fKHf+zFITCyrDjw9ABKaFkzJaAVbRglDwmGp2+dPDTg0LAhdKssP8Hdr4G4M E5jtrFjSiPSZptF7UFyS0cRsyxuPPWmOJR5dg2ujY5BiJGPJpEwVHs7TOzVCz8MAW/eM wN7Q== X-Received: by 10.14.175.129 with SMTP id z1mr4204815eel.7.1363090057257; Tue, 12 Mar 2013 05:07:37 -0700 (PDT) Original-Received: by 10.14.219.66 with HTTP; Tue, 12 Mar 2013 05:07:07 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.46; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WJazRlOF - 20774cab97c4 - 20130312 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81108 Archived-At: 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 ___________________________________________________________________________________