At 11:10 AM 1/31/2002 +0100, Patrick Gundlach wrote:

>Hi,
>
>I would like to have something like this (*...* means hyperlink)
>
>... There are also some *stupid* things.
>
>\section[msword]{MS Word 293.0}
>bla bla...
>
>so the stupid should point to the section [msword] but not mention the
>title. (So I cannot use \about[....]) Perhaps ...\about[msword]{stupid}
>things. ?!?

\defineactivecharacter * {\stupidgoto}

\def\stupidgoto#1*{\goto{#1}[#1]}

\setupinteraction[state=start]

\starttext

\chapter[xxx]{xxx} test *yyy* test
\chapter[yyy]{yyy} test *xxx* test

\stoptext

>And, one other thing (I think, tat this is an faq and could be written in a
>faq document)
>
>How can I keep the zoom factor when clicking on a hyperlink with the
>destination in the same document? LaTeX/hyperref can do this :)

\setupinteracion[focus=fit|width|height|standard]

but keep in mind that

(1) context uses a rather different method for handling hyperrefs (which 
was one reason why stacked hyperlinks could be used right from the start)

(2) not all pdf annots support the view specification

[btw, some day i will cook up a robust alternative for views, independent 
of (changing) viewer behavior.]

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-pod.nl
-------------------------------------------------------------------------

Reply via email to