[reportlab-users] Page numbers of bookmarks

Roberto Alsina ralsina at netmanagers.com.ar
Mon Sep 1 06:46:27 EDT 2008


On Monday 01 September 2008 04:52:52 Dinu Gherman wrote:

> Roberto Alsina:

> > 1. The first section ..........................1

> > 2. The second.................................14

> >

> > And link each one to the correct place in the document.

> > The hard part is, of course, figuring out the "1" and the "14" :-)

> >

> > Any hints as to where I should look?

>

> I guess what you mean is a table of contents, right?

>

> If so, try the following link if it works for you (it doesn't right now

> for me):

>

>

> http://www.reportlab.co.uk/cgi-bin/viewcvs.cgi/public/reportlab/trunk/repor

>tlab/test/test_platypus_toc.py

>

> Or look in your RL installation for reportlab/test/test_platypus_toc.py.

> Or run the attached file which I've slightly modified.


Will do.


> PS: And add an autoupdate feature for rst2pdf, please. ;-)


Autoupdate?

--
("\''/").__..-''"`-. . 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)

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. --Brian W. Kernighan


More information about the reportlab-users mailing list