[reportlab-users] TOC depth limits

jonas wustrack jonas at reportlab.com
Mon May 18 06:16:08 EDT 2009


This should now be fixed in the trunk. The code now generates styles
for a theoretically infinite amount of levels when needed, indenting
them a bit more at each step.
The four first styles should still be the same as before.

--
Jonas Wustrack
Software Developer
ReportLab Europe Ltd.
Media House, 3 Palmerston Road, Wimbledon, London SW19 1PG, UK
Tel +44-20-8545-1570

On Sun, May 17, 2009 at 2:33 PM, Roberto Alsina
<ralsina at netmanagers.com.ar> wrote:

> Just a note from another bug report in rst2pdf which may be useful for

> reportlab:

>

> Apparently there are documents with sub sub sub sub sub sections, and

> reportlab will not let me build a TOC for them because there are only 4 levels

> of styles in TableOfContents.levelStyles and then it fails.

>

> I patched it on rst2pdf's side the obvious way adding extra styles to that

> list, but maybe this could be raised in reportlab?

>

> --

>  ("\''/").__..-''"`-. .         Roberto Alsina

>  `9_ 9  )   `-. (    ).`-._.`)  KDE Developer (MFCH)

>  (_Y_.)' ._   ) `._`.  " -.-'  http://lateral.netmanagers.com.ar

>  _..`-'_..-_/ /-'_.'     The 6,855th most popular site of Slovenia

> (l)-'' ((i).' ((!.'       according to alexa.com (27/5/2007)

> "Our opponent is an alien starship packed with atomic bombs, I said.

> We have a protractor. Okay, I’ll go home and see if I can scrounge up a

> ruler and a piece of string."  — Neal Stephenson

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users



More information about the reportlab-users mailing list