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, 02: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: 187
Karma: 278068
Join Date: Dec 2014
Location: Poland
Device: Kobo Libra 2 & Sage, 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:	501
Size:	114.6 KB
ID:	152878  

Last edited by Buhaj; 11-08-2016 at 02:15 PM.
Buhaj is offline   Reply With Quote
Old 11-08-2016, 04: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: 22,036
Karma: 30277960
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, 07: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-25-2015 12:48 AM
Split an EPUB into more HTML files 1v4n0 Sigil 7 10-24-2015 01:57 PM
Is there a quick way to split large html files? cager Editor 4 04-08-2014 09:10 AM
[Old Thread] mergin split html files with Calibre? NASCARaddicted Conversion 13 12-03-2011 02:19 PM
Managing PDF files that are split into chapters grep Library Management 3 11-08-2011 08:02 AM


All times are GMT -4. The time now is 08:51 PM.


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