ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Andreas Mang <mang@imt.uni-luebeck.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: apa like bibliography: entries not indexed correctly
Date: Wed, 7 Nov 2012 11:04:12 +0100	[thread overview]
Message-ID: <477AB2D0-EA31-4B28-A315-31257FEA74BF@imt.uni-luebeck.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 2203 bytes --]

Dear all,

I am experiencing problems with the bibliography. My bibliographystyle is apa like. In the minimal example given below the maybe year is not set up correctly. That is I would expect to have

(Firstauthor et al., 2012a,2011,2012b)

but I get

(Firstauthor et al., 2012,2011,2012). 

It took me some time to reproduce this error. My description of the error is 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 are 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 single year (in my example 2012) and there is an additional publication that is published in another year (in my example 2011), the ordering is essentially determined by the first letter of the last name of the second author (if it was a different second author, otherwise third author and so on). 

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 published in the year in which there have been two publications (in my example the publications in 2012), the publication (in my example 2011) will appear 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=apa-de,
	sorttype=bbl
]
\setuppublicationlist[]

%bibtex support
\setupbibtex[database={references-example},sort=author]
%\setupbibtex[database={references},sort=author]


%%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%% 
\starttext
\cite[Firstauthor:2012b,Firstauthor:2011a,Firstauthor:2012a]

\placepublications[criterium=text]

\stoptext
%%%%%%%%%%%% MINIMAL EXAMPLE %%%%%%%%%%%% 

[-- Attachment #2: references-example.bib --]
[-- Type: application/octet-stream, Size: 1169 bytes --]

%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/


%% Created for Andreas Mang at 2012-11-07 10:41:33 +0100 


%% Saved with string encoding Unicode (UTF-8) 



@article{Firstauthor:2011a,
	Author = {A. Firstauthor and A. BCoAuthor2011 and A. Lastauthor},
	Date-Added = {2012-11-07 09:19:22 +0000},
	Date-Modified = {2012-11-07 09:40:48 +0000},
	Journal = {Some Journal},
	Number = {X},
	Pages = {xx--xx},
	Title = {Some Title},
	Volume = {X},
	Year = {2011}}

@article{Firstauthor:2012b,
	Author = {A. Firstauthor and A. CCoAuthor2012 and A. Lastauthor},
	Date-Added = {2012-10-01 13:01:38 +0000},
	Date-Modified = {2012-11-07 09:41:28 +0000},
	Journal = {Some Theoretical Journal},
	Number = {X},
	Pages = {xx--xx},
	Title = {Some Title},
	Volume = {X},
	Year = {2012}}

@article{Firstauthor:2012a,
	Author = {A. Firstauthor and A. ACoAuthor2012 and A. Lastauthor},
	Date-Added = {2012-10-01 13:01:02 +0000},
	Date-Modified = {2012-11-07 09:41:33 +0000},
	Journal = {Some Applied Journal},
	Number = {X},
	Pages = {xx--xx},
	Title = {Some Title},
	Volume = {X},
	Year = {2012}}

[-- Attachment #3: ATT00001.txt --]
[-- Type: text/plain, Size: 4 bytes --]




[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

                 reply	other threads:[~2012-11-07 10:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=477AB2D0-EA31-4B28-A315-31257FEA74BF@imt.uni-luebeck.de \
    --to=mang@imt.uni-luebeck.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).