On 07/02/2016 02:07 AM, Alan Braslau wrote:
Yes. Consider:
\cite[righttext={{, p.~24},{, p.~xx}}] [Author:2016,Author2:2015]
The comma gets parsed (as always) to separate multiple right texts, assigned here to each citation reference.
The solution to your problem is:
\cite[righttext={{, p.~24}}][Author:2016]
Alternately (if you find the {{ }} strange), you can type \cite[righttext={\btxcomma p.~24}] [Author:2016]
The macro \btxcomma also takes care of spacing.
I know I shouldn't be asking but answering questions on this topic, but here comes anyway: what is the magic incantation to have the righttext included within the brackets in authornum styles? So for \cite[righttext={{,\,100}}][Hagen] I want the result to look like Hagen [1, 100]. I tried \definebtx [default:cite:author:num] % todo [default:cite:authornum] [left={\btxleftbracket}, right={\currentbtxrighttext\btxrightbracket}] but I get Hagen [1], 100. Any pointers what I should try? Thomas