Skip to content

How \label and \ref could work online in Ximera #260

Description

@bartsnapp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions