| |
---|
| | </common> |
---|
| | </template> |
---|
| | |
---|
| | <!-- |
---|
| | Document subtitle. This template is merely to trap the general apply-templates and prevent the subtitle being output twice. The actual processing of this element is done in the document-title-title template below. |
---|
| | Document subtitle. This template exists only to trap the general apply-templates and prevent the subtitle being output twice. The actual processing of this element (for LaTeX only) is done in the preamble-title template below. |
---|
| | --> |
---|
| | <template name="preamble-subtitle" match="document/subtitle" mode="preamble" /> |
---|
| | |
---|
| | <!-- Document author. This only makes sense for LaTeX. --> |
---|
| |
---|
| | <xsl:apply-templates /> |
---|
| | <!-- If there’s a subtitle, add it to the end of the title. --> |
---|
| | <xsl:if test="/document/subtitle"> |
---|
| | <xsl:text>: </xsl:text> |
---|
| | <xsl:value-of select="/document/subtitle" /> |
---|
| | <xsl:apply-templates select="/document/subtitle" mode="title" /> |
---|
| | </xsl:if> |
---|
| | </h1> |
---|
| | </common> |
---|
| | </template> |
---|
| | |
---|
| | <!-- |
---|
| | Document subtitle. This template is merely to trap the general apply-templates and prevent the subtitle being output twice. The actual processing of this element is done in the document-title template above. |
---|
| | --> |
---|
| | <template name="document-subtitle" match="document/subtitle" /> |
---|
| | Document subtitle. This template exists only to catch any embdedded markup within the subtitle. |
---|
| | --> |
---|
| | <template name="document-subtitle-title" match="document/subtitle" mode="title"> |
---|
| | <common formats="/html/xhtml/"> |
---|
| | <xsl:apply-templates /> |
---|
| | </common> |
---|
| | </template> |
---|
| | |
---|
| | <!-- |
---|
| | This template exists only to trap the general apply-templates and prevent the subtitle being output twice. The actual processing of this element is done in the document-title template above. |
---|
| | --> |
---|
| | <template name="document-subtitle-unmoded" match="document/subtitle" /> |
---|
| | |
---|
| | <!-- Document author. --> |
---|
| | <template name="document-author" match="document/author"> |
---|
| | <common formats="/html/xhtml/"> |
---|
| |
---|
|