ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Citation of two books with extra information
@ 2012-04-03 15:31 Steffen Fritzsche
  2012-04-03 19:40 ` Pontus Lurcock
  0 siblings, 1 reply; 2+ messages in thread
From: Steffen Fritzsche @ 2012-04-03 15:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 556 bytes --]

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?

Thanks!
Steffen



[-- Attachment #1.2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4416 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Citation of two books with extra information
  2012-04-03 15:31 Citation of two books with extra information Steffen Fritzsche
@ 2012-04-03 19:40 ` Pontus Lurcock
  0 siblings, 0 replies; 2+ messages in thread
From: Pontus Lurcock @ 2012-04-03 19:40 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-04-03 19:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 15:31 Citation of two books with extra information Steffen Fritzsche
2012-04-03 19:40 ` Pontus Lurcock

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).