ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nicola <nvitacolonna@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Citations and links
Date: Mon, 13 Jun 2016 18:18:36 +0200	[thread overview]
Message-ID: <njmmct$j4u$1@ger.gmane.org> (raw)
In-Reply-To: <20160613082937.5abda60a@cea.fr>

On 2016-06-13 14:29:37 +0000, Alan BRASLAU said:

> On Mon, 13 Jun 2016 12:38:39 +0200
> Nicola <nvitacolonna@gmail.com> wrote:
> 
>> When I use \cite[Author:2016], the (Author, 2016) in the output is
>> hyperlinked to the reference. But when I use
>> \cite[Author1:2016,Author2:2015], the resulting
>> (Author1, 2016 and Author2, 2015) is not hyperlinked. Is it possible
>> to get hyperlinks in the latter case, too?
> 
> I get multiple hyperlinks for equivalent use.

This is your example adapted to reproduce my problem (I do not
know how to use the buffer in this case, so you have to move the
references into main.bib):

\setupinteraction [state=start]
\setupbibtex[database={main}]
\setuppublications[alternative=apa]

\starttext
\cite[Author1:2016,Author2:2015]
\cite[Author1:2016]
\page
\placepublications[criterium=text]
\stoptext	

Amyway, your example works for me (actually, the layout of the references
turns out even better), so I will switch to using the commands you have
suggested.

Btw, I cannot find any documentation about them in the wiki.

Thanks,
Nicola

> You need to send a MWE.
> In the case of bibliographies, a MWE can include the .bib dataset in a
> buffer, as follows:
> 
> \setupinteraction [state=start]
> \usebtxdefinitions [apa]
> 
> \startbuffer [bib]
> @article{Author1:2016,
>   author={Author1},
>   year=2016,
> }
> @article{Author2:2015,
>   author={Author2},
>   year=2015,
> }
> \stopbuffer
> \usebtxdataset [bib.buffer]
> 
> \starttext
> 
> \cite[Author1:2016,Author2:2015]
> 
> \page
> 
> \placelistofpublications
> 
> \stoptext
> 
> 
> Alan
> ___________________________________________________________________________________ 
> 
> 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
> ___________________________________________________________________________________ 
> 



___________________________________________________________________________________
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:[~2016-06-13 16:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-13 10:38 Nicola
2016-06-13 14:29 ` Alan BRASLAU
2016-06-13 16:18   ` Nicola [this message]
2016-06-13 17:06     ` Alan BRASLAU

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='njmmct$j4u$1@ger.gmane.org' \
    --to=nvitacolonna@gmail.com \
    --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).