View Single Post
Old 11-08-2016, 01:12 PM   #1
Buhaj
Groupie
Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.Buhaj ought to be getting tired of karma fortunes by now.
 
Buhaj's Avatar
 
Posts: 175
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2, Kindle PW3
HTML files split on the basis of chapters

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?
Attached Thumbnails
Click image for larger version

Name:	TOC.JPG
Views:	493
Size:	114.6 KB
ID:	152878  

Last edited by Buhaj; 11-08-2016 at 01:15 PM.
Buhaj is offline   Reply With Quote