Would you not achieve your aims by setting each section to begin on a new page and squash the content only enough to make the largest section fit on a page. Then make the PDF and crop the pages to remove whitespace. You will end up with a variable height for every page in the PDF but it would be viewable as a continuous flow without your described issues.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|