Login  Register

Re: asciidoctor: DEBUG: forematter.adoc: line 4: unknown style for paragraph:

Posted by mojavelinux on Jan 07, 2021; 10:29am
URL: https://discuss.asciidoctor.org/asciidoctor-DEBUG-forematter-adoc-line-4-unknown-style-for-paragraph-tp8434p8435.html

The message is trying to tell you something. discrete and dedication are not valid block styles for a paragraph. They can only be used on a section title. So the AsciiDoc is incorrect.

Best Regards,

-Dan

On Thu, Jan 7, 2021 at 3:26 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote:
I have a doctype of book in which I have:

[discrete]
[%hardbreaks]
{nbsp}
[.text-center]
[small]#Copyright © {localyear} Me. All Rights Reserved.#

<<<

[dedication]
[%hardbreaks]
{nbsp}
[.text-center]
For Someone

<<<

But when I run asciidoctor-pdf with -v (which I find useful for spotting typos in my xrefs) I get:
asciidoctor: DEBUG: forematter.adoc: line 4: unknown style for paragraph: discrete
asciidoctor: DEBUG: forematter.adoc: line 32: unknown style for paragraph: dedication

I can easily filter this out using grep since I run asciidoctor-pdf in a shell script, but wondering if there's a better way?


If you reply to this email, your message will be added to the discussion below:
https://discuss.asciidoctor.org/asciidoctor-DEBUG-forematter-adoc-line-4-unknown-style-for-paragraph-tp8434.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