Login  Register

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

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

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?