Open relaytheurgency opened 10 years ago
Actually, it seems that none of the equations are getting put into the epub/mobi files, even when they do exist.
Hey,
I also had trouble with the base directory variable in eq2img where it would try to write to /img instead of /path/to/flp,mobi/img. I set BASE_DIRECTORY manually and that allowed make to execute, but
Dunno, guessing $BASE_DIRECTORY
is being set to an empty string, is
realpath
on your system? I thought it was POSIX.
the dvi problem is still perplexing to me. Any tips?
Do the compiler logs tell you anything interesting?
flp.mobi% find img -name '*log' -exec cat {} \; | less
Actually, it seems that none of the equations are getting put into the epub/mobi files, even when they do exist.
Did you test this by decompressing the output EPUB? The only images included in the ZIP/EPUB are those which are referenced from image tags in the processed HTML chapters:
flp.mobi% cat bin/images
./bin/chapters $1 | xargs grep -hoP '(?<=img src=")[^"](?=")' | sort -u flp.mobi% grep images Makefile (./bin/chapters $(v); ./bin/images $(v)) | zip -@ flp$(v).epub mimetype META-INF/ content.opf
I haven't been able to pinpoint the problem, but I'm having trouble with some of the tex equations not being created as dvi files. I also had trouble with the base directory variable in eq2img where it would try to write to /img instead of /path/to/flp,mobi/img. I set BASE_DIRECTORY manually and that allowed make to execute, but the dvi problem is still perplexing to me. Any tips?
Edit: The problem I was having with BASE_DIRECTORY was due to not having installed realpath. Could you add realpath, ruby-bundler, and dvipng to your list of dependencies?