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] Widow/Orphen protection oddness when using ProgramListing and Bridgehead


Are you saying that the bridgehead takes with it the last two lines of the 
programlisting that *precedes* the bridgehead?  Are you using FOP, by any 
chance?

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Jeff Hooker" <Jeff_Hooker@pmc-sierra.com>
To: <docbook-apps@lists.oasis-open.org>
Sent: Monday, February 09, 2009 10:28 AM
Subject: [docbook-apps] Widow/Orphen protection oddness when using 
ProgramListing and Bridgehead


> Hi all,
>
> I'm extracting data from a great swack of .c files dropping the data into 
> programlisting elements and then separating the different kinds of data 
> with Bridgehead titles. Overall, it's working swimmingly, but I've run 
> into an issue with the bridgehead creating unnatural breaks in the 
> programlisting element.
>
> If a bridgehead is near the bottom of the page, it pushes to the next page 
> and takes the last two lines of the programlisting with it. This creates a 
> ~2in gap at the bottom of the page where the programlisting could have 
> easly fit. I've adjusted the space-before.maximum of the 
> section.title.properties to allow up to 3inches, I've adjusted the 
> space-after.maximum of the monospace.verbatim.properties to allow 3in, 
> I've looked in the FO generated and confirmed that there are no blocks in 
> between the programlisting and bridgehead that would be making them stick 
> to each other, but at this point I feel like I must just be pulling the 
> wrong levers because nothing that I'm doing is having any effect.
>
> Thoughts?
> Jeff.
> 



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