-
Notifications
You must be signed in to change notification settings - Fork 0
Shell Scripts Produce Corrupt PDFs under Bash for Windows #66
Copy link
Copy link
Open
Labels
📖 Alan ManualIssues relating to "The Alan Language Manual"Issues relating to "The Alan Language Manual"📖 Beginner's GuideIssues relating to the "Alan 3 Beginner's Guide"Issues relating to the "Alan 3 Beginner's Guide"🕑 WIPWork in progress (possibly with tasks list).Work in progress (possibly with tasks list).👑 PDF FormatIssues with conversion to PDF formatIssues with conversion to PDF format🔨 asciidoctor-fopubTool: asciidoctor-fopub (PDF toolchain)Tool: asciidoctor-fopub (PDF toolchain)💀 bugSomething isn't workingSomething isn't working⭐ automationTopic: Project automation and/or repo CITopic: Project automation and/or repo CI⚠️ importantPriority: HighPriority: High
Milestone
Metadata
Metadata
Assignees
Labels
📖 Alan ManualIssues relating to "The Alan Language Manual"Issues relating to "The Alan Language Manual"📖 Beginner's GuideIssues relating to the "Alan 3 Beginner's Guide"Issues relating to the "Alan 3 Beginner's Guide"🕑 WIPWork in progress (possibly with tasks list).Work in progress (possibly with tasks list).👑 PDF FormatIssues with conversion to PDF formatIssues with conversion to PDF format🔨 asciidoctor-fopubTool: asciidoctor-fopub (PDF toolchain)Tool: asciidoctor-fopub (PDF toolchain)💀 bugSomething isn't workingSomething isn't working⭐ automationTopic: Project automation and/or repo CITopic: Project automation and/or repo CI⚠️ importantPriority: HighPriority: High
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.