hey,
I've tried to convert several files (with spaces in the filename) in the current directory with this command:
for f in *.pdf; do djvudigital "$f"; done
The conversion starts but breaks at the end like this:
csepdjvu: 27454 bytes for page 6 (from stdin)
*** [1-11711] Failed to open 'abc': No such file or directory.
*** (ByteStream.cpp:747)
*** 'DJVU::GUTF8String DJVU::ByteStream::Stdio::init(const DJVU::GURL&, const char*)'
The filenames are like this:
abc abc 001.pdf
abc abc 002.pdf
etc.
Without spaces, the conversion goes through smoothly. I'm not good with the command line and other, more knowledgeable users suggested to me that above command should suffice and the problem lies within djvudigital. Hence this bug report.
Any help is much appreciated!
I've accidentally posted this in the djview section - perhaps this should be moved to the gsdjvu section?
I pushed into git a new version of djvudigital that works better with filenames containing spaces.
That seems to have helped. Thank you!
Diff: