From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46977 Path: news.gmane.org!not-for-mail From: Alan Stone Newsgroups: gmane.comp.tex.context Subject: Re: number of lines ? Date: Thu, 22 Jan 2009 17:20:50 +0100 Message-ID: <326847810901220820q644ce3d6se3fa6fef447d4b56@mail.gmail.com> References: <326847810901220302l29b87b99y1365b88515261b2b@mail.gmail.com> <115224fb0901220322o283aeee0vc5dff37b20d9bdca@mail.gmail.com> <326847810901220639w6ffede09hbc5c3f0378c79129@mail.gmail.com> <2771FAB4-23A1-430F-ACB0-D1C039CD247A@gmail.com> <326847810901220654h76c99dbdk759027cc997044ea@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0885839958==" X-Trace: ger.gmane.org 1232641508 18643 80.91.229.12 (22 Jan 2009 16:25:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 16:25:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 22 17:26:21 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 1LQ2Nn-0006zD-BT for gctc-ntg-context-518@m.gmane.org; Thu, 22 Jan 2009 17:26:19 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E6A3A1FE6A; Thu, 22 Jan 2009 17:24:59 +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 23150-03-2; Thu, 22 Jan 2009 17:23:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCE741FB82; Thu, 22 Jan 2009 17:23:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A21E1FE34 for ; Thu, 22 Jan 2009 17:23:33 +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 26621-01-3 for ; Thu, 22 Jan 2009 17:22:50 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by ronja.ntg.nl (Postfix) with ESMTP id 0D0071FB6B for ; Thu, 22 Jan 2009 17:22:50 +0100 (CET) Original-Received: from mail-ew0-f13.google.com (mail-ew0-f13.google.com [209.85.219.13]) by filter4-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0MGMnTD013895 for ; Thu, 22 Jan 2009 17:22:49 +0100 Original-Received: by ewy6 with SMTP id 6so3259188ewy.2 for ; Thu, 22 Jan 2009 08:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=NV3uVAx3RlVnS45F02R8qeCszs3Vf/FtZOL+VQpOElU=; b=tRnLQoc+m+w9RoTm99YxtHRRwbqWl9tc8gkAdH4haWZ5s3S8EZStq4oSef9c55XZOx MoO8646X0Ws/fLxRfhA/eCemgJ0FLF7k1T1cyOqdPcaAY/9VwbUziKjWvjHGDhMRlQ7q 4o0Im8+cBIoVobQhD9eYHqc/P0N1LZR7UH49k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=YlOM2uciGv7L3eFrphAf9ELhrmF+1KW9YrIFj6XIvthXds87KuJb6IB0xZTahPQBHm qXBcdAv8L5Sb39fsDfhqVaqsrd81YDi5v9g8vz0MyK6fkaOPT2ejFPe8MfoXr1c5M8bK bSxC/ECjnc/ZOrc6+ZEsucO7Kp545IaOtj4Rk= Original-Received: by 10.210.90.10 with SMTP id n10mr11763164ebb.135.1232641250118; Thu, 22 Jan 2009 08:20:50 -0800 (PST) In-Reply-To: <326847810901220654h76c99dbdk759027cc997044ea@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.13; 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: 169265202 - e8c65d8300af X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:46977 Archived-At: --===============0885839958== Content-Type: multipart/alternative; boundary=00151749bffed94b98046114a7be --00151749bffed94b98046114a7be Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Thu, Jan 22, 2009 at 3:54 PM, Alan Stone wrote: > Try: Your text has {\the\noflines} lines. >> > > Your text has \the\noflines\ lines. % works also > > Thanks. How do you substract/add a number from/to \noflines ? I tried \thinrules[n=\advance\the\noflines by -2] \thinrules[n=\advance\noflines by -2] \thinrules[n={\advance\the\noflines by -2}] \thinrules[n={\advance\noflines by -2}] neither works. -- Best, Alan * TeX engine = LuaTeX * ConTeXt minimals ver: 2009.01.18 14:39 MKIV fmt: 2009.1.22 int: english/english * Ubuntu 8.04 Hardy Heron, Windows XP SP3 Home --00151749bffed94b98046114a7be Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Thu, Jan 22, 2009 at 3:54 PM, Alan Stone <software= .list.1es9s@gmail.com> wrote:
Try: Your text has {\the\nof= lines} lines.

Your text has \the\noflines\ lines. = ; % works also

Thanks.

How do you substract/ad= d a number from/to \noflines ?

I tried

\thinrules[n=3D\advanc= e\the\noflines by -2]
\thinrules[n=3D\advance\noflines by -2]
\thinrules[n=3D{\advance\the\nof= lines by -2}]
\thinrules[n=3D{\advance\noflines by -2}]

neither w= orks.

--
Best,
Alan

* TeX engine =3D LuaTeX
* ConTe= Xt  minimals ver: 2009.01.18 14:39 MKIV  fmt: 2009.1.22  int= : english/english
* Ubuntu 8.04 Hardy Heron, Windows XP SP3 Home
--00151749bffed94b98046114a7be-- --===============0885839958== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0885839958==--