|
Hi,
unfortunately, this feature is still missing in asciidoc, so I'm writing an extension using the asciidoctorj API to provide this support.
So far I can parse the document tree and create the lists with figure and table references / captions.
But, when generating a pdf, I would like to add the page numbers as references to the elements.
Since asciidoctorj does not support PDF in postprocessing I look for other options.
Of course, the page numbers can't be known at the stage when the extension comes in, but is there something like a placeholder I can use with is then replaced with the page number of the reference when generating the PDF?
How is the TOC generated?
Kind regards,
Johannes
|