Include string_interpret_escape() in COMPILE_UTILITY cases.
[exim.git] / doc / doc-docbook / MyStyle.xsl
index 78f1cdfe1ebb0b7b1610768880231efc8eea529e..c1f741b1f2a2d0d62bbd601d5ea6599ed53c41cc 100644 (file)
@@ -1,5 +1,3 @@
-<!-- $Cambridge: exim/doc/doc-docbook/MyStyle.xsl,v 1.2 2005/11/10 12:30:13 ph10 Exp $ -->
-
 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'>
 
 <!-- This file contains changes to the Docbook XML stylesheets that I want to
@@ -13,6 +11,7 @@ have happen in all forms of output. It is imported by all the drivers. -->
 <!-- Set no relative indent for titles and body -->
 
 <xsl:param name="body.start.indent">0pt</xsl:param>
+<xsl:param name="title.margin.left">0pt</xsl:param>
 
 
 <!-- This removes the dot at the end of run-in titles, which we use
@@ -51,18 +50,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 +69,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 +92,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. -->