From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/33400 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: CSS-like coding style Date: Sat, 17 Feb 2007 18:08:52 +0200 Message-ID: <1195309941.20070217180852@gmail.com> References: Reply-To: Yatskovsky , mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0974077696==" X-Trace: sea.gmane.org 1171728552 16514 80.91.229.12 (17 Feb 2007 16:09:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2007 16:09:12 +0000 (UTC) To: "ntg-context-request@ntg.nl" Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 17 17:09:05 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 1HIS7V-0004Eh-5v for gctc-ntg-context-518@m.gmane.org; Sat, 17 Feb 2007 17:09:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 08284137; Sat, 17 Feb 2007 17:06:48 +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 32168-06-3; Sat, 17 Feb 2007 17:06:42 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2E70A113; Sat, 17 Feb 2007 17:06:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 61F9E113 for ; Sat, 17 Feb 2007 17:06:39 +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 32168-06-2 for ; Sat, 17 Feb 2007 17:06:34 +0100 (CET) Original-Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by ronja.ntg.nl (Postfix) with ESMTP id 79B0A112 for ; Sat, 17 Feb 2007 17:06:34 +0100 (CET) Original-Received: by ug-out-1314.google.com with SMTP id m2so415054uge for ; Sat, 17 Feb 2007 08:08:50 -0800 (PST) Original-Received: by 10.66.244.10 with SMTP id r10mr4430577ugh.1171728530523; Sat, 17 Feb 2007 08:08:50 -0800 (PST) Original-Received: from ?77.122.221.78? ( [77.122.221.78]) by mx.google.com with ESMTP id k2sm5136198ugf.2007.02.17.08.08.49; Sat, 17 Feb 2007 08:08:49 -0800 (PST) X-Mailer: The Bat! (v3.95.8) Professional X-Priority: 3 (Normal) In-Reply-To: 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:33400 Archived-At: --===============0974077696== Content-Type: multipart/alternative; boundary="----------10E471744FBC952" ------------10E471744FBC952 Content-Type: text/plain; charset=windows-1251 Content-Transfer-Encoding: quoted-printable Hello, I'm puzzled with an odd thing. If I try to adopt CSS-like coding style,=20 \setuptyping[ =09before=3D{ =09\blank[2*big] =09\setupinterlinespace[line=3D1ex] =09}, =09after=3D{} ] \setuppagenumbering[ =09location=3Dbottom ]=20 works perfectly. But \setuplayout[ =09topspace=3D0cm,=20 =09bottomspace=3D2cm,=20 =09rightmargin=3D2cm, =09width=3Dfit,=20 =09height=3Dfit ] fails and accepts only \setuplayout[ =09topspace=3D0cm,=20 =09bottomspace=3D2cm,=20 =09rightmargin=3D2cm, =09width=3Dfit,=20 =09height=3Dfit] What is the rule behind this? :( Best, Vyatcheslav ------------10E471744FBC952 Content-Type: text/html; charset=windows-1251 Content-Transfer-Encoding: quoted-printable

Hello,

I'm puzzled with an odd thing. If I try to adopt CSS-like coding style,&= nbsp;


\setuptyping[

       before=3D{

       \blank[2*big]

       \setupinterlinespace[line=3D1ex]

       },

       after=3D{}

]

\setuppagenumbering[

       location=3Dbottom


works perfectly. But


\setuplayout[

       topspace=3D0cm, 

       bottomspace=3D2cm, 

       rightmargin=3D2cm,

       width=3Dfit, 

       height=3Dfit

]


fails and accepts only


\setuplayout[

       topspace=3D0cm, 

       bottomspace=3D2cm, 

       rightmargin=3D2cm,

       width=3Dfit, 

       height=3Dfit]


What is the rule behind this? :(


Best,

Vyatcheslav

 

------------10E471744FBC952-- --===============0974077696== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0974077696==--