[pdftex] Strange parameter in hypersetup

Lutz Ihlenburg Ihlenburg at HHI.DE
Tue Jun 12 16:59:56 CEST 2001


On Tuesday, June 12, 2001 1:46 PM, Heiko Oberdiek wrote:

> I hope you have an uptodate hyperref. Then the following should work:
I first had to update to MiKTeX 2.1.
 
> \AtBeginDocument{%
>   \begingroup
>     % initializise \StartPage with the first page
>     \gdef\StartPage{1}%
>     % local assignment of pageref value to counter value
>     \count0=\hypergetpageref{VL6}\relax
>     % if undefined, \hypergetpageref returns zero and
>     % prints a warning
>     \ifnum\count0>0 %
>       \xdef\StartPage{\the\count0}%
>     \fi
>   \endgroup
>   \hypersetup{pdfstartpage={\StartPage}}%
> }
Great. It works! 

Thank You
Lutz Ihlenburg 




More information about the pdftex mailing list