Red Hat Bugzilla – Bug 492984
procedure steps are pulled onto next page and leave white space
Last modified: 2014-10-19 18:56:55 EDT
Description of problem:
Procedure steps that span a "pdf page break" no longer flow from one page to another but instead are pulled down to the start of the next page. This leaves an area of white space.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a procedure so one of the steps would span a pdf page break. The procedure or step doesn't have to be over a page in length, it could occur towards the bottom of a page
2. Build the pdf
The step is pulled down onto the next page leaving a chunk of white space on the previous page.
The text of the step flows from the first page to the next (as it did in 0.44 and earlier)
Caused by the "fix" for bugzilla 492021
I think the reported problem from 492021 is a *content problem*, not a publican problem. You can't split an image over a page so any series of half page images interspaced with a few lines of text will be a problem.
If we could control this behaviour via an attribute in the step (or procedure) tag that would be useful. Would also be useful in other tags too I guess
adding to my list for QA
Maybe a better approach would be to override the para template and check for the existence of a figure, and if detected set keep-together for that para.
Untested of course :)
This would mean any para with a figure inside it shouldn't be longer than a page as opposed to any step shouldn't be longer than a page. It would also apply outside of steps.
Yo, please supply the SVN location of your source and the PDF pages where you see this problem.
This change is checked in the repo, but it's untested. We will need some content to test beta2 on.