From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33404 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: CSS-like coding style Date: Sat, 17 Feb 2007 13:55:11 -0500 (EST) Message-ID: References: <1195309941.20070217180852@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1171738545 18928 80.91.229.12 (17 Feb 2007 18:55:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 18:55:45 +0000 (UTC) To: Yatskovsky , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 17 19:55:39 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1HIUig-00083Z-3y for gctc-ntg-context-518@m.gmane.org; Sat, 17 Feb 2007 19:55:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 16A6C159; Sat, 17 Feb 2007 19:53:20 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06366-02-6; Sat, 17 Feb 2007 19:53:12 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 20944165; Sat, 17 Feb 2007 19:53:12 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A1AA165 for ; Sat, 17 Feb 2007 19:53:09 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06366-02-5 for ; Sat, 17 Feb 2007 19:53:00 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id F2E6212B for ; Sat, 17 Feb 2007 19:52:59 +0100 (CET) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hackers.mr.itd.umich.edu ID 45D74F92.EFE82.21216 ; 17 Feb 2007 13:55:15 -0500 In-Reply-To: <1195309941.20070217180852@gmail.com> X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:33404 Archived-At: On Sat, 17 Feb 2007, Vyatcheslav Yatskovsky wrote: > Hello, > I'm puzzled with an odd thing. If I try to adopt CSS-like coding style, > > \setuptyping[ > before={ > \blank[2*big] > \setupinterlinespace[line=1ex] > }, > after={} > ] > \setuppagenumbering[ > location=bottom > ] I am not sure this will work. Maybe, since footer is the default, it is hard to notice the difference between footer and bottom. > works perfectly. But > > \setuplayout[ > topspace=0cm, > bottomspace=2cm, > rightmargin=2cm, > width=fit, > height=fit > ] > > fails and accepts only > > \setuplayout[ > topspace=0cm, > bottomspace=2cm, > rightmargin=2cm, > width=fit, > height=fit] > > What is the rule behind this? :( The general rule of thumb, add a comma at the end of all your values, so \setuplayout[ .... height=fit, ] will work perfectly. Aditya