ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nigel King <king@dircon.co.uk>
Subject: Hyperlinks to locations in other documents-repost
Date: Fri, 15 Aug 2003 09:58:39 +0100	[thread overview]
Message-ID: <BB625F52.14768%king@dircon.co.uk> (raw)
In-Reply-To: <BB5E63E7.14245%king@dircon.co.uk>

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Guys,
Sorry to repost this but do the rest of you manage to hyperlink to locations
in other documents successfully, this is a small annoyance which I would
really like to solve.

Best Regards
-- 
Nigel

Hi,
I am trying to get a group of documents to link together. The references to
the other document work but the hyperlinks only open the document on the
first page.

What am I doing wrong?

The linktest1 has links to testdoc2. For those trying them you may need to
change the font part since my fonts are non standard (subject of other
problems).

Key lines from testdoc1.tex are
\useexternaldocument[testdoc][testdoc2][This document is a test link]
\goto{contents}[testdoc::contents]

And key lines from testdoc2.tex are
\page[yes]
\section[contents]{Contents List}

TIA
-- 
Nigel


[-- Attachment #2: testdoc2.aux --]
[-- Type: application/octet-stream, Size: 88 bytes --]

\citation{*}
\bibstyle{cont-no}
\bibdata{/Users/nigelk/Library/texmf/tex/context/Nigel}

[-- Attachment #3: linktest1.tex --]
[-- Type: text/plain, Size: 924 bytes --]

%!iTeXMac(project): contextquick
\setupoutput[pdftex]
\setupcolors[state=start]
\setupinteraction[state=start,color=darkgreen,style=bold]
\usetypescriptfile[adobekb]
\setupencoding [default=8r]
\usetypescript[adobekb][\defaultencoding]
\usetypescript[times][\defaultencoding]
\setupbodyfont[times]

\useexternaldocument[testdoc][testdoc2][This document is a test link]
%\setuptyping[buffer][margin=default]
\startbuffer[test]
The various references are \from[testdoc]. The contents list 
is found on page \from[testdoc::contents]. A description of 
the \goto{contents}[testdoc::contents] is found in 
\from[testdoc]. The contents are described on 
\at{page}[testdoc::contents] in \from[testdoc]. See for more 
information \in{chapter}[testdoc::contents] in \from[testdoc].
\stopbuffer

\starttext
This document tests a hyperlink to another document and its internal references.

\typebuffer[test]

\getbuffer[test]
\stoptext

  parent reply	other threads:[~2003-08-15  8:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-12  8:29 Hyperlinks to locations in other documents Nigel King
2003-08-12 11:11 ` \placefigure[left] aligning with second line Duncan Hothersall
2003-08-12 11:20   ` Duncan Hothersall
2003-08-12 11:31   ` Bill McClain
2003-08-12 14:31     ` \placefigure[left] again! Duncan Hothersall
2003-08-12 14:48       ` Bill McClain
2003-08-12 15:13         ` Duncan Hothersall
2003-08-12 14:33   ` \placefigure[left] aligning with second line Hans Hagen
2003-08-15  8:58 ` Nigel King [this message]
2003-08-15  9:43   ` Hyperlinks to locations in other documents-repost Hans Hagen
2003-08-15 18:29     ` Nigel King
2003-09-03 17:18     ` Patrick Gundlach

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=BB625F52.14768%king@dircon.co.uk \
    --to=king@dircon.co.uk \
    --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).