Login  Register

Re: Paragraph label breaks cross reference label in paragraph title

Posted by mojavelinux on Oct 25, 2018; 6:49am
URL: https://discuss.asciidoctor.org/Paragraph-label-breaks-cross-reference-label-in-paragraph-title-tp6414p6545.html

The issue here is the block title. Both block and section titles are converted eagerly. That conversion can happen before the document is converted, and often before it's fully parsed. Since the target of <<OtherLabel>> comes after the reference to it in the block title, Asciidoctor can't validate that it exists. But that's also why the warning is hidden behind the -v flag, because in this case it's a false positive.

For more details, see https://github.com/asciidoctor/asciidoctor/issues/2722

Cheers,

-Dan

On Mon, Aug 13, 2018 at 3:04 PM jtkorb [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thanks for your response.  I still don't understand why this doesn't work (forward references in captions), but, for now, we have rewritten the text to remove them.


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Paragraph-label-breaks-cross-reference-label-in-paragraph-title-tp6414p6444.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML


--
Dan Allen | @mojavelinux | https://twitter.com/mojavelinux