From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/49274 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Paragraphs in Layers Date: Fri, 10 Apr 2009 00:04:53 +0200 Message-ID: <28F004A8-F5ED-4DA4-A861-E39A0B6D6048@gmail.com> References: <6e2989c20904091240i4f2b1573q76a2a72d0c53cb45@mail.gmail.com> <101EA219-EFCC-4000-AA0F-8158840B51AE@gmail.com> <6e2989c20904091314p427a8cc7v4217f06fabba4d89@mail.gmail.com> <59344B1B-B15A-429A-93A5-F646DD2EECA8@gmail.com> <6e2989c20904091354x42240d10q9d5c2c651cb4241e@mail.gmail.com> <1EB121C2-930D-4FF7-B878-E21A06C671E3@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239314793 9179 80.91.229.12 (9 Apr 2009 22:06:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2009 22:06:33 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 10 00:07:51 2009 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 1Ls2PW-0004YQ-HK for gctc-ntg-context-518@m.gmane.org; Fri, 10 Apr 2009 00:07:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1716F1FB8F; Fri, 10 Apr 2009 00:06:24 +0200 (CEST) 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 04338-04; Fri, 10 Apr 2009 00:05:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EFDB01FB3C; Fri, 10 Apr 2009 00:05:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E7B501FB3C for ; Fri, 10 Apr 2009 00:05:45 +0200 (CEST) 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 04334-02 for ; Fri, 10 Apr 2009 00:05:38 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id 081981FB39 for ; Fri, 10 Apr 2009 00:05:38 +0200 (CEST) Original-Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n39M5U4E023714 for ; Fri, 10 Apr 2009 00:05:31 +0200 Original-Received: by fk-out-0910.google.com with SMTP id z22so353005fkz.2 for ; Thu, 09 Apr 2009 15:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=OEaz9L2SA7nWiFRl0XMmoM7RoTmgPbEzIugc6P1A+Yk=; b=goY7d84G5M62lQi672Ves3xyGVoH/M0SmS2fRZ4VBZFCPPvqMTlmJRnGDSlE0ED1Ot /YuYI766PnOn4fxelMWLY7hq4UGcPd79Pd/VzsfwCQ0ijGTDmUt89hfNr3nH6BY/F3in WTULmhrZqUgM5fj5cLdHHYUIily/6247j5BoM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=aSjMfmdjmfhuqBO/ySg3quGudWFrXxBRu5TY7ADmy31Dlggzv756ZgZbCHdnoqJRlK 6yNwfX1arFj7xRqa1CPxI83cCkOnDOT33Gr4yofsaIw1bku8ruKcRPGnkrTMBHikuUa5 HyRnlHHTHKyF3vfsbsVJU1lSddi1ZnMFAxyas= Original-Received: by 10.204.115.139 with SMTP id i11mr2624933bkq.199.1239314730132; Thu, 09 Apr 2009 15:05:30 -0700 (PDT) Original-Received: from ?192.168.2.23? (p5B296D28.dip.t-dialin.net [91.41.109.40]) by mx.google.com with ESMTPS id f31sm802970fkf.16.2009.04.09.15.05.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Apr 2009 15:05:29 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.128.187; 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: 206778219 - 7767a198be45 - 20090410 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:49274 Archived-At: Am 09.04.2009 um 23:44 schrieb luigi scarso: > \unprotect% > \currentlayerheight=\dimexpr\csname @@llTicketSummaryheight\endcsname > \relax% > \currentlayerwidth=\dimexpr\csname @@llTicketSummarywidth\endcsname > \relax% > \protect% why unprotect/protect and why so many '%'? \edef\currentlayerheight{\csname @@llTicketSummaryheight\endcsname}% \edef\currentlayerwidth {\csname @@llTicketSummarywidth\endcsname}% > \setbox\Content=\vbox{\hsize=\currentlayerwidth% > \bold{Client Name:} \\ > Acme Corporation \\ > \bold{Location of Work:} > Main warehouse > }% > \ht\Content=\currentlayerheight% why not \vbox to \currentlayerheight > ! You can't use `\dimexpr' in restricted horizontal mode. > l.12 \currentlayerheight=\dimexpr > \csname @@llTicketSummaryheight > \endcsname\r... > ? \newdimen checks for the existence of a control sequence Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________