From: "Christian" <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Bibliography related questions
Date: Tue, 4 Oct 2011 19:17:20 +0200 [thread overview]
Message-ID: <003b01cc82b9$79e911e0$6dbb35a0$@gmx.de> (raw)
In-Reply-To: <4E82E18C.3060009@elvenkind.com>
> -----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!
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2011-10-04 17:17 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 9:48 Alexandre Krispin
2011-09-22 10:03 ` Christian
2011-09-22 15:56 ` Stefan Müller
2011-09-22 21:54 ` Christian
2011-09-27 17:50 ` Hans Hagen
2011-09-28 8:57 ` Taco Hoekwater
2011-10-04 17:17 ` Christian [this message]
2011-09-22 21:58 ` Pontus Lurcock
2011-09-23 7:58 ` Alexandre Krispin
2011-09-23 9:17 ` Pontus Lurcock
2011-09-23 16:04 ` Christian
2011-09-24 0:26 ` Pontus Lurcock
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='003b01cc82b9$79e911e0$6dbb35a0$@gmx.de' \
--to=metan0r@gmx.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).