[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

I have a navigation bar in the (fancyheadings-)footer,
which has different position/spacing depending on the target 
of the hyperlinks.

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,
and centering causes the cfoot to jump to the left.
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}
    \hyperlink{outline.\arabic{helper}.\arabic{helper2}}{$\nwarrow$}
    %
    %% link to previous page
*   \ifthenelse{ 2 > \value{foilnumber}}%
*   {\setcounter{helper}{\value{foilnumber}}
*     \hyperlink{outline.0.0}{\Pisymbol{psy}{220}}
*   }{\setcounter{helper}{\value{foilnumber}-1}
*     \hyperlink{endofpage\roman{helper}}{\Pisymbol{psy}{220}}
*     }
    %% link to first build of this page
    \toplink{startofpage\roman{foilnumber}}{\ding{115}}
    %% link to last build of this page
    \hyperlink{endofpage\roman{foilnumber}}{\ding{116}}
    %% link to next potentially optional page
*   \ifthenelse{\equal{\pageref{LastPage}}{\thepage}}
*   {\setcounter{helper}{\value{foilnumber}}
*     \hyperlink{outline.0.1}{\Pisymbol{psy}{222}}}
*   { \setcounter{helper}{\value{foilnumber}+1}
*     \hyperlink{endofpage\roman{helper}}{\Pisymbol{psy}{222}}
*     }
    %% link to next uplevel page
    \setcounter{helper}{\value{foillevel}-1}
    \setcounter{helper2}{\value{outline.\arabic{helper}}-0}
    \hyperlink{outline.\arabic{helper}.\arabic{helper2}}{$\nearrow$}    
    }








More information about the pdftex mailing list