If I were you what I would do is open the calibre editor, choose File->Import an HTML or DOCX file as a new book. This will create an EPUB or AZW3 for you. And then either use the editor to make your small edits, or right click the html file select export, edit it with whatever you need, then right click it and select replace file and replace it withth eedited file.
|