From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73464 Path: news.gmane.org!not-for-mail From: Herbert Voss Newsgroups: gmane.comp.tex.context Subject: paragraph numbering Date: Thu, 29 Dec 2011 21:00:40 +0100 Organization: Freie =?UTF-8?B?VW5pdmVyc2l0w6R0IEJlcmxpbg==?= Message-ID: <4EFCC6E8.6040201@FU-Berlin.DE> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1325188865 19100 80.91.229.12 (29 Dec 2011 20:01:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Dec 2011 20:01:05 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 29 21:01:01 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 1RgM9r-00047R-CR for gctc-ntg-context-518@m.gmane.org; Thu, 29 Dec 2011 21:00:59 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D519CB1B6; Thu, 29 Dec 2011 21:00:58 +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 6zX1QMetP9xU; Thu, 29 Dec 2011 21:00:55 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 53962CB1B0; Thu, 29 Dec 2011 21:00:55 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 22FB8CB1B0 for ; Thu, 29 Dec 2011 21:00:53 +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 l6UYgBvf-zOC for ; Thu, 29 Dec 2011 21:00:42 +0100 (CET) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 13652CB1A2 for ; Thu, 29 Dec 2011 21:00:41 +0100 (CET) Original-Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBTK0fG4027459 for ; Thu, 29 Dec 2011 21:00:41 +0100 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtp (envelope-from ) id <1RgM9Y-0000MF-Ry>; Thu, 29 Dec 2011 21:00:40 +0100 Original-Received: from z8177.pia.fu-berlin.de ([87.77.129.119]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtpsa (envelope-from ) id <1RgM9Y-0003kH-JX>; Thu, 29 Dec 2011 21:00:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111220 Thunderbird/9.0 X-Originating-IP: 87.77.129.119 X-Bayes-Prob: 0.9989 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=130.133.4.66; country=DE; region=16; city=Berlin; latitude=52.5167; longitude=13.4000; http://maps.google.com/maps?q=52.5167,13.4000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dGf80Fwj - 68f31f292a6e - 20111229 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:73464 Archived-At: current beta: \starttext Some text. \setupparagraphnumbering[state=start] first numbered paragraph. This is another numbered paragraph. It's long enough to wrap around onto more than one line, so as to show that these are paragraph numbers and not line numbers.\par A third numbered paragraph. \setupparagraphnumbering[state=stop] a paragraph \stoptext Herbert ! Undefined control sequence. system > tex > error on line 5 in file 05-04-1.ctxcrop: Undefined control sequence ... 1 \starttext 2 Some text. 3 4 \setupparagraphnumbering[state=start] 5 >> first numbered paragraph. 6 7 This is another numbered paragraph. It's long enough to wrap around onto more 8 than one line, so as to show that these are paragraph numbers and not line numbers.\par 9 10 A third numbered paragraph. 11 \setupparagraphnumbering[state=stop] 12 13 a paragraph 14 \stoptext 15 \tf \dousestyleparameter \@phstyle \dousecolorparameter \@phcolor... \doifelsenothing #1->\edef \!!stringa {#1 }\ifx \!!stringa \empty \expandafte... \dodomargindata ...a [#1]\fi \doifelsenothing {#3} \donefalse \donetrue \ifdo... ...eckindentation \showparagraphnumber \restoreinterlinepenalty \... f l.5 f irst numbered paragraph. ___________________________________________________________________________________ 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 ___________________________________________________________________________________