From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/66445 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Bibliography bug Date: Mon, 28 Feb 2011 09:00:21 +0100 Message-ID: <4D6B5615.2000005@elvenkind.com> References: <20110227012802.GK29732@rae.vm.bytemark.co.uk> <20110227224850.GN29732@rae.vm.bytemark.co.uk> 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 1298880061 12116 80.91.229.12 (28 Feb 2011 08:01:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 28 Feb 2011 08:01:01 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Feb 28 09:00:57 2011 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 1Pty2F-00020o-GZ for gctc-ntg-context-518@m.gmane.org; Mon, 28 Feb 2011 09:00:51 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 18364CAA76; Mon, 28 Feb 2011 09:00:51 +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 xQQiqW24s-mr; Mon, 28 Feb 2011 09:00:35 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8514CCAA68; Mon, 28 Feb 2011 09:00:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DFCCACAA68 for ; Mon, 28 Feb 2011 09:00:33 +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 1H3vljXU74in for ; Mon, 28 Feb 2011 09:00:22 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 85F69C9A7C for ; Mon, 28 Feb 2011 09:00:22 +0100 (CET) Original-Received: from smtp-vbr15.xs4all.nl (smtp-vbr15.xs4all.nl [194.109.24.35]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p1S80Lc0031009 for ; Mon, 28 Feb 2011 09:00:22 +0100 Original-Received: from boo.fritz.box (boo.demon.nl [83.163.247.99]) (authenticated bits=0) by smtp-vbr15.xs4all.nl (8.13.8/8.13.8) with ESMTP id p1S80LNv075949; Mon, 28 Feb 2011 09:00:21 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101030 Mandriva/3.1.6-1mdv2011.0 (2011.0) Thunderbird/3.1.6 In-Reply-To: <20110227224850.GN29732@rae.vm.bytemark.co.uk> X-Virus-Scanned: by XS4ALL Virus Scanner X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=194.109.24.35; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Edk0lVM - 95895ae64325 - 20110228 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:66445 Archived-At: On 02/27/2011 11:48 PM, Pontus Lurcock wrote: > After some further staring at the code and bibmod-doc, I've come up with > the following patch: That patch looks fine. Hans, can you include it? Best wishes, Taco > --- bibl-apa.tex.orig 2011-02-28 11:32:05.996248627 +1300 > +++ bibl-apa.tex 2011-02-28 11:32:47.576251922 +1300 > @@ -133,13 +133,13 @@ > > \def\insertorg#1#2#3% > {\insertorganization > {\insertcity > {#1} > - {\insertcountry{, }{}{#2}: }% > - {\insertcountry{}{: }{#2}}}% > - {}% > + {\insertcountry{, }{}{}: }% > + {\insertcountry{}{: }{}}}% > + {#2}% > {\insertcity > {#1} > {\insertcountry{, }{}{#2}}% > {\insertcountry{}{#2}{#3}}}% > } > > This fixes my example, and makes (to me) better sense according to the > semantics of the \insert... commands: the argument to > \insertorg gets passed down to the of \insertcity rather than > spliced into the. It's also closer to the definition of > \insertpublisher immediately preceding it in the file. > > I hope that this can be integrated into the next beta, if it doesn't > turn out to be a horrendous mistake... ___________________________________________________________________________________ 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 ___________________________________________________________________________________