Login  Register

Re: Asciidoctor pdf - Custom admonition icons

Posted by be.wood on Aug 12, 2019; 3:41pm
URL: https://discuss.asciidoctor.org/Asciidoctor-pdf-Custom-admonition-icons-tp5850p7070.html

After making that edit, I try to run this command (which I think is correct for getting all the pieces together (this is from the folder where both the YML and sample files are located):

asciidoctor-pdf -r notice-block -a pdf-style:admonition.yml sample.adoc

I get this error though when I try to run this:

undefined method `[]' for nil:NilClass
  Use --trace for backtrace

If I run the trace, I get this contents of the attached file. trace.txt

Just to be clear, here is the version information from the build I'm using:

Asciidoctor PDF 1.5.0.beta.2 using Asciidoctor 2.0.10 [https://asciidoctor.org]
Runtime Environment (ruby 2.6.3p62 (2019-04-16 revision 67580) [x64-mingw32]) (lc:IBM437 fs:Windows-1252 in:IBM437 ex:IBM437)

Thank you