Open deoren opened 6 years ago
Based on the example there it appears that the only thing I had to change to produce an epub file was to change the extension; both of the following commands produced (seemingly) equivalent results:
pandoc --toc --latex-engine=xelatex -o Manual.epub $(ls *.md)
pandoc --toc -o Manual-no-engine-specified.epub $(ls *.md)
Looks like the epub files are failing http://validator.idpf.org checks and Google Play Books as well, so evidently there is more work yet to be done for epub conversion.
This also seems to work fine (at least with Bash as my shell):
pandoc --toc -o Manual.epub *.md
If the files need to be processed in a specific order then specifying them one-by-one is probably a better approach.
Note: The epubs generated this way should probably be touched up with Calibre to add missing metadata (and a cover) so that Google Play Books and other epub readers can better sort or display them.
Note: The epubs generated this way should probably be touched up with Calibre to add missing metadata (and a cover) so that Google Play Books and other epub readers can better sort or display them.
Built today using an Ubuntu 18.04 LXD image and the build steps from https://github.com/deoren/notes/issues/3#issue-354769962 and https://github.com/deoren/notes/issues/3#issuecomment-433538200.
I then ran the epub through Calibre 3.40.1 (Windows x64) and uploaded to Google Play Books. No obvious issues with it thus far.
EDIT: The "original" epub (without Calibre conversion) failed to process properly when uploading to Google Play Books. Calibre (once again) proves itself invaluable for touch-up work.
Found this on the Icinga mailing list:
with this remark:
After some trial/error, this appears to provide a usable build environment for the Icinga documentation on an Ubuntu 16.04 x64 VM:
I've not tested further to see if some packages can be excluded.