Create EPUB Compilation Script
It looks like you had a working EPUB, but I thought I'd try to draft a script which would help with the described idea of one wisdom per page. I've been working on a 500 page manual with pandoc lately so I thought this would be a fun distraction. It snowballed a bit.
Since someone else already made a nice GitHub action, it seems like maybe the script here would be a possibly useful contribution. :)
# This makes the ebook, then tries to open it, by default in Apple Books.
./ebooks/compile.sh
# This will unzip the EPUB file, so you can inspect the raw html.
./ebooks/compile.sh --debug
ChatGPT and Claude are pretty good at getting started and drafting lua filters, but it will usually take a few iterations to get them right. (Debugging pandoc/lua is not the easiest thing to do.)
Cheers!
P.S. I deeply miss the SF meetups. They were great.
This is how pages look, but there are some bugs.