Re: Bibliography: 2 works by same author

Jean-Pierre Delange via ntg-context <[email protected]>
Newsgroups gmane.comp.tex.context
Message-ID <[email protected]>
Hi Julian,

I tested your suggestion with the current LMTX APA specification, and it turns out that the grouping logic is already there.

With:

\cite[authoryear][beiser1987,beiser1990]
ConTeXt produces:

(Beiser, 1987, 1990)
whereas two different authors give:

(Beiser, 1987; Jacobi, 1785)
There is also the authoryears variant, which produces the narrative form:

Beiser (1987, 1990)
So your suggestion is still very useful: this would make a good additional example for the Garden page, since the existing simple example does not show that APA already handles repeated authors this way.

I attach the small MWE I used for the test.

Best, JP

JP

> Le 20 août 2026 à 07:39, jbf <[email protected]> a écrit :
> 
> It just occurs to me, looking at one of the simple examples inhttps://wiki.contextgarden.net/Creating_a_bibliography_and_citing_sources <https://wiki.contextgarden.net/Creating_a_bibliography_and_citing_sources>, that it might be a good idea to include an example of two works by the same author, as well as 2 works involving different authors.
> 
> The example provided is
> 
> \cite
>   [authoryear]
>   [beiser1987,jacobi1785]
> and that will produce, in-text, (Beiser, 1987; Jacobi, 1785).
> 
> But let's say Beiser wrote a second work in 1990.
> 
> \cite
>   [authoryear]
>   [beiser1987,beiser1990]
> will produce (Beiser, 1987; Beiser, 1990).  It might look better if we could get (Beiser, 1987, 1990). At the moment I can't quite see how to get that.
> 
> Julian
>

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : [email protected] / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.