ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Equivalent of extras option in new bibliography system?
Date: Sun, 3 Jul 2016 19:00:19 +0200	[thread overview]
Message-ID: <577944A3.3050608@uni-bonn.de> (raw)
In-Reply-To: <20160701180756.69ad52ce@cea.fr>

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 : ntg-context@ntg.nl / 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
___________________________________________________________________________________

      parent reply	other threads:[~2016-07-03 17:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01 10:17 Nicola
2016-07-01 14:53 ` Hans Hagen
2016-07-01 17:13   ` Nicola
2016-07-01 23:03     ` Rik Kabel
2016-07-02  0:07     ` Alan Braslau
2016-07-02  7:28       ` Nicola
2016-07-03 17:00       ` Thomas A. Schmitz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=577944A3.3050608@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).