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: Jump to page x+5
Date: Fri, 28 Jan 2000 17:22:00 +0100	[thread overview]
Message-ID: <3.0.6.32.20000128172200.00b4e100@pop.wxs.nl> (raw)
In-Reply-To: <Pine.GSO.4.20.0001281110390.8588-100000@cube.amc.uva.nl>

At 11:16 AM 1/28/2000 +0100, Geert Lobbestael (cmb) wrote:
>Hello,
>
>I have an interactive document (journal list) of 200 pages. Chapters are
>by initial letter, chapter titles are in an interactionbar to the right of
>every page. Some chapters / letters are quite large (J = 22 pages).
>
>Is it possible to add buttons or links 'go back 5 pages', 'go forward 5
>pages'?  

\goto {skip ahead} [page(+5)]
\goto {skip back}  [page(-5)]

(or buttons or menus or ...) 

As an alternative, you can say: 

  \setupsubpagenumber[way=perchaptr]

and   

  generate an interactionbar that takes subpagenumbers, or say:

\goto {first} [firstsubpage]
\goto {previous} [previoussubpage]

etc 

(examples can be found in the s-pre-* styles)

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


      reply	other threads:[~2000-01-28 16:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-28 10:16 Geert Lobbestael (cmb)
2000-01-28 16:22 ` Hans Hagen [this message]

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=3.0.6.32.20000128172200.00b4e100@pop.wxs.nl \
    --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).