From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/35340 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: Law/Jurisdiction typesetting Date: Fri, 6 Jul 2007 18:23:28 +0200 Message-ID: <20070706182328591856.63ed654a@st.estfiles.de> References: <20070705174143392571.256aa387@st.estfiles.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" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1183739064 14223 80.91.229.12 (6 Jul 2007 16:24:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2007 16:24:24 +0000 (UTC) Cc: Hans Hagen To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 06 18:24:22 2007 connect(): Connection refused 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 1I6qbU-0001bl-7u for gctc-ntg-context-518@m.gmane.org; Fri, 06 Jul 2007 18:24:20 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DCAB41FE7E; Fri, 6 Jul 2007 18:24:06 +0200 (CEST) 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 10757-02-4; Fri, 6 Jul 2007 18:23:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A90BB1FDD2; Fri, 6 Jul 2007 18:23:46 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7FB6D1FD9B for ; Fri, 6 Jul 2007 18:23:45 +0200 (CEST) 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 09688-05 for ; Fri, 6 Jul 2007 18:23:34 +0200 (CEST) Original-Received: from smtprelay03.ispgateway.de (smtprelay03.ispgateway.de [80.67.18.15]) by ronja.ntg.nl (Postfix) with ESMTP id B10C220310 for ; Fri, 6 Jul 2007 18:23:34 +0200 (CEST) Original-Received: (qmail 12651 invoked from network); 6 Jul 2007 16:23:34 -0000 Original-Received: from unknown (HELO steffen.intern) (698580@[87.185.222.25]) (envelope-sender ) by smtprelay03.ispgateway.de (qmail-ldap-1.03) with SMTP; 6 Jul 2007 16:23:34 -0000 In-Reply-To: <20070705174143392571.256aa387@st.estfiles.de> X-Mailer: GyazMail version 1.5.5 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:35340 Archived-At: Intensive googling brought me these solutions for paragraph enumeration: 1) % Enumerate paragraphs \newcounter\ParNum \def\GuyPar{\doglobal\increment\ParNum\inleft{\ParNum}} \setupbodyfont[ber,10pt] \setupwhitespace[big] \starttext \section[sec-language]{How this Book Teaches You The Language} \GuyPar Java is an object oriented programming language. When you use an object oriented programming language, your program consists of class definitions. \stoptext 2) \starttext \showframe \setupcolors[state=start] \setupparagraphnumbering[state=start,style=italic,distance=0pt] %\startlinenumbering \section{bloo} \input knuth \section{blah} \input knuth \par \setupparagraphnumbering[state=stop] \input tufte \par \blank \dorecurse{2}{\input tufte \par} \blank \par \setupparagraphnumbering[state=start,color=red] \dorecurse{4}{\input tufte \par} \stoptext Does anybody now have an idea how to re-use these paragraph numbers (in one of these examples) for linking in a TOC and/or a seperate index register (as described below)? Steffen On Thu, 5 Jul 2007 17:41:43 +0200, Steffen Wolfrum wrote: > Hi, > > using ConTeXt more and more for typesetting books from the field of > law/jurisdiction I came across some specifics that I just don't know > how to do in our beloved application: > > 1) Paragraphs (not all) are labeled with numbers in the margin. > These "paragraph numbers" are used in the table of contents in such > way: you have the content's entry (eg the section heading), then the > dots, then the corresponding paragraph number, then the > corresponding page number. > > 2) Paragraphs (not all) are labeled with numbers in the margin. > These "paragraph numbers" are used in a separate "paragraph > register" in such way: you have the index entry (a law's number), > space, then you have the corresponding paragraph number (the text > paragraph where the index was used). [But of course there is also a > "regular register" afterwards, containing alphabetical listed keyword > index entries pointing to page numbers.] > > > So, how can that be done?? > > > Yours, > > Steffen > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 ___________________________________________________________________________________