Closed habamax closed 5 years ago
There is no error if I add text to DefList line:
= Test doc
== Test
DefList:: hello
* List item
Looks like block.instance_variable_get(:@text)
is nil
for a deflist without immediate text on the same line:
https://github.com/asciidoctor/asciidoctor-bibtex/blob/1d1f66740bc059c22ade965cb6ec5a70ffea7519/lib/asciidoctor-bibtex/extensions.rb#L114-L115
and it is duplicate #58
I had the same issue and solved it by updating asciidoctor-bibtex through the following:
gem install asciidoctor-bibtex
I am running Asciidoctor 2.0.12 on macOS Catalina.
With the following
test.adoc
:and the command
asciidoctor -r asciidoctor-bibtex test.adoc
I get following record:The same error is with asciidoctor-pdf.
PS
with
--trace
I get: