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?
--