ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hyperlinks to locations in other documents
@ 2003-08-12  8:29 Nigel King
  2003-08-12 11:11 ` \placefigure[left] aligning with second line Duncan Hothersall
  2003-08-15  8:58 ` Hyperlinks to locations in other documents-repost Nigel King
  0 siblings, 2 replies; 12+ messages in thread
From: Nigel King @ 2003-08-12  8:29 UTC (permalink / raw)


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

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2003-09-03 17:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` Hyperlinks to locations in other documents-repost Nigel King
2003-08-15  9:43   ` Hans Hagen
2003-08-15 18:29     ` Nigel King
2003-09-03 17:18     ` Patrick Gundlach

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).