asciidoctorj
asciidoctorj copied to clipboard
EPUB3 generation fails on Windows if KF8 format is used.
it will fail with a ENOENT error even if the command-line such as
C:\\Path\\To\\kindlegen.exe -dont_append_source -c0 -o epub3.mobi C:/Path/To/epub3-kf8.epub
correctly executes on the command-line.
Probably related to this? https://github.com/jruby/jruby/issues/4943
Absolutely. That must be it.
A workaround could be to patch asciidoctorj to optionally execute kindlegen. AsciidoctorJ can set the flag not to execute and then rather run kindlegen itself after the initial conversion. Not puristic, but solves the problem.
This issue has nothing to do with AsciidoctorJ because it is reproducible by running vanilla asciidoctor-epub3 on top of JRuby on Windows. I suggest using asciidoctor/asciidoctor-epub3#154 to track its progress.
asciidoctor/asciidoctor-epub3#154 was fixed and ~will be part of soon-to-happen 1.5.0.alpha.11~ released in asciidoctor-epub3 1.5.0.alpha.11.
@robertpanzer what do you think about closing this?