[reportlab-users] Re: [reportlab-support] FW: Table of Contents
Robin Becker
robin at reportlab.com
Thu Feb 10 04:52:19 EST 2005
Ashley Lloyd wrote:
> Thanks for the reply. I'm not too sure my comment made a great deal of
> sense, (and I haven't got flu, I just ramble a bit!). So, I'll try to
> explain better ...
>
> I've basically got 3 levels of headings, and then the text.
> So what I wanted to do was:
> - Heading1 keepWithNext=1
> - Heading2 keepWithNext=1
> - Heading3 keepWithNext=1
> - text keepWithNext=0
> (the text could be in several paragraphs in between any levels of
> heading)
>
> Just so that no heading ever appeared on its own at the bottom of a page.
> This led to the errors I reported.
>
> I thought that if it wasn't possible to fit a combination of Headings and
> text on the remainder of a page, then it would all just appear on the next
> page. I'm guessing perhaps there's a limit on the amount of consecutive
> styles having keepWithNext=1 .. ? I'm positive that there's no combination
> of Heading1+Heading2+Heading3+text which, on its own, occupies more than one
> page. If it did, I'd understand completely.
>
> I hope that makes sense!
>
> Get well soon!!
>
> Cheers
>
> Ashley
>
.....this should work, so I'm puzzled as to how it goes wrong.
--
Robin Becker
More information about the reportlab-users
mailing list