View Single Post
Old 09-15-2021, 03:58 AM   #6
AlanHK
Fanatic
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 597
Karma: 300000
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
You see this from mobi files when there are blank lines that may have been formatted as headings, and then converted by something which splits it at those heads. Giving you a bunch of blank files.

Anyway, if there are chapter heads as h tags, then I just merge all these files into one. Then use S&R to delete the blank headings, then insert a split marker before each remaining heading. Then split at markers and regenerate the TOC.

Take care if there are links, like footnotes. Merging may break those.

Last edited by AlanHK; 09-15-2021 at 04:11 AM.
AlanHK is offline   Reply With Quote