ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Citations and links
@ 2016-06-13 10:38 Nicola
  2016-06-13 14:29 ` Alan BRASLAU
  0 siblings, 1 reply; 4+ messages in thread
From: Nicola @ 2016-06-13 10:38 UTC (permalink / raw)
  To: ntg-context

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?

Nicola


___________________________________________________________________________________
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] 4+ messages in thread

* Re: Citations and links
  2016-06-13 10:38 Citations and links Nicola
@ 2016-06-13 14:29 ` Alan BRASLAU
  2016-06-13 16:18   ` Nicola
  0 siblings, 1 reply; 4+ messages in thread
From: Alan BRASLAU @ 2016-06-13 14:29 UTC (permalink / raw)
  To: Nicola; +Cc: ntg-context

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.

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
___________________________________________________________________________________

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

* Re: Citations and links
  2016-06-13 14:29 ` Alan BRASLAU
@ 2016-06-13 16:18   ` Nicola
  2016-06-13 17:06     ` Alan BRASLAU
  0 siblings, 1 reply; 4+ messages in thread
From: Nicola @ 2016-06-13 16:18 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* Re: Citations and links
  2016-06-13 16:18   ` Nicola
@ 2016-06-13 17:06     ` Alan BRASLAU
  0 siblings, 0 replies; 4+ messages in thread
From: Alan BRASLAU @ 2016-06-13 17:06 UTC (permalink / raw)
  To: Nicola; +Cc: ntg-context

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
___________________________________________________________________________________

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

end of thread, other threads:[~2016-06-13 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-13 10:38 Citations and links Nicola
2016-06-13 14:29 ` Alan BRASLAU
2016-06-13 16:18   ` Nicola
2016-06-13 17:06     ` Alan BRASLAU

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