# [pdftex] pdfTeX linking by symbolic name

CGvanderLaan at hetnet.nl cgl at hetnet.nl
Tue Apr 16 09:11:38 CEST 2002

I solicit for your comments on the wrap
around plain macro for linking by a symbolic name.

The purpose is to create words' in a line as buttons.
For my purpose at the moment it works, but maybe it
is too simple.

\def\bluepdflink#1#2{%#1 = to be linked item, the button'
%#2 = the link symbolic name
attr{/Border [0 0 0]} goto name{#2}
#1

\pdfdest name{#1} xyz }

Use
...<preceding text>
...<following text>

and on the destination page

...<preceding text>
\bluepdfdest{blu}
...<following text>

The next step will be to measure the first parameter
or simpler, let the user specify these by introducing
a third and fourth parameter
Maybe this should be done in a two-part macro context,
especially when the buttons are not just words.

I wrote a similar wrap around for the PS mark