From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/48014 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.comp.tex.context Subject: Re: paragraph question Date: Thu, 5 Mar 2009 16:22:07 +0100 Message-ID: <20090305152207.GG19777@atos.labs.wmid.amu.edu.pl> 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> <326847810903050525l64eb60e4qdbc02212f5f4d088@mail.gmail.com> <7DD27721-D0DD-4DEA-85F1-4F55ED09E4DB@gmail.com> <20090305140552.GF19777@atos.labs.wmid.amu.edu.pl> <11D7D977-5B17-4C4F-9158-EAA213A7CD4D@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1236266597 22459 80.91.229.12 (5 Mar 2009 15:23:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Mar 2009 15:23:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 05 16:24:32 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 1LfFQh-0007ha-Ey for gctc-ntg-context-518@m.gmane.org; Thu, 05 Mar 2009 16:24:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AC1C71FC01; Thu, 5 Mar 2009 16:22:47 +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 15728-01-4; Thu, 5 Mar 2009 16:22:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1AF81FBAC; Thu, 5 Mar 2009 16:22:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02DC71FBAC for ; Thu, 5 Mar 2009 16:22:21 +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 15728-01-3 for ; Thu, 5 Mar 2009 16:22:14 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 8E3C01FB95 for ; Thu, 5 Mar 2009 16:22:14 +0100 (CET) Original-Received: from atos.wmid.amu.edu.pl (atos.wmid.amu.edu.pl [150.254.78.2]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n25FMBW9020517 for ; Thu, 5 Mar 2009 16:22:11 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by atos.wmid.amu.edu.pl (Postfix) with ESMTP id 7CA241011F68 for ; Thu, 5 Mar 2009 16:22:09 +0100 (CET) X-Virus-Scanned: by amavisd-new (PLD-Linux) at wmid.amu.edu.pl Original-Received: from atos.wmid.amu.edu.pl ([127.0.0.1]) by localhost (atos.wmid.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id OhCrNhY9TQNY for ; Thu, 5 Mar 2009 16:22:08 +0100 (CET) Original-Received: by atos.wmid.amu.edu.pl (Postfix, from userid 3884) id F400E1011F60; Thu, 5 Mar 2009 16:22:07 +0100 (CET) Content-Disposition: inline In-Reply-To: <11D7D977-5B17-4C4F-9158-EAA213A7CD4D@gmail.com> User-Agent: Mutt/1.4.2.3i X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=150.254.78.2; country=PL; region=86; city=Poznan; latitude=52.4167; longitude=16.9667; http://maps.google.com/maps?q=52.4167,16.9667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 189186617 - 2c7fe7e92ee3 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:48014 Archived-At: Dnia Thu, Mar 05, 2009 at 03:14:23PM +0100, Wolfgang Schuster napisał(= a): > = > Am 05.03.2009 um 15:05 schrieb Marcin Borkowski: > = > >>You can test whether the last paragraph had 1 or more lines and make > >>your decision dependent on the result but this can be done only after > >>the paragraph ist finished. > > > >Well, Wolfgang, you'll be surprised: it can be done (even in pure > >vanilla TeX), at the expense of (possibly) nonuniform spacing. Google > >for a file "meashor.tex":). (In Poland, we have a saying: "nasi = > >g=F3r=B1!" > >-- roughly "our people win!" -- I can't resist citing it here, since = > >it > >was Bogus=B3aw Jackowski who wrote that macros:)). > = > I found the information about display math in my TeX book (although my > TeX skills are not good enough to to write the code) but Alan want to > know the number of lines before the text is typeset to insert a lettrine > at the begin of the paragraph, can you also deliver code for this? Well, obviously not:). But I only wanted to show that it _is_ possible to know in which line we are before we have the whole paragraph typeset (although with limitations). Sorry, it was a bit off-topic, but I couldn't resist the temptation to point out that Wolfgang The Great TeX Haxxor doesn't know something:P. > = > Wolfgang regards -- = Marcin Borkowski (http://mbork.pl) Szema Izrael: Adonai Elohenu, Adonai Ehad! ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________