From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50737 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: indices Date: Sun, 24 May 2009 18:05:56 +0200 Message-ID: <4A197064.1080907@elvenkind.com> References: <4A18FB2B.1090106@elvenkind.com> <43768B99-8645-46A8-964C-876F40E028B8@upcmail.ie> 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: ger.gmane.org 1243181320 29302 80.91.229.12 (24 May 2009 16:08:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2009 16:08:40 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 24 18:08:33 2009 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 1M8GFV-00033v-KH for gctc-ntg-context-518@m.gmane.org; Sun, 24 May 2009 18:08:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0CE901FDEC; Sun, 24 May 2009 18:08:32 +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 15080-03; Sun, 24 May 2009 18:07:10 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D8B781FDD5; Sun, 24 May 2009 18:07:09 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1391C1FDD5 for ; Sun, 24 May 2009 18:07:08 +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 14082-04 for ; Sun, 24 May 2009 18:06:16 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id 601E51FDD4 for ; Sun, 24 May 2009 18:06:09 +0200 (CEST) Original-Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4OG66L2007468 for ; Sun, 24 May 2009 18:06:09 +0200 Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr7.xs4all.nl (8.13.8/8.13.8) with ESMTP id n4OG5uvg025083 for ; Sun, 24 May 2009 18:06:06 +0200 (CEST) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.19 (X11/20090114) In-Reply-To: <43768B99-8645-46A8-964C-876F40E028B8@upcmail.ie> X-Virus-Scanned: by XS4ALL Virus Scanner X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=194.109.24.27; country=NL; region=07; city=Amsterdam; latitude=52.3500; longitude=4.9167; http://maps.google.com/maps?q=52.3500,4.9167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 230693465 - 1db686d349a2 - 20090524 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50737 Archived-At: Charles Doherty wrote: > Dear Taco, > > I inserted the code as you suggested although perhaps not in the > position you would yourself. I had to add the {} to > \insertkeywords{}{}{} > > I did this in the bibl.apa file and I get my index. Of course the > keywords are now inserted in the bibliography. Is there a way to prevent > that but still produce the index? Here are the test files that I am > using. I really appreciate you taking the time to help me with this. Remember this: \unprotect \def\insertkeywords#1#2#3% {\bibdoifelse{\@@pb@keywords} {% #1\@@pb@keywords #2% \processcommacommand[\@@pb@keywords]\index } {#3}% } \protect Drop the #1 .. #2 line and it will no longer typeset anything: \unprotect \def\insertkeywords#1#2#3% {\bibdoifelse{\@@pb@keywords} {% \processcommacommand[\@@pb@keywords]\index } {#3}% } \protect Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________