[reportlab-users] Page numbers of bookmarks

Dinu Gherman gherman at darwin.in-berlin.de
Mon Sep 1 03:52:52 EDT 2008


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/reportlab/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.

Regards,

Dinu

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_platypus_toc2.py
Type: text/x-python-script
Size: 6454 bytes
Desc: not available
Url : <http://two.pairlist.net/pipermail/reportlab-users/attachments/20080901/32b45e0d/attachment.bin>
-------------- next part --------------



More information about the reportlab-users mailing list