[NTG-context] Simple document with hyperlinks

2010-10-21 Thread Procházka Lukáš

Hello,

I'm not able to create a document with working hyperlinks in ConTeXt.

The document attached was created in LaTeX - and I'd like to create a similar 
one in ConTeXt:

---
\documentclass{article}
\usepackage{hyperref}
\begin{document}
  This a~label.\label{a-label}
  \newpage
  This is \hyperlink{a-label}{a ref to it}.
\end{document}
---

The document:

- Should be a print version (A4  portrait), but with working hyperlinks.

- I don't need to refer to any section, chapter, page etc. I need to create an anchor, 
a named point in the document, and than to refer to it.

- It's not important whether the clickable area is framed (default in LaTeX) or green 
(which seems to me to be default in ConTeXt; guessing by the last contextref.pdf) or highlighted 
another way. It's just necessary to be working and good if it also changes the default cursor 
appearance from caret to e.g. go to hand.

I believe it's too easy but - how to do it in ConTeXt?

Lukas

t-Hyper.pdf
Description: Adobe PDF document


t-Hyper.tex
Description: TeX document
___
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
___


Re: [NTG-context] Simple document with hyperlinks

2010-10-21 Thread Henning Hraban Ramm

Am 2010-10-21 um 16:06 schrieb Procházka Lukáš:


I'm not able to create a document with working hyperlinks in ConTeXt.


The key command is
\setupinteraction[state=start]

see also e.g.
http://wiki.contextgarden.net/Interaction
http://wiki.contextgarden.net/Reference/en/setupinteraction
http://wiki.contextgarden.net/Reference/en/goto
http://wiki.contextgarden.net/References


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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
___


Re: [NTG-context] Simple document with hyperlinks

2010-10-21 Thread Procházka Lukáš

Thank you, Henning, now I'm able to create a working example.

Lukas



The key command is
\setupinteraction[state=start]

see also e.g.
http://wiki.contextgarden.net/Interaction
http://wiki.contextgarden.net/Reference/en/setupinteraction
http://wiki.contextgarden.net/Reference/en/goto
http://wiki.contextgarden.net/References



___
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
___