[pdftex] Interdocument links PDF to PDF

Andreas Matthias amat at kabsi.at
Sun Jun 1 17:13:37 CEST 2003


Laurent Siebenmann <Laurent.Siebenmann at math.u-psud.fr> wrote:

> It seems reasonable to use PDF hyperlinks between
> related PDF files.  The PDF files will be located
> alongside of one another (all in one directory) but
> the directory will be moved.
> 
> I seek the relevant *primitive* pdftex commands since
> I'll be building my own little format for this job.

The primitive is called \pdfannot. Here is an example:

\newbox\abox
\setbox\abox\hbox{click}
\hskip0pt
\pdfannot width \wd\abox
          height \ht\abox
          depth \dp\abox
          {/Subtype /Link /Border [0 0 1]
           /A << /S /GoToR
                 /F (test.pdf)
                 /D [3 /Fit]
                 /NewWindow true >>}\box\abox

\bye


Take a look at the PDF Reference, too:
http://partners.adobe.com/asn/developer/acrosdk/docs.html#filefmtspecs

Ciao
Andreas



More information about the pdftex mailing list