View Single Post
Old 08-31-2022, 03:08 PM   #375
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 7,024
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2022-08-31
- Add Split every N sections & Split into N Books options.

This is something that's come up a few times before, but I've always dragged my feet implementing it.

This time, when Lgk2 asked in github I was a bit more open the idea for whatever reason.

There's a new tab in EpubSplit config where you can know choose which of three modes the 'New Book Per' button will use:
  • New Book per Section (as previous);
  • New Book per N Sections (as requested), plus an orphan limit feature, and;
  • N New Books (included just because), even divide selected sections into N new books.

Attached is a screen shot of the new config tab.

What this implementation does is expand on the pre-existing 'New Book per Section' feature and basically just 'do the same thing, but with more sections'. So the same 'sections with no ToC entry lump with the previous section' limitation applies--complete with warning dialog (until you click the 'never show this again' checkbox).

I've tested with a relatively small set of books, but the basic splitting hasn't changed, just how sections are selected. I checked with Cal3, 5 & 6.

For reference, here is the last time this was discussed.

For some reason, MR isn't letting me upload the zip today, so the test version is on github.
Attached Thumbnails
Click image for larger version

Name:	Capture.PNG
Views:	271
Size:	106.0 KB
ID:	196187  
JimmXinu is offline   Reply With Quote