fix broken varlistentry

This commit is contained in:
Ondrej Vasik 2009-02-11 17:10:08 +00:00
parent 3376b79dbd
commit 819f74d408
2 changed files with 6 additions and 3 deletions

View File

@ -1,6 +1,6 @@
Name: docbook-style-xsl
Version: 1.74.0
Release: 6%{?dist}
Release: 7%{?dist}
Group: Applications/Text
Summary: Norman Walsh's XSL stylesheets for DocBook XML
@ -121,6 +121,9 @@ if [ "$1" = 0 ]; then
fi
%changelog
* Wed Feb 11 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.0-7
- fix broken varlistentry (#479683)
* Mon Feb 02 2009 Ondrej Vasik <ovasik@redhat.com> 1.74.0-6
- fix improper localization for rtl languages, thanks
Muayyad Alsadi(#475077)

View File

@ -33,11 +33,11 @@ diff -ruNp docbook-xsl-1.74.0.orig/fo/lists.xsl docbook-xsl-1.74.0/fo/lists.xsl
+ <xsl:choose>
+ <!-- * work around broken passivetex list-item-body rendering -->
+ <xsl:when test="$passivetex.extensions = '1'">
+ <xsl:apply-templates/>
+ <xsl:apply-templates select="listitem"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <fo:block>
+ <xsl:apply-templates/>
+ <xsl:apply-templates select="listitem"/>
+ </fo:block>
+ </xsl:otherwise>
+ </xsl:choose>