Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2016, 01:12 PM   #1
Buhaj47
Zealot
Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.Buhaj47 ought to be getting tired of karma fortunes by now.
 
Buhaj47's Avatar
 
Posts: 149
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kindle PW3, Kobo Libra 2
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:	484
Size:	114.6 KB
ID:	152878  

Last edited by Buhaj47; 11-08-2016 at 01:15 PM.
Buhaj47 is offline   Reply With Quote
Old 11-08-2016, 03:31 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,633
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Buhaj47 - see Splitting HTML files in Ebook editor: The Live Preview panel

BR
BetterRed is offline   Reply With Quote
Advert
Old 11-08-2016, 06:22 PM   #3
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
If you right-click in the code-view, there is an option on the menu to split the file. This uses a search to do the split. There are several common examples and you can enter your own. One of the examples is to split on the h2 tag.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
split html files not updating links ni_c Editor 4 11-24-2015 11:48 PM
Split an EPUB into more HTML files 1v4n0 Sigil 7 10-24-2015 12:57 PM
Is there a quick way to split large html files? cager Editor 4 04-08-2014 08:10 AM
[Old Thread] mergin split html files with Calibre? NASCARaddicted Conversion 13 12-03-2011 01:19 PM
Managing PDF files that are split into chapters grep Library Management 3 11-08-2011 07:02 AM


All times are GMT -4. The time now is 12:56 PM.


MobileRead.com is a privately owned, operated and funded community.