Re: referencing page numbers

Josh Stratton <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CAPVmgLihffNu0sQXh5xJGzJZ=2k-RAh44HQE8_-Z2WEZi0RjRA@mail.gmail.com>
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 <[email protected]> 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
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.