Your message dated Thu, 17 Nov 2011 16:02:16 +0000
with message-id <[email protected]>
and subject line Bug#620556: fixed in docbook-xsl 1.76.1+dfsg-1
has caused the Debian Bug report #620556,
regarding fo output is incorrect for segmented lists with more than one 
<segtitle>
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
620556: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620556
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: docbook-xsl
Version: 1.75.2+dfsg-5
Severity: normal
Tags: patch

  Docbook segmented lists are lists in which each element has one or
more "segments".  For instance, a synopsis of commands might look like
this:

Name: ls
Usage: ls [options] PATH ...
Description: List directory contents or file information

  The FO output template for docbook appears to generate tabular output
in this case, with one column per segment.  However, it is hardcoded to
generate two <fo:table-column> definitions regardless of the number of
segments.  This results in errors when the resulting .fo file is
processed with fop.

  The attached patch to fo/lists.xsl fixes this for me.

  Daniel

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages docbook-xsl depends on:
ii  xml-core                      0.13       XML infrastructure and XML catalog

Versions of packages docbook-xsl recommends:
ii  docbook-xml                   4.5-7      standard XML documentation system 
ii  docbook-xsl-doc-html [docbook 1.75.2-1   stylesheets for processing DocBook

Versions of packages docbook-xsl suggests:
pn  dbtoepub                  <none>         (no description available)
pn  docbook-xsl-saxon         <none>         (no description available)
ii  fop                       1:0.95.dfsg-11 XML to PDF Translator
ii  libsaxon-java             1:6.5.5-7      Saxon XSLT Processor
ii  libxalan2-java            2.7.1-5        XSL Transformations (XSLT) process
pn  xalan                     <none>         (no description available)

-- no debconf information
--- lists.xsl.orig      2011-04-02 10:37:12.497221731 -0700
+++ lists.xsl   2011-04-02 10:46:08.050175221 -0700
@@ -1195,8 +1195,9 @@
 <xsl:template match="segmentedlist" mode="seglist-table">
   <xsl:apply-templates select="title" mode="list.title.mode" />
   <fo:table>
-    <fo:table-column column-number="1" 
column-width="proportional-column-width(1)"/>
-    <fo:table-column column-number="2" 
column-width="proportional-column-width(1)"/>
+    <xsl:call-template name="segmentedlist.table.columns">
+      <xsl:with-param name="cols" select="count(segtitle)"/>
+    </xsl:call-template>
     <fo:table-header start-indent="0pt" end-indent="0pt">
       <fo:table-row>
         <xsl:apply-templates select="segtitle" mode="seglist-table"/>
@@ -1208,6 +1209,20 @@
   </fo:table>
 </xsl:template>
 
+<xsl:template name="segmentedlist.table.columns">
+  <xsl:param name="cols" select="1"/>
+  <xsl:param name="curcol" select="1"/>
+
+  <fo:table-column column-number="{$curcol}"
+                   column-width="proportional-column-width(1)"/>
+  <xsl:if test="$curcol &lt; $cols">
+    <xsl:call-template name="segmentedlist.table.columns">
+      <xsl:with-param name="cols" select="$cols"/>
+      <xsl:with-param name="curcol" select="$curcol+1"/>
+    </xsl:call-template>
+  </xsl:if>
+</xsl:template>
+
 <xsl:template match="segtitle" mode="seglist-table">
   <fo:table-cell>
     <fo:block font-weight="bold">

--- End Message ---
--- Begin Message ---
Source: docbook-xsl
Source-Version: 1.76.1+dfsg-1

We believe that the bug you reported is fixed in the latest version of
docbook-xsl, which is due to be installed in the Debian FTP archive:

docbook-xsl-ns_1.76.1+dfsg-1_all.deb
  to main/d/docbook-xsl/docbook-xsl-ns_1.76.1+dfsg-1_all.deb
docbook-xsl_1.76.1+dfsg-1.debian.tar.gz
  to main/d/docbook-xsl/docbook-xsl_1.76.1+dfsg-1.debian.tar.gz
docbook-xsl_1.76.1+dfsg-1.dsc
  to main/d/docbook-xsl/docbook-xsl_1.76.1+dfsg-1.dsc
docbook-xsl_1.76.1+dfsg-1_all.deb
  to main/d/docbook-xsl/docbook-xsl_1.76.1+dfsg-1_all.deb
docbook-xsl_1.76.1+dfsg.orig.tar.gz
  to main/d/docbook-xsl/docbook-xsl_1.76.1+dfsg.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Leidert (dale) <[email protected]> (supplier of updated docbook-xsl 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 17 Nov 2011 14:04:56 +0100
Source: docbook-xsl
Binary: docbook-xsl docbook-xsl-ns
Architecture: source all
Version: 1.76.1+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Daniel Leidert (dale) <[email protected]>
Changed-By: Daniel Leidert (dale) <[email protected]>
Description: 
 docbook-xsl - stylesheets for processing DocBook XML to various output formats
 docbook-xsl-ns - stylesheets for processing DocBook 5 XML to various output 
format
Closes: 602537 604004 605696 610726 611924 620556 623976 623977
Changes: 
 docbook-xsl (1.76.1+dfsg-1) unstable; urgency=low
 .
   * New upstream release.
     - Fixed bug when context was lost (closes: #602537).
   * Copied some files from docbook-xsl-ns.
 .
   * debian/control: Added docbook-xsl-ns.
     (Vcs-Browser, Vcs-Svn): Adjusted for unstable.
     (Build-Depends): Dropped dpatch in favour of source format 3.0 (quilt).
     Added docbook5-xml for docbook-xsl-ns. Increased debhelper version for
     dh_bugfiles.
     (Standards-Version): Bumped to 3.9.2.
     (Homepage): Fixed not-longer-existing URL.
     (Description): Mention XSL-FO (closes: #604004, #623977).
     (Recommends): Downgrade docbook-xsl-doc* packages to Suggests (closes:
     #610726, #623976).
   * debian/copyright: Adjusted and added parts of docbook-xsl-ns.
   * debian/docbook-xsl.docs: Adjusted source paths.
   * debian/docbook-xsl.examples: Ditto.
   * debian/docbook-xsl.install: Ditto.
   * debian/docbook-xsl.xmlcatalogs: Ditto.
   * debian/docbook-xsl-ns.copyright: Copied and removed.
   * debian/docbook-xsl-ns.docs: Copied and adjusted source paths.
   * debian/docbook-xsl-ns.examples: Ditto.
   * debian/docbook-xsl-ns.install: Ditto.
   * debian/docbook-xsl-ns.xmlcatalogs: Ditto.
   * debian/docbook-xsl-ns.README.Debian: Copied.
   * debian/get-orig-source.sh: Create one source package for docbook-xsl and
     docbook-xsl-ns.
   * debian/presubj: Renamed to debian/docbook-xsl.bug-presubj.
   * debian/rules: Dropped dpatch and useless get-orig-source target.
     (override_dh_auto_test): Run the check-xml target.
     (check-xml): Added the --nonet switch to avoid internet access. Added
     check of DocBook 5 example (copied from docbook-xsl-ns).
     (override_dh_installchangelogs): Adjusted source paths.
     (.PHONY): Added the check-xml target.
   * debian/watch: Added line for docbook-xsl-ns.
   * debian/README.Debian: Renamed to debian/docbook-xsl.README.Debian.
   * debian/README.source: Adjusted after dropping dpatch and after merging
     docbook-xsl and docbook-xsl-ns. Added information about multiple upstream
     tarballs.
   * debian/bugs/docbook-xsl-ns/presubj: Copied and renamed to
     debian/docbook-xsl-ns.bug-presubj. Typo fix.
   * debian/examples/foo.1.example_manpage.xml: Renamed to
     debian/examples/docbook-xsl/foo.1.example_manpage.xml.
   * debian/examples/docbook-xsl-ns/foo.1.example_manpage.xml: Copied.
   * debian/source/format: Changed to 3.0 (quilt).
   * debian/patches/605696_fix_section_name_for_lexgrog.patch: Added.
     - */common/es.xml: Fix Spanish translation for RefName to make it being
       recognized by lexgrog (closes: #605696).
   * debian/patches/611924_html_same_ids_for_quote.patch: Added.
     - */*html/inline.xsl (quote): Don't call the anchor
       template to not duplicate IDs (closes: #611924).
   * debian/patches/620556_fo_segmentedlist_with_segtitles.patch: Added.
     - */fo/lists.xsl (segmentedlist): Create the number of columns needed in
       table mode (closes: #620556).
   * debian/patches/00list: Renamed to debian/patches/series and adjusted.
   * debian/patches/00options,
     debian/patches/00template: Dropped.
Checksums-Sha1: 
 645b5fdbf4565643dc99296e8c30570404a18905 2239 docbook-xsl_1.76.1+dfsg-1.dsc
 377db25e50f73801f3d55495a2f0dd921add6e4f 5780252 
docbook-xsl_1.76.1+dfsg.orig.tar.gz
 ac116b240ef1be0f3c04e6d20917fc43c60acee6 49589 
docbook-xsl_1.76.1+dfsg-1.debian.tar.gz
 c68478d521ccc7e2cfab775c283da9c1f09c3e39 1642964 
docbook-xsl_1.76.1+dfsg-1_all.deb
 335ab48155ef760608938c3e7174c0ba7ce0307f 1642500 
docbook-xsl-ns_1.76.1+dfsg-1_all.deb
Checksums-Sha256: 
 072bd0a4862427d67eab656579a44180bde4b17e729f5f450d5baf7cc0b87370 2239 
docbook-xsl_1.76.1+dfsg-1.dsc
 912a4473d6c073b70b9c30f07e128f69962b42dd515d9f1c3e3d722669e41a4d 5780252 
docbook-xsl_1.76.1+dfsg.orig.tar.gz
 e44dd747e43f39e59abc18bc8c9c3a0def7f6b93a30da80266c1ca2187448bec 49589 
docbook-xsl_1.76.1+dfsg-1.debian.tar.gz
 955b673164fa1305a8e7b4bdbf60926e68c0d594732a997993ee5b40d8623fdd 1642964 
docbook-xsl_1.76.1+dfsg-1_all.deb
 bd6b5f54dfab28541cf8d31fee29502403d223ac05d3246b9f090ded2e8a7948 1642500 
docbook-xsl-ns_1.76.1+dfsg-1_all.deb
Files: 
 80972edd99d1db0293260991e809aaac 2239 text optional 
docbook-xsl_1.76.1+dfsg-1.dsc
 deb50b93e450598aa30280acbc59515b 5780252 text optional 
docbook-xsl_1.76.1+dfsg.orig.tar.gz
 f27a6e3129917e05cb786a8deb62bcd6 49589 text optional 
docbook-xsl_1.76.1+dfsg-1.debian.tar.gz
 d59e25bcaa4dfd930a06989efa167b2b 1642964 text optional 
docbook-xsl_1.76.1+dfsg-1_all.deb
 cfba256985319a33958ae9adc724d3c9 1642500 text optional 
docbook-xsl-ns_1.76.1+dfsg-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Signed by Raphael Hertzog

iQIcBAEBCAAGBQJOxS4kAAoJEOYZBF3yrHKaXe4QAJQjEgUPCmhPGbjoaTyoI+zi
bxgtomUrGBxVHzz0WZt6puHXIarUibCYCgdazk52qn+FpYwMsDWMsNCD4+Aiu7Rg
vZauMVi2wBVaHLPfifgf9KH4xkwX8UNPTYy5uMzWliMzbnBgXObWJXS7Px/yr6Vn
u60DZpCHoRvF8doqAT4qKNIH8SDspdPIa1cZPYp8JqYuq5RHILIaQ5I1Aj4KCJWc
9i7WA804/KQxL6YLmxmQfZsThGS+HWAwWBZevQhefrXV1RSZYRVlUBMl05+EcPUU
P9ti3rb8ADbvR7fP/MJmVcJGVbN0E+n6XngO4/nxwkYobB0s58eaiDWiLZq62nOo
mEXHQPNn7EqRc254JD9ad36277Kzm2CPN2yi1Qrkg5AK62yXC6dOZ9ZT8BhSDbSM
U9IzTqIqswpTBaTaVofcmBpvELq4jAStKxVXC3jdVS8Gixk3ygcKs8wT+jTWZwdi
Qocw2lnVLzNL95+c+owIB/xBqTVtCp4R1Yhkl8l0jUcz+ZpjaZKLcn66N3K4kgng
WiCQAHxca52yglvB9rC29vdw4s+OJps1AiFw4qE1BHpqsaQmXtpaOSxCdE8rqe0V
LRf4Ogpq1ZXfl390NCnaXA5tU90E3LKGP83shS8Nlg/tz0Mjj0TeQZOAcwVOLCAr
8O0gnTpWjQMDjCNET9VD
=5gnS
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to