I use the great package zref to create my own referencing system. Can I make hyperlinks for pdftex (and tex4ht)?
See the following code. I'd like to make the \showref command clickable, so that I jump to the place where I use the \setdest command. Is this (easily) possible?
\documentclass{article}
\usepackage{zref}
\makeatletter
\zref@newlist{zoo}
\zref@newprop{animal}{\currentanimal}
\zref@addprop{zoo}{animal}
\newcommand\setdest[2]{\def\currentanimal{#2}\zref@labelbylist{#1}{zoo}}
\newcommand\showref[1]{\zref@extract{#1}{animal}}
\makeatother
\begin{document}
\section{My favorite pets}
\setdest{label}{Cat}
See the animal \showref{label}.
\end{document}
