Hi,

I'd like to have some navigation buttons visible 
if (and only 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} % Display nothing
        }{
            % display links to first and last build respectively:
            \toplink{startofpage\roman{foilnumber}}{first}\hspace{1em}%
            \hyperlink{endofpage\roman{foilnumber}}{last }\hspace{1em}%
        }

Is there anything I can do? 

So long,
Steffen


Reply via email to