version 1.1.1.1, 2001/10/02 11:16:56 |
version 1.2, 2002/09/11 07:26:42 |
|
|
|
|
%% labels and symbolic cross-refs. For this we use the parameter to |
%% labels and symbolic cross-refs. For this we use the parameter to |
%% build the symbolic pdf destination. |
%% build the symbolic pdf destination. |
|
\@ifundef{pdfstartlink}{\global\let\pdfstartlink\pdfannotlink}{} |
\def\label#1{\immediate\write\aux{\string |
\def\label#1{\immediate\write\aux{\string |
\newlabel{#1}{{\the\chapno}{\currentlabel}}} |
\newlabel{#1}{{\the\chapno}{\currentlabel}}} |
\pdfdest name {pdf@lab#1} xyz} |
\pdfdest name {pdf@lab#1} xyz} |
|
|
{\edef\@temp{\csname r@#1\endcsname}% |
{\edef\@temp{\csname r@#1\endcsname}% |
\def\lbl{\@ref}\def\chp{\@cref}% |
\def\lbl{\@ref}\def\chp{\@cref}% |
\pdfjumpref{#1}{\ifx\chp{\the\chapno}\lbl\else\chp.\lbl\fi}}} |
\pdfjumpref{#1}{\ifx\chp{\the\chapno}\lbl\else\chp.\lbl\fi}}} |
\def\pdfjumpref#1#2{\pdfannotlink attr {/Border [ 0 0 0 ] /H /O} |
\def\pdfjumpref#1#2{\pdfstartlink attr {/Border [ 0 0 0 ] /H /O} |
goto name {pdf@lab#1}\pushcolor{\linkcolor}#2\popcolor\pdfendlink} |
goto name {pdf@lab#1}\pushcolor{\linkcolor}#2\popcolor\pdfendlink} |
|
|
\catcode`\@=12 |
\catcode`\@=12 |