asciidoctor / asciidoctor-fopub

A portable DocBook-to-PDF build command that wraps DocBook XSL and Apache FOP
MIT License
113 stars 37 forks source link

Minor tweaks to batch-file to accommodate source filenames containing spaces #84

Closed andrewcarver closed 5 years ago

andrewcarver commented 6 years ago

We need some minor tweaks in order for the main Windows fopub.bat to handle source-filenames (or -filepaths, if passed on the command line) containing spaces or otherwise requiring surrounding double-quotes. Mostly this entails changing "%1" to "%~1" in several places, dropping thereby any double-quotes from around the received (parameter-)value.

mojavelinux commented 5 years ago

:+1: