Re: Bibliography: 2 works by same author
jbf <[email protected]>
| Newsgroups | gmane.comp.tex.context |
|---|---|
| Message-ID | <[email protected]> |
JP, it is only the citation of an author with two or more works that
remains unsolved. I soon realised, with the chapter-level bibliography,
that I needed a repeat=yes, since many of the same works are being cited
per chapter. So we can forget that issue.
In brief response to the info you request below with regard to the
Rogers 1951 and Rogers 1961 references issue:
* single main file
* no separate environment file
* \startchapter...\stopchapter
* we can ignore the \placebtxrendering info per chapter, because it
was my omission of the repeat=yes that was resulting in the
non-appearance of the chapter-level bibliography. Now resolved.
* btx definitions and renderings are in the preamble of the single file.
* end of thesis calls in the entire bibliography
The obvious difference between your MWE and my setup is that you are
calling in a buffer, whereas I am calling in a references.bib file with
[main::rogers1951client,rogers1961person], so I wonder if the issue lies
there. But one test I did was to create a buffer in the preamble for the
rogers material (I left in the Jacobi example as well), and I adapted
your MWE into a setup and called that setup at the first appearance of
the double Rogers reference:
\start
\setups[bib]
Psychotherapy and counselling can become important places of such
encounter. At their best, they offer a disciplined relationship in which
experience may be approached with honesty, safety, challenge and
compassion. Carl Rogers’ person-centred tradition emphasised empathy,
congruence and unconditional positive regard
\cite[authoryear][rogers1951client, rogers1961person]. These qualities
do not suspend moral judgement or make dignity dependent upon approval.
They describe a way of meeting another person in which something
painful, shameful or destructive can be faced without the person being
discarded.
\stop
But I still got the result as (Rogers 1961; Rogers 1951).
If it would help, since this reference occurs in Chapter One, I could
give you a minimal version of the entire file with the full preamble
(minus my buffer attempt), and first chapter with just the 'Rogers'
paragraph in it. Let me know if that would be of assistance.
Julian
On 21/8/26 12:28, Jean-Pierre Delange via ntg-context wrote:
>
> Julian,
>
> I think the two issues you are seeing may be related less to the
> individual bibliography commands than to the overall structure of the
> thesis.
>
> For a 400-page document, ConTeXt’s structural context matters quite a
> lot. In particular, method=localmay be something of a false friend
> here: what we really need to know is how the chapter scope is being
> established, where the bibliography rendering is placed in relation to
> the chapter boundaries, and how already-rendered entries are
> subsequently reused in the final bibliography.
>
> Could you therefore show us the basic architecture you are using for
> the thesis? In particular:
>
> * are you using a project/product/component structure, or a single
> main file?
> * do you have a separate \environmentfile?
> * how are chapters and sections actually opened and closed
> (\chapter, \startchapter...\stopchapter, etc.)?
> * where exactly does
> \placebtxrendering[chapterlist][method=local]occur in relation to
> \stopchapter?
> * and where are the btx definitions and renderings set up: in the
> environment, the product, or the main text?
>
> We do not need the whole thesis, of course. The environment file (or
> the relevant parts of it), the main project/product skeleton, and the
> beginning/end of Chapters 1 and 2 should probably be enough.
>
> My suspicion is that we need to separate three things more carefully:
> the structural scope of the chapter, the method by which references
> are collected/rendered, and whether entries already rendered in a
> chapter may be rendered again later in the final bibliography.
>
> Once we see your document structure, it should also be possible to
> make a small two- or three-chapter test that reproduces exactly what
> you need:
>
> Chapter 1 → local bibliography
> Chapter 2 → local bibliography
> …
> End of thesis → complete bibliography containing everything.
>
> That may also help explain why the Rogers example works correctly in
> the small MWE but not inside the full thesis.
>
> Best wishes,
>
> JP
>
>
>
>> Le 21 août 2026 à 02:57, jbf <[email protected]> a écrit :
>>
>>
>>
>> Okay, JP, I solved the second problem (no chapter-level bibliography
>> for Chapter 2) easily enough: had forgotten to include repeat=yes
>>
>> \placebtxrendering
>> [chapterlist]
>> [method=local,
>> repeat=yes]
>>
>> Now let's see if I can solve the first problem!
>>
>> Julian
>>
>> On 20/8/26 23:08, Jean-Pierre Delange via ntg-context wrote:
>>>
>>> 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,
>>>> 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
>>> ___________________________________________________________________________________
>> ___________________________________________________________________________________
>> 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
>> ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________