The idea is that we would label environments (what about sections?!)
\begin{definition}\label{myDef}
My cool definition.
\end{definition}
and then later, when we \xmref[Name of the definition]{myDef} in PDF, the usual happens, it behaves like \ref and the optional argument is ignored. Online, a drop-down box much like \xmalt shows up, with the name found in the optional argument (maybe not optional) and drops down with the contents of the environment. In our case it would be
"My cool definition."
And this would provide a link to the environment.
Not sure how this works with sections.
The idea is that we would label environments (what about sections?!)
and then later, when we \xmref[Name of the definition]{myDef} in PDF, the usual happens, it behaves like \ref and the optional argument is ignored. Online, a drop-down box much like \xmalt shows up, with the name found in the optional argument (maybe not optional) and drops down with the contents of the environment. In our case it would be"My cool definition."
And this would provide a link to the environment.
Not sure how this works with sections.