From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46978 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: number of lines ? Date: Thu, 22 Jan 2009 17:54:11 +0100 Message-ID: <97BDE3E6-E17E-41F2-B975-5D01C5DF21B5@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> <326847810901220820q644ce3d6se3fa6fef447d4b56@mail.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 1232643420 25662 80.91.229.12 (22 Jan 2009 16:57:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2009 16:57:00 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 22 17:58:12 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 1LQ2sc-00029k-Kl for gctc-ntg-context-518@m.gmane.org; Thu, 22 Jan 2009 17:58:10 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 884AC1FE4C; Thu, 22 Jan 2009 17:56:50 +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 28276-05; Thu, 22 Jan 2009 17:55:42 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 975DB1FE60; Thu, 22 Jan 2009 17:55:42 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1CD41FE60 for ; Thu, 22 Jan 2009 17:55:40 +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 31040-02-2 for ; Thu, 22 Jan 2009 17:55:01 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 88AF01FE4C for ; Thu, 22 Jan 2009 17:55:01 +0100 (CET) Original-Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.149]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0MGt0Wn000329 for ; Thu, 22 Jan 2009 17:55:00 +0100 Original-Received: by ey-out-1920.google.com with SMTP id 13so568620eye.38 for ; Thu, 22 Jan 2009 08:55:00 -0800 (PST) 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=jvDYPPz/3WU9xm30RELn9eKCsWkei/FzaYBn2APZ1qo=; b=G89uJj7DvvOGVvbekgQbfW84ukeA0OYxdxl6n8w1wp0eH56XlmXBVw0FyvbbEnbvO5 HHT7RK69XFxtbxtTV7eKyaB4mFFQFD5Dm5ZBQAP2XI3LAj+G56elgAVEHrGks3LpbZt5 Ed6X4xI1iIUu0LuLaoXRpT5f/a0TRWxU5bWJU= 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=dIIweNdRaO3jDegh/dHhsvHVsrNcvzt/nqcde5n8kmuWN/JmIdkgIs26T0udHA7jyP v4WO+GwtINrR3QiiaKpq+b7N0438SsjjMasqoxse6u9qfS5/VJXMfO2nKxrhAIBJzXkB YPMLX+nFFxwdEAW7VIZdG3huvyahrDP701Y4A= Original-Received: by 10.86.25.17 with SMTP id 17mr646385fgy.6.1232643300351; Thu, 22 Jan 2009 08:55:00 -0800 (PST) Original-Received: from ?10.70.20.200? (8.106.113.82.net.de.o2.com [82.113.106.8]) by mx.google.com with ESMTPS id d6sm7618850fga.40.2009.01.22.08.54.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 22 Jan 2009 08:54:59 -0800 (PST) In-Reply-To: <326847810901220820q644ce3d6se3fa6fef447d4b56@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.78.149; 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: 169283308 - d93aabbb9504 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:46978 Archived-At: Am 22.01.2009 um 17:20 schrieb Alan Stone: > 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}] \thinrules[n=\number\numexpr\noflines-2\relax] 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 ___________________________________________________________________________________