Closed StevenClontz closed 2 years ago
This is an XSLT problem it seems. The percent-encoding of a space (%20
) can happen when XSL receives the filename as a string (stringparam
) and before its use in a document()
function to actually read the file. Fix tested with the publisher file, and there are at least three other files.
Working on it and will post here once complete.
Fix is in at https://github.com/rbeezer/mathbook/commit/8dfbdff1a43e9096134d2b2eb7ebdabfac40f130
You might read the code comments in that commit for a bit of perspective, should this become evermore subtler than it is already. ;-)
Reopening until I have a chance to update CLI and make sure this is working now
Can confirm spaces in the publication filename don't choke things as of this core commit update. https://github.com/PreTeXtBook/pretext-cli/commit/094db808babe36d700182a236fc0cc0c2355437a
At the least, publication files cannot be imported if anywhere in the absolute filepath has spaces