From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47996 Path: news.gmane.org!not-for-mail From: Alan Stone Newsgroups: gmane.comp.tex.context Subject: Re: paragraph question Date: Thu, 5 Mar 2009 14:25:26 +0100 Message-ID: <326847810903050525l64eb60e4qdbc02212f5f4d088@mail.gmail.com> References: <326847810903030349q2e35ee55n56aab7ed6460c5b4@mail.gmail.com> <326847810903040802r6b25cb96j3df75626ecffb37e@mail.gmail.com> <20090304223836.GD19777@atos.labs.wmid.amu.edu.pl> <49AF87E7.2080907@wxs.nl> <326847810903050445s1babea4euf52c2bfa90295354@mail.gmail.com> <49AFCBD6.1090509@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1236259571 28661 80.91.229.12 (5 Mar 2009 13:26:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 13:26:11 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 05 14:27:27 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 1LfDbY-0008Q6-1U for gctc-ntg-context-518@m.gmane.org; Thu, 05 Mar 2009 14:27:16 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3A4C1FB7F; Thu, 5 Mar 2009 14:25:52 +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 01290-08-3; Thu, 5 Mar 2009 14:25:34 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9348F1FB1F; Thu, 5 Mar 2009 14:25:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A433B1FB1F for ; Thu, 5 Mar 2009 14:25: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 04911-03-3 for ; Thu, 5 Mar 2009 14:25:27 +0100 (CET) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by ronja.ntg.nl (Postfix) with ESMTP id 58F091FADC for ; Thu, 5 Mar 2009 14:25:27 +0100 (CET) Original-Received: from mail-ew0-f178.google.com (mail-ew0-f178.google.com [209.85.219.178]) by filter4-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n25DPQ6v030322 for ; Thu, 5 Mar 2009 14:25:26 +0100 Original-Received: by ewy26 with SMTP id 26so1854498ewy.2 for ; Thu, 05 Mar 2009 05:25:26 -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 :content-transfer-encoding; bh=rIQnvlKG0aL1MVHUnfAL5eYU4umKruUhhT/tWsbOMPo=; b=ty7lHptXPAuZqdWR9aeHaA80Gkq4RO1Hjpg4vC+jXliftLzFXbuuQQ37i3CAYWA7ik u9swokCEGIF0X92vwv6Hb8LsMv6F2aeZyNFckaWtMpHwkRsPoFmiy3J96sfbW+YieVs1 aNSvXYW91Tc0fFg0bS9qP2hQPv9xuHZL+f0Pk= 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:content-transfer-encoding; b=qUMofbCE3lP67pSY59nx4I6QuYKoF7uBeW/8SwbW+UbtBNcAocsIoRB/dWkYcv3Yz8 GYOZkeuE3I2FOPhKuNYty9C7JVEPtq6UIw7D5yebOhLqUUTcqx8U3omEi0e3nci93MTg +23eKQcILhKSh+00UB3EkIVxA2XLXbaEhP9Sk= Original-Received: by 10.216.22.206 with SMTP id t56mr669963wet.131.1236259526330; Thu, 05 Mar 2009 05:25:26 -0800 (PST) In-Reply-To: <49AFCBD6.1090509@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.178; 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: 189097512 - 4cfbf1916634 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:47996 Archived-At: >> How do you invoke a command at the end of a paragraph ? > > there is no hook for that (apart from adding a \endofpar command or whatever > to every paragraph >>From "TeX for the Impatient"... ----------------------------------------------- \prevgraf [ parameter ] In horizontal mode, this parameter specifies the number of lines in the paragraph so far; in vertical mode, it specifies the number of lines in the previous paragraph. ----------------------------------------------- After giving it some further thought and with reference to "specifies the number of lines in the paragraph so far", I don't need to know the paragraph's number of lines but whether its "number of lines" = 1 or not. Alan ___________________________________________________________________________________ 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 ___________________________________________________________________________________