# [pdftex] Different Space Requirement of hyperref ?

Steffen Neumann sneumann at TechFak.Uni-Bielefeld.DE
Sun Jun 1 17:13:37 CEST 2003

```Hi,

I have a minor annoyance with, I think, pdflatex & hyperref,
System is SuSe Linux with tetex from source teTeX-src-beta-20001218
with pdfTeX from source, Version 3.14159-1.00a-pretest-20010806

Problem does not appear with an earlier (stock) version
from Suse7.0 / tetex 1.0.7 / pdflatex 0.13d

which has different position/spacing depending on the target

An example document can be found at the following address,
the problem is between the last & second last page:
the right arrow is wider on the last slide,
http://www.techfak.uni-bielefeld.de/~sneumann/pdflatex.ruetli_talk.pdf

The footer command looks a bit complex,
since I allow navigation through a tree-like structure,
and there are two ifthenelse constructs for walking forward/backward
(marked with *), but I'd say that both cases have the same space requirements
and only differ in the target. Both targets are set automagically.

Are there any obvious things I missed ?
What are the first things to check ?
Is there a known problem with either hyperref
or the beta-pdflatex, and is it fixed now ?

Providing a stripped-down-single-file Version of the bug
is a bit of hassle, but if needed I'll try to do it, please ask.

Thanks for any help,
yours,
Steffen

\hypertarget{endofpage\roman{foilnumber}}{}%
\hypertarget{outline.\arabic{foillevel}.\arabic{outline.\arabic{foillevel}}}{}%
\renewcommand{\thecfoot}{
%% link to previous uplevel page
\setcounter{helper}{\value{foillevel}-1}
\setcounter{helper2}{\value{outline.\arabic{helper}}-1}
%
*   \ifthenelse{ 2 > \value{foilnumber}}%
*   {\setcounter{helper}{\value{foilnumber}}
*   }{\setcounter{helper}{\value{foilnumber}-1}
*     }
%% link to next potentially optional page
*   \ifthenelse{\equal{\pageref{LastPage}}{\thepage}}
*   {\setcounter{helper}{\value{foilnumber}}
*   { \setcounter{helper}{\value{foilnumber}+1}
*     }
%% link to next uplevel page
\setcounter{helper}{\value{foillevel}-1}
\setcounter{helper2}{\value{outline.\arabic{helper}}-0}