ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hypertarget and hyperlink in ConTeXt?
@ 2019-08-28 11:40 Jon Wong
  2019-08-28 13:14 ` Henning Hraban Ramm
  2019-09-01  4:36 ` Jon Wong
  0 siblings, 2 replies; 4+ messages in thread
From: Jon Wong @ 2019-08-28 11:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 275 bytes --]

Hi all,

Any way to do hypertarget and hyperlink in ConTeXt?

From https://www.contextgarden.net/Command/textreference: <https://www.contextgarden.net/Command/textreference:> I see that the name of the anchor is also the displayed text (“houses”).

Regards
Jon


[-- Attachment #1.2: Type: text/html, Size: 698 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hypertarget and hyperlink in ConTeXt?
  2019-08-28 11:40 hypertarget and hyperlink in ConTeXt? Jon Wong
@ 2019-08-28 13:14 ` Henning Hraban Ramm
  2019-09-01  4:36 ` Jon Wong
  1 sibling, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2019-08-28 13:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 2019-08-28 um 13:40 schrieb Jon Wong <jhannwong@gmail.com>:
> 
> Hi all,
> 
> Any way to do hypertarget and hyperlink in ConTeXt?
> 
> From https://www.contextgarden.net/Command/textreference: I see that the name of the anchor is also the displayed text (“houses”).

\setupinteraction[state=start] is essential.

ToC, footnotes and other references then work without further setup (you migt want to change the colors in \setupinteraction).

Otherwise, look for \at, \in, \about, \goto and ask more specifically if you need further help.

Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hypertarget and hyperlink in ConTeXt?
  2019-08-28 11:40 hypertarget and hyperlink in ConTeXt? Jon Wong
  2019-08-28 13:14 ` Henning Hraban Ramm
@ 2019-09-01  4:36 ` Jon Wong
  2019-09-01  8:23   ` Henning Hraban Ramm
  1 sibling, 1 reply; 4+ messages in thread
From: Jon Wong @ 2019-09-01  4:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 607 bytes --]

Hi all,

I’m having trouble getting \textreference to show up.

MWE:

\starttext

\textreference[bleh]{\bf Ref One}.

\page

\textreference[blah]{\bf Ref Two}.

\at[bleh].

\at[blah].

\stoptext


Regards
Jon


> On Aug 28, 2019, at 7:40 PM, Jon Wong <jhannwong@gmail.com> wrote:
> 
> Hi all,
> 
> Any way to do hypertarget and hyperlink in ConTeXt?
> 
> From https://www.contextgarden.net/Command/textreference: <https://www.contextgarden.net/Command/textreference:> I see that the name of the anchor is also the displayed text (“houses”).
> 
> Regards
> Jon
> 


[-- Attachment #1.2: Type: text/html, Size: 1989 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: hypertarget and hyperlink in ConTeXt?
  2019-09-01  4:36 ` Jon Wong
@ 2019-09-01  8:23   ` Henning Hraban Ramm
  0 siblings, 0 replies; 4+ messages in thread
From: Henning Hraban Ramm @ 2019-09-01  8:23 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 2019-09-01 um 06:36 schrieb Jon Wong <jhannwong@gmail.com>:
> 
> Hi all,
> 
> I’m having trouble getting \textreference to show up.

See https://wiki.contextgarden.net/Command/textreference:

"Creates an **invisible**, referencable anchor text on the page"


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-09-01  8:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-28 11:40 hypertarget and hyperlink in ConTeXt? Jon Wong
2019-08-28 13:14 ` Henning Hraban Ramm
2019-09-01  4:36 ` Jon Wong
2019-09-01  8:23   ` Henning Hraban Ramm

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).