summaryrefslogtreecommitdiff
path: root/doc/doc-docbook/MyStyle.xsl
diff options
context:
space:
mode:
authorPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-01 11:01:01 +0000
committerPhilip Hazel <ph10@hermes.cam.ac.uk>2006-02-01 11:01:01 +0000
commit9b3719888275859f10e5a8c6e87a92899abc0d95 (patch)
tree5ffdcf44ce71a8c3c4313c4d5b518a1a5db9be49 /doc/doc-docbook/MyStyle.xsl
parentf8ebba6859de95223d3d3ddc7468bed41057e82d (diff)
Remove Asciidoc versions of the documentation and building apparatus;
replace with xfpt versions.
Diffstat (limited to 'doc/doc-docbook/MyStyle.xsl')
-rw-r--r--doc/doc-docbook/MyStyle.xsl24
1 files changed, 15 insertions, 9 deletions
diff --git a/doc/doc-docbook/MyStyle.xsl b/doc/doc-docbook/MyStyle.xsl
index 78f1cdfe1..0d6bb57ab 100644
--- a/doc/doc-docbook/MyStyle.xsl
+++ b/doc/doc-docbook/MyStyle.xsl
@@ -1,4 +1,4 @@
-<!-- $Cambridge: exim/doc/doc-docbook/MyStyle.xsl,v 1.2 2005/11/10 12:30:13 ph10 Exp $ -->
+<!-- $Cambridge: exim/doc/doc-docbook/MyStyle.xsl,v 1.3 2006/02/01 11:01:01 ph10 Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
@@ -51,18 +51,11 @@ book toc,title
<xsl:param name="hyphenate">false</xsl:param>
-<!--
-Generate only numbers, no titles, in cross references.
--->
+<!-- Generate only numbers, no titles, in cross references. -->
<xsl:param name="xref.with.number.and.title">0</xsl:param>
-<!-- Hopefully this might do something useful? It doesn't seem to. -->
-
-<xsl:param name="fop.extensions" select="1"></xsl:param>
-
-
<!-- Output variable names in italic rather than the default monospace. -->
<xsl:template match="varname">
@@ -77,6 +70,13 @@ Generate only numbers, no titles, in cross references.
</xsl:template>
+<!-- Output function names in italic rather than the default boldface. -->
+
+<xsl:template match="function">
+ <xsl:call-template name="inline.italicseq"/>
+</xsl:template>
+
+
<!-- Output options in bold rather than the default monospace. -->
<xsl:template match="option">
@@ -93,6 +93,12 @@ fiddling with a parameter.
<l:i18n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">
<l:l10n language="en">
+ <!-- Turn the text "Revision History" into nothing, because we only have
+ the info for the latest revision in the file. -->
+
+ <l:gentext key="revhistory" text=""/>
+ <l:gentext key="RevHistory" text=""/>
+
<!-- The default (as modified above) gives us "Chapter xxx" or "Section
xxx", with a capital letter at the start. So we have to make an more
complicated explicit change to give just the number. -->