[reportlab-users] KeepTogether

Dinu Gherman reportlab-users@reportlab.com
Thu, 16 Oct 2003 10:58:26 +0200


On 22.05.03 Chad Nantais wrote:

> I would expect that this code would keep the term's header and
> footer on the same page.  It does not, however.
>
> 	def _insertTerms(self, terms):
> 		""" Add terms to a story """
> 		story = []
> 		for key, term in terms.items():
> 			h = Paragraph(term['ptHeader'], self.stylesheet['Heading2'])
> 			t = Paragraph(term['ptText'], self.stylesheet['Normal'])
> 			story.append(KeepTogether([h,t]))		
> 		return story
>
> Any ideas?

On 22.05.03 Andy Robinson wrote:

> It's noted and in the support queue :-)

Or has it dropped off? :-)

Dinu

--
Dinu C. Gherman
......................................................................
"An error is not a mistake until you refuse to correct it."
(Werner Heisenberg)