ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pontus Lurcock <pont@talvi.net>
To: ntg-context@ntg.nl
Subject: Re: Citation of two books with extra information
Date: Wed, 4 Apr 2012 07:40:20 +1200	[thread overview]
Message-ID: <20120403194020.GB31075@rae.vm.bytemark.co.uk> (raw)
In-Reply-To: <6DE3A16E-10CB-4AF3-B0B7-3D0623FBBC43@uni-ulm.de>

On Tue 03 Apr 2012, Steffen Fritzsche wrote:

> Hi all,
> 
> is it possible to cite two books and include page information for each of them. To give an example I'm looking for something like
> 
> \cite[extras={, p. 123}, extras={, p. 456}][BookOne:2000, BookTwo:1900]
> 
> which should be processed as
> 
> (BookOne Authors, 2000, p. 123 and BookTwo Authors, 1900, p. 456)
> 
> This does not work because the first "extras" is overridden with the second. It's possible to append Information to the second citation but not to the first or to both. Any suggestions how I might achieve this?

I don't know if there's a ‘proper’ solution, but you can work around it
by building it up manually from bare citations -- something like

\def\nakedcite[#1]%
{\cite[alternative=authoryears,left={},right={}][#1]}
...
(\nakedcite[BookOne:2000], p. 123 and \nakedcite[BookTwo:1900], p. 456)

That's a starting point at least -- if you need more convenience you can
think about defining your own macro in terms of \nakedcite .

Hope this helps,

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

      reply	other threads:[~2012-04-03 19:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-03 15:31 Steffen Fritzsche
2012-04-03 19:40 ` Pontus Lurcock [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=20120403194020.GB31075@rae.vm.bytemark.co.uk \
    --to=pont@talvi.net \
    --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).