From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73375 Path: news.gmane.org!not-for-mail From: Fulvio Satta Newsgroups: gmane.comp.tex.context Subject: Re: Constraint in line numbers Date: Fri, 23 Dec 2011 03:31:23 +0100 Message-ID: <20111223033123.4becc600@gmail.com> References: <20111221181945.70bd01e8@gmail.com> <4019F3E8-EDF5-402F-AB22-A31E9543F328@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1786724785==" X-Trace: dough.gmane.org 1324607625 6634 80.91.229.12 (23 Dec 2011 02:33:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Dec 2011 02:33:45 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Fri Dec 23 03:33:41 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rdux3-0000Zz-8n for gctc-ntg-context-518@m.gmane.org; Fri, 23 Dec 2011 03:33:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2CFB1CB1AD; Fri, 23 Dec 2011 03:33:40 +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 1Uv2dJN8Lc3u; Fri, 23 Dec 2011 03:33:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1078CB1A1; Fri, 23 Dec 2011 03:33:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DA237CB1A1 for ; Fri, 23 Dec 2011 03:33:34 +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 fYfIeb7R8del for ; Fri, 23 Dec 2011 03:33:23 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9B652CB19F for ; Fri, 23 Dec 2011 03:33:23 +0100 (CET) Original-Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBN2XLMT019744 for ; Fri, 23 Dec 2011 03:33:21 +0100 Original-Received: by wibhq12 with SMTP id hq12so3976683wib.14 for ; Thu, 22 Dec 2011 18:33:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type; bh=Li/b8CEQiKlupBm515xeExUrrDRJp3UJtPI8oxE3lNg=; b=SVhEifqvsS9s9lA52MaEphPVBiPNnwLulEMbqe3WHq1q9ffL/EB2s/qGboDhYfTpwo oPEWObmuCVw2ZVEeucn85cuINUI29JGCQ5vFpOuAsrDUJREuz0GWTPRJ6h+I0Qa+cNo6 D6D4m9EYD6fEjKXsAJqdVHx+SqGRF6EEAEWHM= Original-Received: by 10.180.91.201 with SMTP id cg9mr28512986wib.15.1324607601388; Thu, 22 Dec 2011 18:33:21 -0800 (PST) Original-Received: from localhost.localdomain ([95.234.170.31]) by mx.google.com with ESMTPS id fo18sm11858047wbb.12.2011.12.22.18.33.19 (version=SSLv3 cipher=OTHER); Thu, 22 Dec 2011 18:33:20 -0800 (PST) In-Reply-To: X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.5; x86_64-unknown-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.169; 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: 0rGcqxlvD - 24fab212d877 - 20111223 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:73375 Archived-At: --===============1786724785== Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/pZ=.gWH+YL9qOeoNjqvX5K+"; protocol="application/pgp-signature" --Sig_/pZ=.gWH+YL9qOeoNjqvX5K+ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Il giorno Thu, 22 Dec 2011 09:32:01 +0100 luigi scarso ha scritto: > On Thu, Dec 22, 2011 at 8:57 AM, Wolfgang Schuster > wrote: > > > > Am 21.12.2011 um 18:19 schrieb Fulvio: > > > >> Hi, this is my first message in this ml ;) > >> > >> Well, I've a stupid constraint in a work: I must limit the number > >> of lines in a page. I have to have 32-35 lines on each page. > >> > >> Now, the task isn't too complex in principle, I can work on > >> interline sizes and glues, but this way is a little bit tricky. > >> I wonder if there is a better (and elegant) way to manage the > >> problem. > > > > You can the number of lines on a page with the \setuplayout command. > > > > \setuplayout[lines=3D20] > > \starttext > > \dorecurse{100}{Line \recurselevel\par} > > \stoptext > > > > Wolfang > Of course there is a static idea of "line" that depends on the > current font and a dynamic idea of row that depends on the current > document: here is an exaggerated example >=20 > \setuplayout[lines=3D20] > \newdimen\T \T=3D1.5mm > \starttext > \dorecurse{40}{\ruledvbox{Line \recurselevel}\par} > \dorecurse{100}{\ruledvbox{Line \recurselevel\vrule width1pt height > \recurselevel\T depth \recurselevel\T}\par} > \stoptext >=20 Very good hints, thank you! I'll investigate on them in the next few days! :) Fulvio --Sig_/pZ=.gWH+YL9qOeoNjqvX5K+ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk7z5/sACgkQ7uVO4mPF0Ddz/wCfe5/YQbJK/+5dyy3AY+jnGVI2 BE4AoJGYm92A7m2HReMMEPFh/oGOBS0N =mN7k -----END PGP SIGNATURE----- --Sig_/pZ=.gWH+YL9qOeoNjqvX5K+-- --===============1786724785== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1786724785==--