[reportlab-users] Trying to implement "See page X"

Roberto Alsina ralsina at netmanagers.com.ar
Thu Jun 4 08:14:41 EDT 2009


On Thursday 04 June 2009 07:42:54 Robin Becker wrote:

> Looking a bit further into the multibuild stuff it seems that it is fairly

> broken.

>

> Firstly the concept of an indexing flowable is weakly implemented as it

> will fail (as currently implemented) if we put the indexable inside a

> container of some sort eg a table.

>

> As I understand it a pass should be regarded as not happy if anything that

> gets rendered has a reference to an undefined variable. Mostly these

> variables would be section, chapter etc numbers and page numbers or

> positions (ie bookmarks). It ought to be perfectly feasible to define a

> simple way to record variables as they are defined so that references to

> them can easily check which ones are unsatisfied.

>

> The chapter/section/page numbers etc are a document level issue, but the

> positional references require some cooperation at the canvas/pdfdoc layer.


I managed to make this work with a sort of multi-multi-build but I broke
images. I will try to experiment a bit more and see if I can make xamples of
this in reportlab code so others can follow it.

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


More information about the reportlab-users mailing list