[reportlab-users] referencing page numbers

Josh Stratton strattonbrazil at gmail.com
Sat Feb 21 12:49:32 EST 2015


What exactly is the xref one doing?  I see an incrementing number after
each paragraph, but not what it's in reference to.

On Tue, Feb 17, 2015 at 9:48 AM, Robin Becker <robin at reportlab.com> wrote:

> On 17/02/2015 16:52, Josh Stratton wrote:
>
>> I was wondering if there was a feature in reportlab that let me cross
>> reference pages by an anchor or something similar to latex's pageRef.  In
>> latex I could add a label to some page and on another page I could write "
>> go to \pageRef{some label}" and that would render as "go to page 27".  Is
>> such a thing possible in reportlab?
>>
> .......
>
> we do have indexing and cross referencing; it can be fairly challenging to
> set up. If you download the source version you can check in the tests
> folder for examples cf
>
> test_platypus_index.py
> test_platypus_toc.py
> test_platypus_xref.py
>
> for various complicated cases. test_platypus_paragraphs.py contains usage
> of the <a> tag.
> --
> Robin Becker
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20150221/1f8902d5/attachment.html>


More information about the reportlab-users mailing list