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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Mark S
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?
Reply | Threaded
Open this post in threaded view
|

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

mojavelinux
Administrator
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
Reply | Threaded
Open this post in threaded view
|

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

Mark S
Thank you. I dropped the styles and still get what I want thanks to the <<< new page markers, and with no error messages.
Reply | Threaded
Open this post in threaded view
|

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

mojavelinux
Administrator
Excellent!

-Dan

On Thu, Jan 7, 2021 at 3:44 AM Mark S [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Thank you. I dropped the styles and still get what I want thanks to the <<< new page markers, and with no error messages.


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-tp8434p8436.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