[pdftex] showkeys-package vs. autoref / hyperref / hypertarge t

Stueker, Dirk dirk.stueker at volkswagen.de
Tue Dec 18 10:22:35 CET 2001


So here is my last piece of code to make hyperlinks visible:

\makeatletter
\@ifpackageloaded{showkeys}{%
  \@ifundefined{SK@@label}{}{%
    \newcommand*{\ORGhyperlink}{}
    \let\ORGhyperlink\hyperlink
    \def\hyperlink#1#2{%
      \ORGhyperlink{#1}{#2}\llap{\ref{#1}}%
    }
  }
}{} \makeatother

The only problem is that the \ref command generates an output
string which overlaps the hyperlink. Perhaps somebody knows how
to make this part "invisible"!?

Bye
Dirk





More information about the pdftex mailing list