Re: Anchors between documents and HTML with search bar
Posted by
David Jencks on
URL: https://discuss.asciidoctor.org/Anchors-between-documents-and-HTML-with-search-bar-tp8214p8255.html
I am admittedly quite biased, I tend to think that Antora is the answer to everything :-)
If you have a multi-page site I would seriously consider if Antora is suitable. Antora definitely handles xrefs to other-page-fragments correctly.
I’ve adapted asciidoctor-web-pdf to Antora and currently it can, roughly speaking, transform an Antora nav file into a pdf document, changing the links to (semantic) includes. This solves the problems with links you mentioned. However, this is experimental.
antora-pdf
I actually thought from reading the documentation that asciidoctor-pdf supported links-to-included-page-fragments, but I haven’t been able to locate the code that does this, and have no actual experience with trying to do it.
On Sep 14, 2020, at 5:02 AM, Kervyn [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
Does anyone know how to handle these? I am kind of stuck and can't move on with HTML version.