From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79056 Path: news.gmane.org!not-for-mail From: Andreas Mang Newsgroups: gmane.comp.tex.context Subject: apa like bibliography: entries not indexed correctly Date: Wed, 7 Nov 2012 11:04:12 +0100 Message-ID: <477AB2D0-EA31-4B28-A315-31257FEA74BF@imt.uni-luebeck.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="_003_477AB2D0EA314B28A31531257FEA74BFimtuniluebeckde_" X-Trace: ger.gmane.org 1352282669 416 80.91.229.3 (7 Nov 2012 10:04:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Nov 2012 10:04:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 07 11:04:38 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TW2Uw-0008CA-Rv for gctc-ntg-context-518@m.gmane.org; Wed, 07 Nov 2012 11:04:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6C0B1025C; Wed, 7 Nov 2012 11:04:29 +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 6j7y+Bd1Jwtq; Wed, 7 Nov 2012 11:04:23 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1573F10209; Wed, 7 Nov 2012 11:04:23 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6DB7D10209 for ; Wed, 7 Nov 2012 11:04:21 +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 0bdBTxdpQCeM for ; Wed, 7 Nov 2012 11:04:19 +0100 (CET) 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 A8BF4101FF for ; Wed, 7 Nov 2012 11:04:19 +0100 (CET) Original-Received: from ip1.rz.uni-luebeck.de (ip1.rz.uni-luebeck.de [141.83.100.71]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qA7A4ExD005878 for ; Wed, 7 Nov 2012 11:04:18 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjkFAEoxmlCNU3BB/2dsb2JhbABEgmy9OIM7gQiCJYELAVAwJgEEIYd9A5oCoVSMA4VmYQOOe4Ehgi2TdoJw Original-Received: from mail.imt.uni-luebeck.de ([141.83.112.65]) by ip1.rz.uni-luebeck.de with ESMTP; 07 Nov 2012 11:04:13 +0100 Original-Received: from mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165]) by mail.imt.uni-luebeck.de ([fe80::5194:66e8:27c3:6165%10]) with mapi; Wed, 7 Nov 2012 11:04:13 +0100 Thread-Topic: apa like bibliography: entries not indexed correctly Thread-Index: Ac28zzzOjtHw9fTnQf6kg/mUuvF91A== Accept-Language: en-US, de-DE Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US, de-DE X-Bayes-Prob: 0.8747 (Score 2, tokens from: @@RPTN) X-CanIt-Geo: ip=141.83.100.71; country=DE; region=10; city=Lubeck; latitude=53.8667; longitude=10.7000; http://maps.google.com/maps?q=53.8667,10.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TIky4ezS - 865f3fb67785 - 20121107 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:79056 Archived-At: --_003_477AB2D0EA314B28A31531257FEA74BFimtuniluebeckde_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear all, I am experiencing problems with the bibliography. My bibliographystyle is a= pa like. In the minimal example given below the maybe year is not set up co= rrectly. That is I would expect to have (Firstauthor et al., 2012a,2011,2012b) but I get (Firstauthor et al., 2012,2011,2012).=20 It took me some time to reproduce this error. My description of the error i= s probably quite difficult to follow. I hope the example is more intuitive: The reason for this problem to occur is that the entries in the bbl file ar= e probably processed according to the alphabetic order of the last name of = the authors. If one refers to an author publishing several articles in a si= ngle year (in my example 2012) and there is an additional publication that = is published in another year (in my example 2011), the ordering is essentia= lly determined by the first letter of the last name of the second author (i= f it was a different second author, otherwise third author and so on).=20 If the letter of the second author in the publication published in the year= in which there was only a single publication (in my example 2011) happens = to be inbetween the letter of the second author on the two publications pub= lished in the year in which there have been two publications (in my example= the publications in 2012), the publication (in my example 2011) will appea= r inbetween those that appeared in the same year (in my example 2012). This= results in the maybeyear to be screwed up. The listing will be Firstauthor et al., 2012 Firstauthor et al., 2011 Firstauthor et al. 2012 instead of Firstauthor et al., 2012a Firstauthor et al., 2011 Firstauthor et al., 2012b Cheers, Andreas 2012.11.06 09:56 MKIV fmt: 2012.11.7 int: english/english \setuppublications[ alternative=3Dapa-de, sorttype=3Dbbl ] \setuppublicationlist[] %bibtex support \setupbibtex[database=3D{references-example},sort=3Dauthor] %\setupbibtex[database=3D{references},sort=3Dauthor] %%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%%=20 \starttext \cite[Firstauthor:2012b,Firstauthor:2011a,Firstauthor:2012a] \placepublications[criterium=3Dtext] \stoptext %%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%%=20 --_003_477AB2D0EA314B28A31531257FEA74BFimtuniluebeckde_ Content-Type: application/octet-stream; name="references-example.bib" Content-Description: references-example.bib Content-Disposition: attachment; filename="references-example.bib"; size=1169; creation-date="Wed, 07 Nov 2012 11:04:12 GMT"; modification-date="Wed, 07 Nov 2012 11:04:12 GMT" Content-Transfer-Encoding: base64 JSUgVGhpcyBCaWJUZVggYmlibGlvZ3JhcGh5IGZpbGUgd2FzIGNyZWF0ZWQgdXNpbmcgQmliRGVz ay4NCiUlIGh0dHA6Ly9iaWJkZXNrLnNvdXJjZWZvcmdlLm5ldC8NCg0KDQolJSBDcmVhdGVkIGZv ciBBbmRyZWFzIE1hbmcgYXQgMjAxMi0xMS0wNyAxMDo0MTozMyArMDEwMCANCg0KDQolJSBTYXZl ZCB3aXRoIHN0cmluZyBlbmNvZGluZyBVbmljb2RlIChVVEYtOCkgDQoNCg0KDQpAYXJ0aWNsZXtG aXJzdGF1dGhvcjoyMDExYSwNCglBdXRob3IgPSB7QS4gRmlyc3RhdXRob3IgYW5kIEEuIEJDb0F1 dGhvcjIwMTEgYW5kIEEuIExhc3RhdXRob3J9LA0KCURhdGUtQWRkZWQgPSB7MjAxMi0xMS0wNyAw OToxOToyMiArMDAwMH0sDQoJRGF0ZS1Nb2RpZmllZCA9IHsyMDEyLTExLTA3IDA5OjQwOjQ4ICsw MDAwfSwNCglKb3VybmFsID0ge1NvbWUgSm91cm5hbH0sDQoJTnVtYmVyID0ge1h9LA0KCVBhZ2Vz ID0ge3h4LS14eH0sDQoJVGl0bGUgPSB7U29tZSBUaXRsZX0sDQoJVm9sdW1lID0ge1h9LA0KCVll YXIgPSB7MjAxMX19DQoNCkBhcnRpY2xle0ZpcnN0YXV0aG9yOjIwMTJiLA0KCUF1dGhvciA9IHtB LiBGaXJzdGF1dGhvciBhbmQgQS4gQ0NvQXV0aG9yMjAxMiBhbmQgQS4gTGFzdGF1dGhvcn0sDQoJ RGF0ZS1BZGRlZCA9IHsyMDEyLTEwLTAxIDEzOjAxOjM4ICswMDAwfSwNCglEYXRlLU1vZGlmaWVk ID0gezIwMTItMTEtMDcgMDk6NDE6MjggKzAwMDB9LA0KCUpvdXJuYWwgPSB7U29tZSBUaGVvcmV0 aWNhbCBKb3VybmFsfSwNCglOdW1iZXIgPSB7WH0sDQoJUGFnZXMgPSB7eHgtLXh4fSwNCglUaXRs ZSA9IHtTb21lIFRpdGxlfSwNCglWb2x1bWUgPSB7WH0sDQoJWWVhciA9IHsyMDEyfX0NCg0KQGFy dGljbGV7Rmlyc3RhdXRob3I6MjAxMmEsDQoJQXV0aG9yID0ge0EuIEZpcnN0YXV0aG9yIGFuZCBB LiBBQ29BdXRob3IyMDEyIGFuZCBBLiBMYXN0YXV0aG9yfSwNCglEYXRlLUFkZGVkID0gezIwMTIt MTAtMDEgMTM6MDE6MDIgKzAwMDB9LA0KCURhdGUtTW9kaWZpZWQgPSB7MjAxMi0xMS0wNyAwOTo0 MTozMyArMDAwMH0sDQoJSm91cm5hbCA9IHtTb21lIEFwcGxpZWQgSm91cm5hbH0sDQoJTnVtYmVy ID0ge1h9LA0KCVBhZ2VzID0ge3h4LS14eH0sDQoJVGl0bGUgPSB7U29tZSBUaXRsZX0sDQoJVm9s dW1lID0ge1h9LA0KCVllYXIgPSB7MjAxMn19DQo= --_003_477AB2D0EA314B28A31531257FEA74BFimtuniluebeckde_ Content-Type: text/plain; name="ATT00001.txt" Content-Description: ATT00001.txt Content-Disposition: attachment; filename="ATT00001.txt"; size=4; creation-date="Wed, 07 Nov 2012 11:04:12 GMT"; modification-date="Wed, 07 Nov 2012 11:04:12 GMT" Content-Transfer-Encoding: base64 DQoNCg== --_003_477AB2D0EA314B28A31531257FEA74BFimtuniluebeckde_ Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --_003_477AB2D0EA314B28A31531257FEA74BFimtuniluebeckde_--