diff options
Diffstat (limited to 'fo/spaces.xsl')
-rw-r--r-- | fo/spaces.xsl | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/fo/spaces.xsl b/fo/spaces.xsl index d34c9cd..dc3a71a 100644 --- a/fo/spaces.xsl +++ b/fo/spaces.xsl @@ -4,7 +4,7 @@ version='1.0'> <!-- ******************************************************************** - $Id: spaces.xsl 8121 2008-09-13 17:21:11Z mzjn $ + $Id: spaces.xsl 9647 2012-10-26 17:42:03Z bobstayton $ ******************************************************************** XSL-FO specification treats all space characters like ordinary spaces. We need to map them to fo:leader with different widths in order to @@ -12,23 +12,10 @@ ******************************************************************** --> <xsl:template match="text()[namespace-uri(..) = '' or - namespace-uri(..) = 'http://docbook.org/ns/docbook']"> - <xsl:choose> - <xsl:when test="$passivetex.extensions != 0"> - <xsl:call-template name="passivetex.dash.subst"> - <xsl:with-param name="string"> - <xsl:call-template name="space.2000.subst"> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - </xsl:with-param> - </xsl:call-template> - </xsl:when> - <xsl:otherwise> - <xsl:call-template name="space.2000.subst"> - <xsl:with-param name="string" select="."/> - </xsl:call-template> - </xsl:otherwise> - </xsl:choose> + namespace-uri(..) = 'http://docbook.org/ns/docbook']"> + <xsl:call-template name="space.2000.subst"> + <xsl:with-param name="string" select="."/> + </xsl:call-template> </xsl:template> <xsl:param name="space.enquad.width">0.5em</xsl:param> <!-- U+2000 --> |