From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78627 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: New module: pararef Date: Sat, 13 Oct 2012 11:57:56 +0200 Message-ID: <58CA3995-043B-4B4F-8169-1CB2ECDF8726@gmail.com> References: <20121013014436.6421c8ce@zenlima.eu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1350122286 2123 80.91.229.3 (13 Oct 2012 09:58:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Oct 2012 09:58:06 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 13 11:58:13 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TMyU0-0003Gq-5d for gctc-ntg-context-518@m.gmane.org; Sat, 13 Oct 2012 11:58:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0AFD7101E8; Sat, 13 Oct 2012 11:58:05 +0200 (CEST) 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 UQcezjZ8KFMb; Sat, 13 Oct 2012 11:58:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 2A907101EA; Sat, 13 Oct 2012 11:58:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 250CA101EA for ; Sat, 13 Oct 2012 11:58:02 +0200 (CEST) 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 8bqAf40eM-Fz for ; Sat, 13 Oct 2012 11:58:01 +0200 (CEST) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 0DF5A101E8 for ; Sat, 13 Oct 2012 11:58:00 +0200 (CEST) Original-Received: from mail-bk0-f41.google.com (mail-bk0-f41.google.com [209.85.214.41]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q9D9vxlq005143 for ; Sat, 13 Oct 2012 11:58:00 +0200 Original-Received: by mail-bk0-f41.google.com with SMTP id jm1so1824435bkc.14 for ; Sat, 13 Oct 2012 02:57:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=6nUqaa1eVBWA/Ua0ZQxJP496sVxW2nAsWtDK7z+6TZM=; b=S+LPc2OEyI3ehICHHl13Ke7j0O6/aFutDM0Og8/LS27OAMnXFr4php+VG89zHapfwd zYfYInrx3W6/B3v4CN0WWj0TlIPXg7CEUE88JkQ0rk0JPusb7t3MGb2tVgjPs6JdL0Is sJlBpDMZEcVVkLzTqjN3bqnkx4wgNEnlTYJ0aTl7PnZ1rCg6lc6g2nVWSUphiwdriJh9 nJr37Yo+X7J1iSBTnQ27PNMQDZPw5v2qtPQhtoord6C33jqFUpa8fW5NtN9WcwL05+S2 LfZacAGbp1C/KOCBjwcON6VcaFctRJpPHE5480qtt6Vxm06KXn6G/gzA6vjqIQmBi8Ej i8bQ== Original-Received: by 10.204.6.17 with SMTP id 17mr1850221bkx.129.1350122279544; Sat, 13 Oct 2012 02:57:59 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4d0727ca.pool.mediaWays.net. [77.7.39.202]) by mx.google.com with ESMTPS id ht18sm6596667bkc.14.2012.10.13.02.57.57 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Oct 2012 02:57:58 -0700 (PDT) In-Reply-To: <20121013014436.6421c8ce@zenlima.eu> X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; 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: 07IaxVXgw - a060a3dd01d4 - 20121013 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78627 Archived-At: Am 13.10.2012 um 01:44 schrieb Zenlima : > Hallo, > = > after so many of you helped me, I want to give back. I just made my > t-pararef module public for everyone: > = > http://modules.contextgarden.net/pararef > = > http://wiki.contextgarden.net/Paragraph_Referencing > = > Please feel free to send me comments about the coding style and what I > could have done in a better way. E.g. the interface file is missing, > but I don't know how it should look like. = > = > But I hope mainly that it will prove beneficial for some of you. You can replace these two lines \definecounter[ParagraphNumber][way=3Dbytext,prefix=3Dno] \setuphead[chapter,section,subsection,subsubsection][insidesection=3D{\rese= tcounter[ParagraphNumber]}] with \definecounter[ParagraphNumber][way=3Dbyhead,prefix=3Dno] The =93way=3Dbyhead=94 settings resets the counter with each heading. Wolfgang ___________________________________________________________________________= ________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________