Bug 307001 - Patch docbook-xsl-pagesetup.patch disagrees with Norman Walsh's documentation
Summary: Patch docbook-xsl-pagesetup.patch disagrees with Norman Walsh's documentation
Alias: None
Product: Fedora
Classification: Fedora
Component: docbook-style-xsl
Version: 6
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ondrej Vasik
QA Contact: Fedora Extras Quality Assurance
Depends On: 176766
TreeView+ depends on / blocked
Reported: 2007-09-26 13:55 UTC by Andrea Offermann
Modified: 2007-12-10 20:49 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2007-12-10 11:31:18 UTC

Attachments (Terms of Use)

Description Andrea Offermann 2007-09-26 13:55:03 UTC

The changes provided by docbook-xsl-pagesetup.patch (which is integrated in this
rpm) does disagree with the documentation (doc/fo/header.column.widths.html) of
this version.

In the documentation header.column.width is specified to accept relative values,
but the patch modifies the stylesheet to treat them as procentual values.
Without applying the patch, everything work correct.

If you define relative values i.e. <xsl:param name="header.column.widths">1 1
1</xsl:param> like in the documentation, you get three colums, each 1% when
using the Fedora package - but the behaviour as described in the documentation
and which you get without the patch is to get three colums of 33,3...% (1:1:1).

Comment 1 Andrea Offermann 2007-09-27 11:44:05 UTC
Patch is related to Bug 176766. Maybe this patch is needed by passivetex, but it
does not take effect on other products (I'm using Apache's FOP for example and
it takes effect there).

Comment 2 Ondrej Vasik 2007-12-03 13:53:28 UTC
Thanks for report. I will change the patch to be active only in the case that
passivetex.extensions from param.xsl is set to 1 - as it should be for
passivetex processing of documentation. This should correct the behaviour.

Comment 3 Ondrej Vasik 2007-12-03 16:34:42 UTC
Built in rawhide as docbook-style-xsl-1.73.2-6.fc9 . Could you please check if
it solved your troubles before the port to lower Fedora releases?

Comment 4 Andrea Offermann 2007-12-04 10:30:49 UTC
Tested the package with Fedora 6, it DOES solve my troubles. Thanks. With the
"old" patch the headers looked like:
|I'm 1                |
|a                    |
|header               |

instead of (with the new or without any patch):
|I'm a header       1 |
|                     |

when defined correctly

Comment 5 Fedora Update System 2007-12-06 20:50:32 UTC
docbook-style-xsl-1.73.2-3.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Ondrej Vasik 2007-12-10 11:31:18 UTC
Built as docbook-style-xsl-1.73.2-2.fc7 , will not build update for FC-6, low
priority and EOL, closing NEXTRELEASE. 

Comment 7 Fedora Update System 2007-12-10 20:49:06 UTC
docbook-style-xsl-1.73.2-2.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update docbook-style-xsl'

Note You need to log in before you can comment on or make changes to this bug.