[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pdf cross-linked document
From: |
Athanasios Valais |
Subject: |
pdf cross-linked document |
Date: |
Fri, 01 Mar 2002 12:19:48 +1100 |
Re: pdf cross-linked document
I needed a way of emulating html intra-document
linking in lout. I used the following macros
which I found to be suitable:
def @Link left LinkDest right label
{
{
"["
"/Rect [ 0 0 xsize ysize ]"
"/Border [ 0 0 0 ]"
"/Color [ 0 0 0 ]"
"/Dest /"LinkDest""
"/Subtype /Link"
"/ANN pdfmark"
address@hidden @Colour @Underline {label}}
}
def @Target left LinkDest right label
{
{
"["
"/Dest /"LinkDest""
"/View [ /Fit ]"
"/DEST pdfmark"
address@hidden
}
Which are invoked by ...
This is a link to: address@hidden
This is target: address@hidden
... as seen in the example at:
http://www.fishtree.net/pdf/link.pdf [17kB]
What do people think of building a common library
of useful pdf macros for lout?
Regards,
Arthur
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- pdf cross-linked document,
Athanasios Valais <=