[reportlab-users] Figure Captions Broken

Larry Meyn Larry.Meyn at nasa.gov
Mon Apr 14 12:32:23 EDT 2008


I mentioned awhile back that figure numbering in captions was broken.
The
class Figure in platypus.figures seems to be using the last chapter of
the
document. For example, in the ReportLab Userguide, all figures are
numbered
A.x, regardless of what the actual chapter number is.

I've fixed this in my copy of platypus.figures by adding
"self._getCaptionPara()" to the end of the __init__ function in class
Figures.
I don't know if this has drawbacks anywhere else, but it seems to fix
the
problem.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080414/4e610602/attachment.htm>


More information about the reportlab-users mailing list