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
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to