OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] DocBook chunking starting with second subsection


If I set the chunk.first.sections param to 1 each section title is on a 
separate page if that section has subsections. Yes, the chunks are 
consistent now but the output pages that contain only a section title 
(no text content from the first subsection) look quite short. Probably a 
customization of the DocBook chunking stylesheets is necessary for 
including only the content of the first subsection recursively and in a 
consistent way for all types of sections (sect1, sect2, etc).


Jirka Kosek wrote:
> Sorin Ristache wrote:
>> I am generating chunked HTML output from a DocBook 5 XML document but
>> the start points of the chunks seem inconsistent: sometimes a new chunk
>> starts at the second subsection of a second, sometimes it includes all
>> the subsections of a section. For the attached file I set the
>> chunk.section.depth parameter to 5 and the whole Section 1 (with
>> subsections 1.1 and 1.2) is included in one chunk but Section 2 is split
>> in two chunks: Section 2.1 and Section 2.2. Is Section 1.2 not supposed
>> to go to a separate chunk too? Does anyone know how I can make the
>> splitting consistent?
> What is your setting of chunk.first.sections parameter?
> Default setting produces output which might seems inconsistent, but it
> has some logic behind. Setting it to 1 could produce more "consistent"
> chunks.
> 			Jirka

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]