Closed patrickluoyu closed 2 years ago
Since I can reproduce this behavior using asciidoctor
CLI, I assume that this is not specific to asciidoctor-web-pdf`` (which relies on
asciidoctor`).
I'm also unsure if this is the intended behavior or not. Please ask your question in the #users
stream of the community chat at asciidoctor.zulipchat.com. Thanks!
Assume the following files:
chapter.doc
chapter-1.adoc
chapter-2.adoc
first-steps.adoc
If we convert
chapter.adoc
into a PDF file, the cross reference<<chapters/chapter-2.adoc#_chapter_2,Chapter 2>>
inchapter-1.adoc
is faulty. However, if we remove the tag statements inchapter-2.adoc
or removeinclude::../chapter-2.adoc[tags=test]
infirst-steps.adoc
, everything works fine.Please help resolve the problem. Thanks!