Bug 465717 - make pdf-en-US does not include all books in a set
Summary: make pdf-en-US does not include all books in a set
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 1.6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-06 00:16 UTC by Jeroen van Meeuwen
Modified: 2010-11-24 04:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-10-16 23:06:01 UTC
Embargoed:


Attachments (Terms of Use)
Resulting PDF file (83.28 KB, application/octet-stream)
2008-10-06 00:18 UTC, Jeroen van Meeuwen
no flags Details

Description Jeroen van Meeuwen 2008-10-06 00:16:26 UTC
Description of problem:

make pdf-en-US does not include all books in a set

Version-Release number of selected component (if applicable):

publican-fedora-0.15-0.fc9.noarch
publican-0.37-0.fc9.noarch

How reproducible:


Steps to Reproduce:
1. git clone git://git.fedorahosted.org/courses.git
2. cd courses
3. make pdf-en-US
  
Actual results:

10-page PDF file with only the first book

Expected results:

114+ -page PDF with all books

Additional info:

Comment 1 Jeroen van Meeuwen 2008-10-06 00:18:40 UTC
Created attachment 319512 [details]
Resulting PDF file

Comment 2 Jeff Fearn 🐞 2008-10-09 06:39:56 UTC
Hi Jeroen, I am pretty sure there are two issues with your XML.

Firstly you are mixing book and set at the same level within a set. This is not supported by DocBook, although due to limitations in how DTDs work it can't be validated by xmllint.

This is why the content doesn't appear as expected.

Once you fix that issue, by putting the first book in a set or by moving the following books out of sets, another issue is revealed.

Secondly you have seglists with more than two columns (segtitles etc). This is not valid when the seglist is being displayed as a table, which is how publican displays seglists. This can not be validated by xmllint either :(

Note that I had to troll through the DocBook XSL to find out this limitation, it doesn't seem to be documented anywhere :(

Comment 3 Jeroen van Meeuwen 2008-10-11 19:14:48 UTC
OK,

- getting the first book within a set does resolve the issue but does not give the desired result/layout, so I guess I'll have to find some other way to make/build the collection of books, I'm fine with that.

- What other then a segmentedlist you recommend I use if a table has more then 2 columns?

Comment 4 Jeroen van Meeuwen 2008-10-16 23:06:01 UTC
Closing deferred


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