Closed serbanghita closed 3 years ago
I removed the ruby script -r ./hacks/sectnumoffset-treeprocessor.rb
and it worked
Sorry for late response. Which version of asciidoctor did you run? It's only tested to work on asciidoctor >= 1.5.7 and < 2.0.
I have as a long standing goal to make it work with asciidoctor 2.x.
@kallerosenbaum thanks for the reply, I was using
Asciidoctor 2.0.12 [https://asciidoctor.org]
Runtime Environment (ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]) (lc:UTF-8 fs:UTF-8 in:UTF-8 ex:UTF-8)
I'll close this, since it works as expected, you already specified in the README that you support Asciidoctor >= 1.5.7 and < 2.0
. I wasn't paying attention 🤦 🙇
@serbanghita I've pushed changes to master branch. I have now tested with asciidoctor 2.0.12 and it works for me. Please reopen this if it doesn't work for you on version >=2.0.12. Note that the build instructions have changed, so you may adjust your process a bit.
ps: I also had to increase the memory because it was failing with 137 (memory or space issues)