diff options
Diffstat (limited to 'manpages')
-rw-r--r-- | manpages/lists.xsl | 13 | ||||
-rw-r--r-- | manpages/utility.xsl | 10 |
2 files changed, 19 insertions, 4 deletions
diff --git a/manpages/lists.xsl b/manpages/lists.xsl index dd90174..d5ee7a8 100644 --- a/manpages/lists.xsl +++ b/manpages/lists.xsl @@ -3,7 +3,7 @@ version='1.0'> <!-- ******************************************************************** - $Id: lists.xsl 8530 2009-11-02 02:38:47Z dleidert $ + $Id: lists.xsl 9684 2012-12-12 17:05:54Z bobstayton $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. @@ -52,6 +52,7 @@ </xsl:template> <xsl:template match="variablelist|glosslist"> + <xsl:text> </xsl:text> <xsl:if test="title"> <xsl:text>.PP </xsl:text> <xsl:call-template name="bold"> @@ -177,6 +178,16 @@ <xsl:text>.RE </xsl:text> </xsl:template> +<xsl:template match="orderedlist/listitem/title| + procedure/step/title"> + <xsl:call-template name="bold"> + <xsl:with-param name="node" select="."/> + <xsl:with-param name="context" select=".."/> + </xsl:call-template> + <xsl:text> </xsl:text> + <xsl:text>.PP </xsl:text> +</xsl:template> + <xsl:template match="orderedlist/listitem|procedure/step"> <xsl:text> </xsl:text> <xsl:text>.sp</xsl:text> diff --git a/manpages/utility.xsl b/manpages/utility.xsl index 26a7513..c0082fc 100644 --- a/manpages/utility.xsl +++ b/manpages/utility.xsl @@ -7,7 +7,7 @@ version='1.0'> <!-- ******************************************************************** - $Id: utility.xsl 8236 2009-02-09 17:44:52Z xmldoc $ + $Id: utility.xsl 9703 2013-01-07 20:13:05Z bobstayton $ ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. @@ -63,8 +63,11 @@ </xsl:template> <xsl:template name="inline.monoseq"> + <xsl:param name="content"> + <xsl:apply-templates/> + </xsl:param> <xsl:call-template name="code-inline-start"/> - <xsl:apply-templates/> + <xsl:copy-of select="$content"/> <xsl:call-template name="code-inline-end"/> </xsl:template> @@ -286,6 +289,7 @@ self::address or self::literallayout or self::programlisting or + self::synopsis or self::screen or self::table or self::informaltable @@ -302,7 +306,7 @@ or following-sibling::node()[1][self::processing-instruction()] "> <xsl:if test="normalize-space($content) != '' - or concat(normalize-space($content), ' ') = ' '"> + or concat(normalize-space($content), ' ') != ' '"> <xsl:text> </xsl:text> </xsl:if> </xsl:if> |