ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Christian" <metan0r@gmx.de>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Re: Making bibliography references interactive in mkiv
Date: Mon, 18 Jul 2011 14:07:28 +0200	[thread overview]
Message-ID: <006f01cc4543$46826da0$d38748e0$@gmx.de> (raw)
In-Reply-To: <4E23F812.3040106@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 2362 bytes --]

> I have \setupinteraction[state=start] in my mkiv-document and get clickable
> links (they are displayed in green) for all my \cite.  Those links bring me to the
> correct bibliography page.  Could you please provide a minimal example
> that's not working on your machine?

Yes, of course.
Please find attached: example.mkiv (the document) and the corresponding example.bib.

BTW: It seems that "alternative=apa" causes this problem. Found it while constructing the example.
So the question is: Why is the functionality lost, when using another cite style?


> >>> Hello list,
> >>> I'm currently using the built in bib-module in mkiv together with a
> >>> bib
> >> database file.
> >>> How can I set it up so that clicking on a reference takes me to the
> >> corresponding entry in the publication list?
> >>
> >> maybe '\setupinteraction[state=start, focus=standard]' can help you.
> >
> > That's not working for \cite, I'm afraid.
> > Wiki says about setupinteraction[state=start]:
> > "This makes all links generated with the \goto command (and indirectly the
> \in and \at commands) clickable."
> >
> > I don't know enough about the inner mechanism of the cite command,
> > maybe it's possible to define a custom command that uses goto.
> >
> >
> __________________________________________________________
> ____________
> > _____________ 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
> __________________________________________________________
> _________________________

[-- Attachment #2: example.bib --]
[-- Type: application/octet-stream, Size: 570 bytes --]

@STRING{hh = {Hans Hagen}}

@ARTICLE{hh2010a,
  author = hh,
  title = {The Font Name Mess},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {2-8},
  keywords = {context},
}

@ARTICLE{hh2010b,
  author = hh,
  title = {Grouping in Hybrid Environments},
  journal = {MAPS},
  year = {2010},
  volume = {40},
  pages = {67-71},
  keywords = {context},
}

@BOOK{Eijkhout1991,
  title = {\TeX\ by Topic. A \TeX nician's Reference},
  publisher = {Addison-Wesley},
  year = {1991},
  author = {Victor Eijkhout},
  address = {London},
  keywords = {general},
}

[-- Attachment #3: example.mkiv --]
[-- Type: application/octet-stream, Size: 237 bytes --]

\setupbibtex[database=example]
\setuppublications[alternative=apa]
\setupinteraction[state=start]
\starttext
We are testing interactive citation, as described in \cite[hh2010a].
\page
\placepublications[criterium=all]
\stoptext

[-- Attachment #4: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2011-07-18 12:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-17 17:18 Christian
2011-07-18  2:06 ` Li Yanrui (李延瑞)
2011-07-18  7:54   ` Christian
2011-07-18  9:08     ` Stefan Müller
2011-07-18 12:07       ` Christian [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='006f01cc4543$46826da0$d38748e0$@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).