diff options
author | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-06 11:50:51 +0100 |
---|---|---|
committer | Kévin THIERRY <kevin.thierry@open.eurogiciel.org> | 2014-11-06 11:50:51 +0100 |
commit | 14b660c1b43c74e8db2abb51e38e7a1aa38220a2 (patch) | |
tree | f78a8637465b7a4c9624fef03d27eb7aeaa779d4 /fo/spaces.xsl | |
parent | b2d73bee5e123c5e69352a447d4bc318132612d9 (diff) | |
download | docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.gz docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.tar.bz2 docbook-xsl-stylesheets-14b660c1b43c74e8db2abb51e38e7a1aa38220a2.zip |
Imported Upstream version 1.78.1upstream/1.78.1
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 --> |