View Single Post
Old 04-24-2020, 05:33 PM   #3
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by LoganW View Post
So I know from the manual and from another thread that you can only split on one html file at a time.

But I have a book with 60+ large files that I'd like to split, and rather than opening each one and right-clicking and splitting on <h2> I would just prefer to automate it. Can that be done with a conversion and XPath somehow? The book is currently in AZW3 format.
If you're referring to splitting using the calibre Editor ... this isn't automated but it's what I do:
  1. Use the Merge option to merge all the text files into one huge file.
  2. Then use the normal right-click split on <h2> on that file.
jackie_w is offline   Reply With Quote