generate.hyperlink

- SourceForge
- Home Page
- Samples

- Reference Contents |
- Download & Install |
- User Guides |
- Notes, E-mail & Bugs |
- Q&A

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

Reference Section

## Name

generate.hyperlink — Choose hyperlink syntax

## 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.

Prev | Up | Next
generate.xref.text | Home | insert.label.markup (in insert.label.markup mode)