From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/85258 Path: news.gmane.org!not-for-mail From: "honyk" Newsgroups: gmane.comp.tex.context Subject: Re: Handling index entries with many references Date: Fri, 15 Nov 2013 15:00:58 +0100 Message-ID: <45800.5814151422$1384524094@news.gmane.org> References: <006701ce654a$842ba080$8c82e180$@tosovsky@email.cz> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1384524084 2586 80.91.229.3 (15 Nov 2013 14:01:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Nov 2013 14:01:24 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 15 15:01:25 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VhJxV-00013m-4L for gctc-ntg-context-518@m.gmane.org; Fri, 15 Nov 2013 15:01:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A083A1023E; Fri, 15 Nov 2013 15:01:12 +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 g0n+hPew4apq; Fri, 15 Nov 2013 15:01:07 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5AFE1101FB; Fri, 15 Nov 2013 15:01:07 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D76FA101FB for ; Fri, 15 Nov 2013 15:01:05 +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 RJ33PxfH7laB for ; Fri, 15 Nov 2013 15:01:04 +0100 (CET) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id D360A101DE for ; Fri, 15 Nov 2013 15:01:04 +0100 (CET) Original-Received: from fep34.mx.upcmail.net (fep34.mx.upcmail.net [62.179.121.52]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id rAFE13ea008131 for ; Fri, 15 Nov 2013 15:01:04 +0100 Original-Received: from edge01.upcmail.net ([192.168.13.236]) by viefep22-int.chello.at (InterMail vM.8.01.05.05 201-2260-151-110-20120111) with ESMTP id <20131115140057.AMP18042.viefep22-int.chello.at@edge01.upcmail.net> for ; Fri, 15 Nov 2013 15:00:57 +0100 Original-Received: from emk ([78.102.140.101]) by edge01.upcmail.net with edge id pq0x1m0012BTW0m01q0xH1; Fri, 15 Nov 2013 15:00:57 +0100 X-SourceIP: 78.102.140.101 In-Reply-To: <006701ce654a$842ba080$8c82e180$@tosovsky@email.cz> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac5lSoI0X08O1j31T9WoFix3ZCoctR8voQmQ Content-Language: cs X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=62.179.121.52; country=AT; latitude=47.3333; longitude=13.3333; http://maps.google.com/maps?q=47.3333,13.3333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RKNO13M5 - b1480bdb5c97 - 20131115 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:85258 Archived-At: On 2013-06-09 honyk wrote: > > in my book I want to place the index (aka register) of places. > Some of them are mentioned very often (>10). > > In one old book I've found the following solution for this: > in the index there are first three page references listed for > that index entry followed by 'and many' phrase. > > Can something like this be done in the ConTeXt (MkIV)? I found an elegant way for this: \defineprocessor[many][right= and many] This processor is then applied just for the last index entry page reference: \index[many->]{primary} This can be automated in my system. Wow, great! Jan ___________________________________________________________________________________ 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 ___________________________________________________________________________________