asciidoctor-pdf: cross-ref to a page number?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

asciidoctor-pdf: cross-ref to a page number?

Mark S
Is it possible to have cross-references that include the page number in asciidoctor-pdf PDFs?
Similarly for index entries?
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf: cross-ref to a page number?

mojavelinux
Administrator
Mark,

Creating a cross reference that includes the page number is a chicken-egg problem. The page number isn't known until the document is rendered, but then the link has already been created. So it's not possible (not within a two phase conversion, which this converter doesn't do).

Index entries already include a page number.

-Dan

On Wed, Dec 23, 2020 at 2:35 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Is it possible to have cross-references that include the page number in asciidoctor-pdf PDFs?
Similarly for index entries?


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/asciidoctor-pdf-cross-ref-to-a-page-number-tp8418.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen (he, him, his) | @mojavelinux | https://twitter.com/mojavelinux
Reply | Threaded
Open this post in threaded view
|

Re: asciidoctor-pdf: cross-ref to a page number?

Mark S
OK thanks for letting me know.