I have made some progress, my plugin now supports both txt and txtz files.
I still have some followup questions:
- Is name of text file inside txtz archive always index.txt?
- Whenever i convert a book, `run()` method is called twice, any ideas why? (only `on_preprocess` is `True`)
Current version is in attachment.
Thanks.
(Just quick info if anyone is interested, this plugin is used to manage footnotes and endnotes in markdown formatted text files, i will make post about it when plugin is finished)