Name
callout (in generate.callout.arearef mode) — Format a callout [2.0.9]'s arearefs
Synopsis
<xsl:template match="callout" mode="generate.callout.arearef">
<xsl:param name="arearef" select="@arearefs"/>
<xsl:param name="area" select="key('id', $arearef)"/>
<xsl:param name="last" select="false()"/>
<xsl:param name="count" select="1"/>
<xsl:variable name="first" select="$count=1"/>
...
</xsl:template>
A. Description
Applies templates in “generate.callout.arearef” mode.
B. Pertinent Variables
There are no configuration variables for this template.
C. Template Parameters
-
arearef
-
The ID of the area [2.0.9] to which a callout [2.0.9]
refers.
-
area
-
The area [2.0.9] object to which a callout [2.0.9]
refers. By default, this searches for a area whose id attribute equals the
arearef parameter.
-
count
-
The position of this reference in the list of references
used by a given callout [2.0.9]. Influences
delimiters for list items.
-
last
-
Whether this area reference is the last one for a given
callout [2.0.9]. Influences delimiters for list
items.
D. DocBook Compliance and LaTeX Notes
Formats a reference for a single arearef. This is performed by
applying templates for the area [2.0.9] in
“generate.area.arearef” mode.
The current node must be a callout [2.0.9].
Uses the “naturalinlinelist” localisation context.