ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: Reference, zooooming, dante 2002
Date: Thu, 31 Jan 2002 13:18:54 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020131131252.036e2be8@server-1> (raw)
In-Reply-To: <02013111100604.00358@levana>

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 | pragma@wxs.nl
                       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	other threads:[~2002-01-31 12:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-31 10:10 Patrick Gundlach
2002-01-31 12:18 ` Hans Hagen [this message]
2002-01-31 13:58   ` Patrick Gundlach
2002-02-01  8:43     ` Hans Hagen
2002-02-01 10:38       ` Reference, zooooming Patrick Gundlach
2002-02-02 18:52 ` dante 2002 Henning Hraban Ramm
2002-02-03 22:04   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20020131131252.036e2be8@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).