home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.text.tex
- Path: sparky!uunet!mcsun!Germany.EU.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!sgiblab!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!kowari.cpsg.com.au!als
- From: als@kowari.cpsg.com.au (Anthony Shipman)
- Subject: Re: HyperTeX
- Message-ID: <als.728067825@marloo.kowari.cpsg.com.au>
- Lines: 62
- Sender: news@kowari.cpsg.com.au (USENET News System)
- Nntp-Posting-Host: marloo.cpsg.com.au
- Organization: Computer Power Software Group Pty Ltd
- References: <16B569888.UPP201@rhrz.uni-bonn.de> <1j6g54INNcr8@life.ai.mit.edu> <ALIEN.93Jan18172626@vulcan.essex.ac.uk> <1jqadtINN50f@life.ai.mit.edu>
- Date: Tue, 26 Jan 1993 17:03:45 GMT
-
- bkph@wheat-chex.ai.mit.edu (Berthold K.P. Horn) writes:
- >In article <ALIEN.93Jan18172626@vulcan.essex.ac.uk> alien@essex.ac.uk ("Adrian F Clark") writes:
- > Maybe someone could post definitions for the \specials involved, so
- > that we can consider extending existing previewers in a compatible
- > way.
-
-
- >OK, here is a brief summary of some of the relevant \special's supported
- >by DVIWindo - along with some hype about `electronic publishing' :-*
-
- >(*) Hyper-text buttons are set up using:
-
- >\special{button: <width> <height> <mark> [<file>]}
-
- >This creates a sensitive area of specified width and height, with the
- >lower left corner at TeX's current point. The semantics of this is
- >that if the user clicks the left mouse button in the hypertext button
- >area, viewing is transferred to the corresponding labelled mark
- >(possibily in another DVI file).
-
-
-
- I have my own hypertext-ish dvi browser. Its specials are:
-
-
- \special{hyper button {ht} {dp} {wd} {local <tag>}}
-
- This places a hyper button on the page with the given box dimensions.
-
- The <tag> is expected to be the page number within the current
- document. The number may be in roman or decimal.
-
- The action of the button is to jump to the given page number.
-
- \special{hyper button {ht} {dp} {wd} {jump <tag>}}
-
- The <tag> is expected to be a document name followed by the tag string
- with white space between them. The action of the button is to jump
- to the given document at the page that contains the given tag.
-
- ========
-
- The parameters are designed to be easy to generate from TeX macros. The
- box dimensions come directly from \wd etc. I think it is important to have
- the \dp parameter to cover the descenders in a label. The {} are optional
- braces around a number as for me this makes it easier to write the macros.
-
- The browser draws a thin box around the buttons.
-
- The document, tag string pair is mapped through a database to a dvi file path
- and page number. Hyper jumps can only be to page boundaries in my system.
- The database is generated from the output of auxillary files produced
- while processing the documents.
-
- In the future the document, tag string pair could be replaced by a
- HyTime-like idref.
-
- --
- Anthony Shipman "You've got to be taught before it's too late,
- CP Software Export Pty Ltd, Before you are six or seven or eight,
- 19 Cato St., East Hawthorn, To hate all the people your relatives hate,
- Melbourne, Australia, 3121 You've got to be carefully taught." R&H
-