# [OS X TeX] Link to sections inside external files (hyperref, hyper-xr)

Guido Mocken mocken at physik.uni-freiburg.de
Tue Jun 29 07:32:51 EDT 2004

I am trying to create hyperlinks in a pdftex-produced PDF file, that
point to certain sections within another one.

The document being linked to contains:
...
\label{mytarget}
\hypertarget{myothertarget}
...

The code for the one containing the hyperlinks is:

\usepackage{xr-hyper}
\usepackage{hyperref}
\externaldocument[myfile,]{myfilename}
...
...
...
...

All three methods work only up to a point: When I click the link, the
Besides that, the first document is closed after the second is opened.
How can I avoid that from happening?

Update:

While I was writing this,  I noticed that everything works perfectly
when I use Acrobat Reader 5.1 instead of 6.0! Is this a bug, or some
preference setting in v6.0 that I have overlooked?

Guido

-----------------------------------------------------
Post: <mailto:MacOSX-TeX at email.esm.psu.edu>