Hi, I am trying to split HTML files in an EPUB file on the basis of subchapters in the TOC so that I can effectively convert the file to a KEPUB. Each chapter is included in a single HTML file, but subchapters are in the same file (attachment). Each subchapter has <h2 id="sigil_toc_id_[number]"> tag. Is there a way to split the files automatically so that each HTML file refers to a single (sub)chapter?
↧