Suggestions
Search:
 
Next:
menuchoice
Previous:
glossterm
Up:
Inline Elements inline.mod.xsl
Reference Section

Name

keycombo — Process keycombo [2.0.9] elements

Synopsis

<xsl:template match="keycombo">
<xsl:variable name="action" select="@action"/>
<xsl:variable name="joinchar">
			<xsl:choose>
			<xsl:when test="$action='seq'"><xsl:text> </xsl:text></xsl:when>
			<xsl:when test="$action='simul'">+</xsl:when>
			<xsl:when test="$action='press'">--</xsl:when>
			<xsl:when test="$action='click'">--</xsl:when>
			<xsl:when test="$action='double-click'">--</xsl:when>
			<xsl:when test="$action='other'"/>
			<xsl:otherwise>--</xsl:otherwise>
			</xsl:choose>
		</xsl:variable>
  ...
</xsl:template>

A. Description

Formats a key combination using conjugation characters.

B. Pertinent Variables

There are no configuration variables for this template.

D. DocBook Compliance and LaTeX Notes

Templates are applied for all children, with comjugation characters based upon the action attribute.

For “seq” actions, a space character is used. For “simul” actions, a plus sign (+) is used. For “other” actions, no conjugation character is used (children will be abutting). For all other actions, an en-dash is used.