- Avoid proportional-column-width for passivetex (bug ).

This commit is contained in:
Tim Waugh 2006-01-03 13:47:31 +00:00
parent e83350d3e4
commit 859d76af95
2 changed files with 79 additions and 0 deletions

View File

@ -22,6 +22,7 @@ Source0: http://prdownloads.sourceforge.net/docbook/docbook-xsl-%{version}.tar.b
Source1: %{name}.Makefile
Source2: http://prdownloads.sourceforge.net/docbook/docbook-xsl-doc-%{version}.tar.bz2
Patch1: docbook-xsl-pagesetup.patch
Patch2: docbook-xsl-marginleft.patch
@ -35,6 +36,7 @@ other formats, such as HTML, FO, and XHMTL. They are highly customizable.
pushd ..
tar jxf %{SOURCE2}
popd
%patch1 -p1 -b .pagesetup
%patch2 -p1 -b .marginleft
cp %{SOURCE1} Makefile
for f in $(find -name "*'*")
@ -94,6 +96,9 @@ CATALOG=/etc/xml/catalog
%changelog
* Tue Jan 3 2006 Tim Waugh <twaugh@redhat.com>
- Avoid proportional-column-width for passivetex (bug #176766).
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt

View File

@ -0,0 +1,74 @@
--- docbook-xsl-1.69.1/fo/pagesetup.xsl.orig 2005-12-10 14:08:28.000000000 -0600
+++ docbook-xsl-1.69.1/fo/pagesetup.xsl 2006-01-01 19:49:28.000000000 -0600
@@ -1491,32 +1491,29 @@
<fo:table-column column-number="1">
<xsl:attribute name="column-width">
- <xsl:text>proportional-column-width(</xsl:text>
<xsl:call-template name="header.footer.width">
<xsl:with-param name="location">header</xsl:with-param>
<xsl:with-param name="position" select="$column1"/>
</xsl:call-template>
- <xsl:text>)</xsl:text>
+ <xsl:text>%</xsl:text>
</xsl:attribute>
</fo:table-column>
<fo:table-column column-number="2">
<xsl:attribute name="column-width">
- <xsl:text>proportional-column-width(</xsl:text>
<xsl:call-template name="header.footer.width">
<xsl:with-param name="location">header</xsl:with-param>
<xsl:with-param name="position" select="2"/>
</xsl:call-template>
- <xsl:text>)</xsl:text>
+ <xsl:text>%</xsl:text>
</xsl:attribute>
</fo:table-column>
<fo:table-column column-number="3">
<xsl:attribute name="column-width">
- <xsl:text>proportional-column-width(</xsl:text>
<xsl:call-template name="header.footer.width">
<xsl:with-param name="location">header</xsl:with-param>
<xsl:with-param name="position" select="$column3"/>
</xsl:call-template>
- <xsl:text>)</xsl:text>
+ <xsl:text>%</xsl:text>
</xsl:attribute>
</fo:table-column>
@@ -1812,32 +1809,29 @@
</xsl:call-template>
<fo:table-column column-number="1">
<xsl:attribute name="column-width">
- <xsl:text>proportional-column-width(</xsl:text>
<xsl:call-template name="header.footer.width">
<xsl:with-param name="location">footer</xsl:with-param>
<xsl:with-param name="position" select="$column1"/>
</xsl:call-template>
- <xsl:text>)</xsl:text>
+ <xsl:text>%</xsl:text>
</xsl:attribute>
</fo:table-column>
<fo:table-column column-number="2">
<xsl:attribute name="column-width">
- <xsl:text>proportional-column-width(</xsl:text>
<xsl:call-template name="header.footer.width">
<xsl:with-param name="location">footer</xsl:with-param>
<xsl:with-param name="position" select="2"/>
</xsl:call-template>
- <xsl:text>)</xsl:text>
+ <xsl:text>%</xsl:text>
</xsl:attribute>
</fo:table-column>
<fo:table-column column-number="3">
<xsl:attribute name="column-width">
- <xsl:text>proportional-column-width(</xsl:text>
<xsl:call-template name="header.footer.width">
<xsl:with-param name="location">footer</xsl:with-param>
<xsl:with-param name="position" select="$column3"/>
</xsl:call-template>
- <xsl:text>)</xsl:text>
+ <xsl:text>%</xsl:text>
</xsl:attribute>
</fo:table-column>