[pdftex] pdfdest question

Heiko Oberdiek oberdiek at uni-freiburg.de
Tue May 3 11:54:24 CEST 2005


On Tue, May 03, 2005 at 04:41:09PM +0930, Geoff Russell wrote:

> But when I click on the link the target is rather too high on the
> page (just out of sight to be precise).

> --------------------------------------start first.tex
> \input pdfcolor.tex
> 
> This is page one.
> \pdfstartlink attr{/Border [0 0 0]} goto name{xxx} \Red `xxxxx'\Black
> \pdfendlink
> 
> \vfill\eject
> This is some stuff. and this is more and more
> and \pdfdest name{xxx} xyz This is page two.
> \bye
> --------------------------------------end first.tex

The position of \pdfdest is the current baseline, raise the \pdfdest, eg.:

\vbox to 0pt{%
  \vss
  \pdfdest name{xxx} xyz\relax
  \vskip\baselineskip
}

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 



More information about the pdftex mailing list