From: Alan BRASLAU <alan.braslau@cea.fr>
To: Nicola <nvitacolonna@gmail.com>
Cc: ntg-context@ntg.nl
Subject: Re: Citations and links
Date: Mon, 13 Jun 2016 11:06:46 -0600 [thread overview]
Message-ID: <20160613110646.42d75f32@cea.fr> (raw)
In-Reply-To: <njmmct$j4u$1@ger.gmane.org>
Hello,
You were/are using the old (mkii) bibliography system that depends on
bibtex. It has been replaced in mkiv by a new system no-longer using
the bibtex binary and does everything in lua. The wiki is outdated on
this subject and the new manual is almost/essentially finished.
Alan
On Mon, 13 Jun 2016 18:18:36 +0200
Nicola <nvitacolonna@gmail.com> wrote:
> 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
___________________________________________________________________________________
prev parent reply other threads:[~2016-06-13 17:06 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
2016-06-13 17:06 ` Alan BRASLAU [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=20160613110646.42d75f32@cea.fr \
--to=alan.braslau@cea.fr \
--cc=ntg-context@ntg.nl \
--cc=nvitacolonna@gmail.com \
/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).