•
Suggestions
Search:

Next:
insert.label.markup (in insert.label.markup mode)
Previous:
generate.xref.text
Up:
Cross References xref.mod.xsl

Synopsis

```<xsl:template name="generate.hyperlink">
<xsl:param name="target"/>
<xsl:param name="text"/>
<xsl:variable name="element" select="local-name(\$target)"/>
<xsl:variable name="citation" select="\$element='biblioentry' or \$element='bibliomixed'"/>
...
</xsl:template>```

A. Description

Will use hyperref, if it is available. Otherwise, just outputs unlinked text. If the destination is a citation, a backreference is emitted (even though it is technically a hyperlink, not a citation). If the 'text' arises from an @endterm, then the 'optional argument' syntax of \cite is used.