Salut !
If I was planning to do this, I would use python to get the json data and generate the html files and the table of content.
Then I would use sigil to wrap all this into an epub.
That would be way more easy to maintain (and probably to use) than having do deal with graphical editor (notepad/libreoffice) macros.
|