The .sh script to build the PDF docs via asciidoctor-fopub don't work as expected under Bash for Windows, for they seem unable to locate the default template images, thus creating a PDF with no admonitions icons:
SEVERE: Image not found. URI: D:/local/path/to/asciidoctor-fopub/build/fopub/docbook/images/note.svg. (No context info available)
whereas the image mentioned in the error is actually there, with the correct path and filename!
It must be something related to how paths are handled in Bash for Windows vs real *nix bash, and how these interact with FOP.
We need to:
The
.shscript to build the PDF docs via asciidoctor-fopub don't work as expected under Bash for Windows, for they seem unable to locate the default template images, thus creating a PDF with no admonitions icons:whereas the image mentioned in the error is actually there, with the correct path and filename!
It must be something related to how paths are handled in Bash for Windows vs real *nix bash, and how these interact with FOP.
We need to:
.shscripts for PDF build detect if running under Git for Windows' Bash (viaMinGWenv var) and abort execution if so..shscripts work..batscripts and keep only Bash scripts.