![](https://secure.gravatar.com/avatar/0d3e431dda764f3db19eb703bf3faf3c.jpg?s=120&d=mm&r=g)
Using the APA specification: \usebtxdefinitions [apa] you can then \cite[alternative=authoryears,righttext={{, p.\nbsp 12}}] [Knuth1984] mentions …. The tricky part concerning righttext= is the double {{ }}, needed because the text contains a comma. The reason for this is simple, as righttext is a comma-separated list, where each entry corresponds to a cited reference, as in \cite[righttext={a,b}] [ref1,ref2] so a is associated with ref1 and b is associated with ref2. Alan On 01/08/23 01/08/23, 15:37, Robert via ntg-context wrote:
Dear List members,
For my academic work with context I need the following cite according to Apa standards:
Knuth (1984, p. 12) mentions ….
The matrix is this:
AUTHOR (YYYY, p.~n).
I reckon this can somehow be accomplished with the \setupbtx command.
(Standard these and other variants are possible: AUTHOR (YYYY) and AUTHOR YYYY, p. n.)
I tried different setups: \setupbtx[apa:cite:authoryear], and \setupbtx[apa:cite:authoryears], I played with the lefttext, righttext and other options, but none of them give the desired result.
Thank you for any suggestions.
Regards,
Robert
@article{Knuth1984, author={Knuth, Donald E.}, title={Literate Programming}, journal={The Computer Journal}, Volume={27}, Number={2}, year={1984}, Pages={97--111}, }