From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62724 Path: news.gmane.org!not-for-mail From: Jano Kula Newsgroups: gmane.comp.tex.context Subject: Re: entries in registerentry Date: Tue, 19 Oct 2010 12:13:04 +0200 Message-ID: <4CBD6F30.3090708@tiscali.cz> References: <56E6D6B3-5779-403E-B51E-72520EE599A9@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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287483472 1288 80.91.229.12 (19 Oct 2010 10:17:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Oct 2010 10:17:52 +0000 (UTC) Cc: Hans Hagen , Steffen Wolfrum To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 19 12:17:50 2010 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 1P89GP-000770-Dy for gctc-ntg-context-518@m.gmane.org; Tue, 19 Oct 2010 12:17:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DFAB9CA720; Tue, 19 Oct 2010 12:17:48 +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 eR96uSiXcQgK; Tue, 19 Oct 2010 12:17:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 396CCCA6E1; Tue, 19 Oct 2010 12:17:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38AA3CA6E1 for ; Tue, 19 Oct 2010 12:17:42 +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 3QrLfo+VBkqQ for ; Tue, 19 Oct 2010 12:17:30 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 8BE44CA6DF for ; Tue, 19 Oct 2010 12:17:30 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9JAHTao002097 for ; Tue, 19 Oct 2010 12:17:30 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P89G2-000726-Jo for ntg-context@ntg.nl; Tue, 19 Oct 2010 12:17:26 +0200 Original-Received: from 249.39.broadband10.iol.cz ([90.177.39.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Oct 2010 12:17:26 +0200 Original-Received: from jano.kula by 249.39.broadband10.iol.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 19 Oct 2010 12:17:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 249.39.broadband10.iol.cz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.7) Gecko/20100720 Lanikai/3.1.1 In-Reply-To: <56E6D6B3-5779-403E-B51E-72520EE599A9@st.estfiles.de> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; region=12; city=Oslo; latitude=59.9167; longitude=10.7500; http://maps.google.com/maps?q=59.9167,10.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDkyhtPh - 2c1134284cf0 - 20101019 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:62724 Archived-At: Hi Steffen, On 10/13/2010 07:23 PM, Steffen Wolfrum wrote: > Hi, > > I don't understand the concept of entries in registerentry :o( > > Say, you have this example: > > \starttext > \placeregister[index] > \page > page 1 > \setregisterentry[index] > [entries:1={eins}, > entries:2={zwei}, > entries:3={drei}, > label=range] > \page > page 2 > text > \page > page 3 > \finishregisterentry[index][label=range] > text > \stoptext \setregisterentry writes only one index entry and entries:1, entries:2, entries:3 are the levels of this entry, so \setregisterentry in your example is equivalent to \index{eins+zwei+drei} and you get eins zwei drei > Why does only have entries:3 the index range "2-4", both entries:1 and 2 are emtpy? > What should I write in order to have all of those entries referering to the same "2-4"? Hans might have a better hint, I would write these entries three times. Jano ___________________________________________________________________________________ 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 ___________________________________________________________________________________