- Built on top of @lesensei's work with minor changes
Generates ebooks for The Ickabog by J.K Rowling. Original text from https://www.theickabog.com/. Since the book is still being published, please consider this "in-progress".
jqto parse input files
pandocto generate EPUB and PDF files
qpdfto add cover to PDF files. (optional)
calibreinstalled to generate MOBI files. (optional)
How to run
You should have
ickabog.pdf in the
out directory after the script finishes.
- If you have ConTeXt installed, you will also get a
out/ickabog-large.pdffile with large fonts to be kid-friendly.
- If you have
qpdfinstalled, the PDF files will have cover pages
- If you have
out/ickabog.mobifile will also be generated. Preference is given to
The PDF is optimized for few pages of printing, so has a small font size by default. If you'd like a kid-friendly version, install context to get
A list of my other EBook generation projects: https://captnemo.in/ebooks/, includes a link to other related projects as well.
The cover art is Avanyu by Julian Martinez. Used under Creative Commons license.
Julian Martinez, Avanyu, ca. 1923, watercolor, ink, and pencil on paper, Smithsonian American Art Museum, Corbin-Henderson Collection, gift of Alice H. Rossin, 1979.144.85
Code for internationalization and automatic chapter updates via @lesensei's fork.
The little code in this repository is licensed under the MIT License. See LICENSE file for details.