ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Michael Murphy <michael.murphy@uni-ulm.de>
To: ntg-context@ntg.nl
Subject: Mutiple citations doesn't work with compress=no + interaction
Date: Tue, 08 Jun 2010 17:34:26 +0200	[thread overview]
Message-ID: <4C0E6302.90904@uni-ulm.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

I know that if I want to have clickable hyperlinks for citations, I need 
to turn off 'compress' for the citation type:

\setupcite[authoryears][compress=no]

The problem is that this doesn't seem to work: I get an 'unknown 
reference' error.

references      : unknown reference [][Balachandran2008
references      : unknown reference [][Balachandran2008
references      : unknown reference [][Balachandran2008

Strangely, this only happens when I want to refer to multiple authors, 
e.g. \cite[ref1, ref2, ref3], and everything works fine if I just do 
\cite[ref1].

I've attached a minimal example. Where am I going wrong?

-- 
Michael Murphy

[-- Attachment #2: min_bib.tex --]
[-- Type: text/x-tex, Size: 338 bytes --]

\setupinteraction[state=start]

\usemodule[bib]
\setuppublications[refcommand=authoryears]
\setupcite[authoryears][compress=no]

\starttext

I can cite single authors, like this \cite[Balachandran2008], but when I
try to cite more together, it doesn't work
\cite[Balachandran2008,Borzi2002,Bose2007].
\blank
\placepublications

\stoptext

[-- Attachment #3: min_bib.bbl --]
[-- Type: text/plain, Size: 1222 bytes --]

\setuppublicationlist[samplesize={CKRGO08},totalnumber=3]

\startpublication[k=Balachandran2008,t=article,
a={{Balachandran},{Gong}},y=2008,o={10.1103/PhysRevA.77.012303},
n=1,s=BG08]
\artauthor[]{Vinitha}[V.]{}{Balachandran}
\artauthor[]{Jiangbin}[J.]{}{Gong}
\pubyear{2008}
\arttitle{Adiabatic quantum transport in a spin chain with a moving potential}
\journal{Phys. Rev. A}
\volume{77}
\issue{1}
\pages{012303}
\doi{10.1103/PhysRevA.77.012303}
\stoppublication

\startpublication[k=Borzi2002,t=article,
a={{Borz\`i},{}},y=2002,
n=2,s=BSH02]
\artauthor[]{Alfio}[A.]{}{Borz\`i}
\artauthor[]{Georg}[G.]{}{Stadler}
\artauthor[]{Ulrich}[U.]{}{Hohenester}
\pubyear{2002}
\arttitle{Optimal quantum control in nanostructures: Theory and application to
  a generic three-level system}
\journal{Phys. Rev. A}
\volume{66}
\stoppublication

\startpublication[k=Bose2007,t=article,
a={{Bose}},y=2007,o={http://dx.doi.org/10.1080/00107510701342313},
n=3,s=Bos07]
\artauthor[]{Sougato}[S.]{}{Bose}
\pubyear{2007}
\arttitle{Quantum communication through spin chain dynamics: an introductory
  overview}
\journal{Contemporary Physics}
\volume{48}
\issue{1}
\pages{13}
\doi{http://dx.doi.org/10.1080/00107510701342313}
\stoppublication

[-- Attachment #4: Type: text/plain, Size: 486 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
___________________________________________________________________________________

             reply	other threads:[~2010-06-08 15:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-08 15:34 Michael Murphy [this message]
2010-06-08 18:47 ` taco
2010-06-09  9:21   ` Michael Murphy
2010-06-09  9:24     ` Taco Hoekwater
2010-06-09  9:34       ` Michael Murphy
2010-06-09 11:02         ` Taco Hoekwater
2010-06-09 12:31           ` Michael Murphy

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=4C0E6302.90904@uni-ulm.de \
    --to=michael.murphy@uni-ulm.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).