| |
---|
| | |
---|
| | <!-- Menu item separator (either ▹ or →). --> |
---|
| | |
---|
| | <template name="menu-separator" match="menu-separator|menusep|menu/separator"> |
---|
| | <common formats="/latex/xelatex/"> \ensuremath{\triangleright} </common> |
---|
| | <common formats="/latex/xelatex/"><xsl:text> \ensuremath{\triangleright} </xsl:text></common> |
---|
| | <!-- Need spaces for HTML as they seem to get munched otherwise. --> |
---|
| | <!-- Note: no equivalent of \triangleright in HTML, use right arrow instead. --> |
---|
| | <html><xsl:text disable-output-escaping="yes"> &rarr; </xsl:text></html> |
---|
| | <!-- U+25B9 WHITE RIGHT-POINTING SMALL TRIANGLE --> |
---|
| |
---|
| | |
---|
| | <!-- Individual menu items. --> |
---|
| | |
---|
| | <template name="menu-item" match="menu/item"> |
---|
| | <common formats="/latex/xelatex/">\textbf{<xsl:apply-templates />}</common> |
---|
| | <common formats="/latex/xelatex/"> |
---|
| | <xsl:text>\textbf{</xsl:text> |
---|
| | <xsl:apply-templates /> |
---|
| | <xsl:text>}</xsl:text> |
---|
| | </common> |
---|
| | <common formats="/html/xhtml/"><b><xsl:apply-templates /></b></common> |
---|
| | </template> |
---|
| | |
---|
| | </stylesheet> |
---|
|