[pdftex] Equivalence of hypertarget and toplink

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


Hi,

I'd like to have some navigation buttons visible 
if a page has more than one pauselevel.

I have created two targets on a page
to the first and last build respectively:

    \toptarget{startofpage\roman{foilnumber}}%
    \hypertarget{endofpage\roman{foilnumber}}{}%

and I have to links to those targets:

    %% link to first build of this page
    \toplink{startofpage\roman{foilnumber}}{\fbpsymbol}\hspace{1em}%
    %% link to last build of this page
    \hyperlink{endofpage\roman{foilnumber}}{\lbpsymbol}\hspace{1em}%

I'd like to compare the two for identity,
something along the lines of \pageref{}:

	\ifthenelse{ \equal {startofpage\roman{foilnumber}} 
                            {endofpage\roman{foilnumber}} }
	{
	    \hspace{4em}
	}{
	    \toplink{startofpage\roman{foilnumber}}{\fbpsymbol}\hspace{1em}%
	    \hyperlink{endofpage\roman{foilnumber}}{\lbpsymbol}\hspace{1em}%		
	}

Is there anything I can do ?

So long,
Steffen



--- StripMime Report -- processed MIME parts ---
multipart/signed
  text/plain (text body -- kept)
  application/pgp-signature
---



More information about the pdftex mailing list