# Omit specific warning... (asciidoctor)

**URL:** <https://discourse.gohugo.io/t/omit-specific-warning-asciidoctor/52046>\
**Category:** support\
**Tags:** asciidoc\
**Created:** [October 20, 2024, 12:36pm UTC](https://discourse.gohugo.io/t/omit-specific-warning-asciidoctor/52046 "2024-10-20T12:36:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wehrend](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/wehrend/32/22842_2.png) [@wehrend](https://discourse.gohugo.io/u/wehrend)\
**Post date:** [October 20, 2024, 12:36pm UTC](https://discourse.gohugo.io/t/omit-specific-warning-asciidoctor/52046/1 "2024-10-20T12:36:51Z")

</div>

HI there,  
I am using asciidoctor to generate my sites from markdown, for latex I am getting a specific warning like the following:  
WARN posts/web/17\_analog\_computers\_101.adoc: asciidoctor: DEBUG: : line 30: unknown style for paragraph: latex

about all sites, how can I solve or omit this warning messages?

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [October 20, 2024, 1:05pm UTC](https://discourse.gohugo.io/t/omit-specific-warning-asciidoctor/52046/2 "2024-10-20T13:05:27Z")

</div>

[https://asciidoc-py.github.io/chunked/ch15.html](https://asciidoc-py.github.io/chunked/ch15.html)

> The built-in paragraph styles are: _normal_, _literal_, _verse_, _quote_, _listing_, _TIP_, _NOTE_, _IMPORTANT_, _WARNING_, _CAUTION_, _abstract_, _partintro_, _comment_, _example_, _sidebar_, _source_, _music_, _latex_, _graphviz_.

The last three (_music_, _latex_, and _graphviz_) are not supported by asciidoctor:  
[https://github.com/asciidoctor/asciidoctor/blob/main/lib/asciidoctor.rb#L269-L275](https://github.com/asciidoctor/asciidoctor/blob/main/lib/asciidoctor.rb#L269-L275)

With this site configuration:

```toml
[markup.asciidocExt]
verbose = true

```

And this AsciiDoc markup:

```plaintext
[music]
xxx

[latex]
xxx

[graphviz]
xxx

```

Hugo emits warnings such as:

```plaintext
WARN _index.adoc: asciidoctor: DEBUG: <stdin>: line 46: unknown style for paragraph: music
WARN _index.adoc: asciidoctor: DEBUG: <stdin>: line 49: unknown style for paragraph: latex
WARN _index.adoc: asciidoctor: DEBUG: <stdin>: line 52: unknown style for paragraph: graphviz

```

The only way to hide those warnings is to hide _all_ asciidoctor warnings.

```toml
[markup.asciidocExt]
verbose = false # default is false

```

[https://github.com/asciidoctor/asciidoctor/blob/main/lib/asciidoctor/parser.rb#L725-L747](https://github.com/asciidoctor/asciidoctor/blob/main/lib/asciidoctor/parser.rb#L725-L747)

---

<div class="post-metadata">

**Author:** ![wehrend](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/wehrend/32/22842_2.png) [@wehrend](https://discourse.gohugo.io/u/wehrend)\
**Post date:** [October 23, 2024, 4:11pm UTC](https://discourse.gohugo.io/t/omit-specific-warning-asciidoctor/52046/3 "2024-10-23T16:11:23Z")

</div>

Many thanks,

that last command helped me to filter out the irrelevant error messages and fix the rest…

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [October 25, 2024, 4:12pm UTC](https://discourse.gohugo.io/t/omit-specific-warning-asciidoctor/52046/4 "2024-10-25T16:12:22Z")

</div>

Closed on October 25, 2024, 4:12pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
