On 2016-07-01 13:13, Nicola wrote:
On 2016-07-01 14:53:00 +0000, Hans Hagen said:
On 7/1/2016 12:17 PM, Nicola wrote:
In the past (MKII) I used citations of the form:
\cite[extras={, p.~24}][Author:2016]
The extras option seems to be ignored by MKIV's bibliography system.
What is the equivalent of the above?
lefttext=
righttext=
It does not seem to work with my example. The output of the MWE below is:
(Author, 2016 XXX) (Author, 2016)
The comma seems the culprit.
Nicola
\setupinteraction [state=start]
\usebtxdefinitions [apa]
\startbuffer [bib]
@article{Author:2016,
author={Author},
year=2016,
}
\stopbuffer
\usebtxdataset [bib.buffer]
\starttext
\cite[righttext={ XXX}][Author:2016] % OK
\cite[righttext={, p.~22}][Author:2016] % Not ok
\page
\placelistofpublications
\stoptext
For now, an extra layer of curlies will make it work:
\cite[righttext={{, p.~22}}][Author:2016] % works, but not pretty
--
rik
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________