* Interactive URL's and Acronyms
@ 2012-09-07 15:58 Markus Hubig
2012-09-07 16:34 ` Wolfgang Schuster
0 siblings, 1 reply; 3+ messages in thread
From: Markus Hubig @ 2012-09-07 15:58 UTC (permalink / raw)
To: ConTeXt ML
Hi @all,
how do I get clickable/interactiv URLs and acronyms. After reading
the manual I thought just setting
| \setupinteraction
| [state=start, color=black, contrastcolor=black, style=normal]
| \definesynonyms [acronym] [acronyms] [\infull]
| \setupsynonyms [acronym] [criterium=all]
would be enough. But it's not... what I am missing here?
I'm using
| ConTeXt ver: 2012.09.06 23:03 MKIV fmt: 2012.9.7 int: english/english
Cheers, Markus
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Interactive URL's and Acronyms
2012-09-07 15:58 Interactive URL's and Acronyms Markus Hubig
@ 2012-09-07 16:34 ` Wolfgang Schuster
2012-09-07 20:39 ` Markus Hubig
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2012-09-07 16:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 07.09.2012 um 17:58 schrieb Markus Hubig <mhubig@gmail.com>:
> Hi @all,
>
> how do I get clickable/interactiv URLs and acronyms. After reading
> the manual I thought just setting
>
> | \setupinteraction
> | [state=start, color=black, contrastcolor=black, style=normal]
> | \definesynonyms [acronym] [acronyms] [\infull]
> | \setupsynonyms [acronym] [criterium=all]
>
> would be enough. But it's not... what I am missing here?
There are different ways to create a hyperlink to a website, e.g.
\setupinteraction[state=start]
\useurl[NASA][http://www.nasa.gov]
\starttext
\from[NASA]
\goto{NASA}[url(http://www.nasa.gov)]
\stoptext
but I have no idea why you need hyperlinks for a synonym.
\setupinteraction[state=start]
\abbreviation{NASA}{National Aeronautics and Space Administration}
\starttext
\NASA
\infull{NASA}
\stoptext
BTW: Use another name to show the full text for your acronyms (e.g. \fullacronym) because \infull
is used to show the text of the predefined \abbreviation command.
Wolfgang
___________________________________________________________________________________
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] 3+ messages in thread
* Re: Interactive URL's and Acronyms
2012-09-07 16:34 ` Wolfgang Schuster
@ 2012-09-07 20:39 ` Markus Hubig
0 siblings, 0 replies; 3+ messages in thread
From: Markus Hubig @ 2012-09-07 20:39 UTC (permalink / raw)
To: ntg-context
On Fri, Sep 07, 2012 at 06:34:04PM +0200, Wolfgang Schuster wrote:
> Am 07.09.2012 um 17:58 schrieb Markus Hubig <mhubig@gmail.com>:
>
> > how do I get clickable/interactiv URLs and acronyms. After reading
> > the manual I thought just setting
> >
> > | \setupinteraction
> > | [state=start, color=black, contrastcolor=black, style=normal]
> > | \definesynonyms [acronym] [acronyms] [\infull]
> > | \setupsynonyms [acronym] [criterium=all]
> >
> > would be enough. But it's not... what I am missing here?
>
> There are different ways to create a hyperlink to a website, e.g.
>
> \setupinteraction[state=start]
> \useurl[NASA][http://www.nasa.gov]
> \starttext
> \from[NASA]
> \goto{NASA}[url(http://www.nasa.gov)]
> \stoptext
Ahh thanks \from[] is what I need!
> but I have no idea why you need hyperlinks for a synonym.
Because I have a \placelistofacronyms in the backmatter of my document
and it I click on a Acronym I wanna get there easily ...
> \setupinteraction[state=start]
> \abbreviation{NASA}{National Aeronautics and Space Administration}
> \starttext
> \NASA
> \infull{NASA}
> \stoptext
This dosen't work here ...
Thanks for your help, Markus
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2012-09-07 20:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-07 15:58 Interactive URL's and Acronyms Markus Hubig
2012-09-07 16:34 ` Wolfgang Schuster
2012-09-07 20:39 ` Markus Hubig
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).