I’ve created a small GitHub repo containing some tooling for creating ePub books. It features:
- ePub v3.2 compliant book template, validated against the ePub standard with epubchecker
- Word count auto-inserted in the frontmatter
- ePub generation date auto-inserted into front-matter
- Minimal CSS
- Separate CSS for base, frontmatter, bodymatter
There is a small script to download a local copy of the Java JDK, as required by the standard epub format checker, provided the W3C standards group. The epubchecker .jar is also downloaded.
Requirements
- ZSH
To Do
- Make the script work where java is already installed e.g. via homebrew
- Make the script bash compatible