TXTZ input and output support added. It's just a zip archive with TXT files renamed to .txtz. It supports images and they can be top level or in directories. If they are in directories they must be referenced that way in the document. It also stores an OPF file called metadata.opf that stores the metadata.
This is the preferred approach for handling TXT using Markdown or Textile that references images. It is also the preferred method of having TXT documents with metadata.
On my TODO list is making an import plugin to read a TXT file find all Markdown and Textile image references and put everything into a TXTZ file then storing the TXTZ calibre. This would be similar to what happens with PML being pulled in as PMLZ and HTML being pulled in as ZIP.
@Perkin, let me know if you find any issues or any shortcomings of this solution. It will be available in 0.7.45.
|