-----Ursprüngliche Nachricht----- Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Taco Hoekwater Gesendet: Mittwoch, 28. September 2011 10:58 An: mailing list for ConTeXt users Cc: Hans Hagen; Thomas A. Schmitz Betreff: Re: [NTG-context] Bibliography related questions
On 09/27/2011 07:50 PM, Hans Hagen wrote:
On 22-9-2011 12:03, Christian wrote:
- Can I get hyperlinks working with references in Context ? For example, with Biblatex with a citation and its reference, if I select the authoryear style, then I get : "my citation" (author year). And the reader can click on the year and be redirected to the reference in the bibliography. The year is a hyperlink. Can we get the same behaviour with Context ?
Unfortunately, interaction only works if one uses the default ref-style, with the shitty "[1]". Then this is clickable. Other alternatives like authoryear are NOT clickable.
with \setupcite[compress=no] you should be able to get links with the more complex styles as well.
Yes, you are right. But one has to explicitly specify the styles in that command, i.e: \setupcite[authoryears,authoryear][interaccompress=no] With all that together, I can do all that I need. Here's my modified code from the provided samples: ---------------START OF FILE---------------- \setupbibtex[database=sample,sort=author] \setuppublications[alternative=apa-de,sorttype=bbl,refcommand=authoryear] \setupinteraction[state=start,color=darkgreen,style=normal] \setupcite[authoryears,authoryear][compress=no] \def\textpagecite[#1][#2]% {\cite[alternative=authoryear,extras={, S.\,#2}][#1]} \def\pagecite[#1][#2]% {\cite[alternative=authoryears,extras={, S.\,#2}][#1]} \def\indirectpagecite[#1][#2]% {\cite[alternative=authoryears,left={(vgl. },extras={, S.\,#2}][#1]} \starttext \pagecite[Eijkhout1991][3]\\ \indirectpagecite[Eijkhout1991][3]\\ \textpagecite[Eijkhout1991][3] \page[yes] \placepublications[criterium=all] \stoptext ---------------END OF FILE------------------ Thanks to all those who contributed solving this issue!