* Making bibliography references interactive in mkiv
@ 2011-07-17 17:18 Christian
2011-07-18 2:06 ` Li Yanrui (李延瑞)
0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2011-07-17 17:18 UTC (permalink / raw)
To: mailing list for ConTeXt users
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?
Example:
...lots of text...
You can find more information in [23].
...many more pages of text...
Publications
...
[23] Hoekwater, T. (2006). CONTEXT Publication Module, The user documententation.
...
When clicking on "[23]" in the text, I want to jump right to the [23] entry in the publication list.
Is this possible?
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Making bibliography references interactive in mkiv
2011-07-17 17:18 Making bibliography references interactive in mkiv Christian
@ 2011-07-18 2:06 ` Li Yanrui (李延瑞)
2011-07-18 7:54 ` Christian
0 siblings, 1 reply; 5+ messages in thread
From: Li Yanrui (李延瑞) @ 2011-07-18 2:06 UTC (permalink / raw)
To: mailing list for ConTeXt users
2011/7/18 Christian <metan0r@gmx.de>:
> 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.
--
Best regards,
Li Yanrui
___________________________________________________________________________________
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] 5+ messages in thread
* Re: Making bibliography references interactive in mkiv
2011-07-18 2:06 ` Li Yanrui (李延瑞)
@ 2011-07-18 7:54 ` Christian
2011-07-18 9:08 ` Stefan Müller
0 siblings, 1 reply; 5+ messages in thread
From: Christian @ 2011-07-18 7:54 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
> > 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Making bibliography references interactive in mkiv
2011-07-18 7:54 ` Christian
@ 2011-07-18 9:08 ` Stefan Müller
2011-07-18 12:07 ` Christian
0 siblings, 1 reply; 5+ messages in thread
From: Stefan Müller @ 2011-07-18 9:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
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?
Kind regards,
Stefan
On 18.07.2011 09:54, Christian wrote:
>>> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Making bibliography references interactive in mkiv
2011-07-18 9:08 ` Stefan Müller
@ 2011-07-18 12:07 ` Christian
0 siblings, 0 replies; 5+ messages in thread
From: Christian @ 2011-07-18 12:07 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
[-- 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-07-18 12:07 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-17 17:18 Making bibliography references interactive in mkiv 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 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).