12-04-2023, 11:15 AM | #16 |
Addict
Posts: 282
Karma: 2125576
Join Date: Sep 2010
Device: Kobo Forma
|
After a good night's sleep and re-studying everything in a new light, I think my poor brain may have it figured out. Thanks to all for the help you've given.
|
12-04-2023, 12:07 PM | #17 |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I do this task frequently (amazing how many poorly codewise, constructed books there are in the market)
My process does 2 things. sets up for an auto TOC (the H tags. usually done after) and sets up for the split. Do check the results, the roman pattern can miss AND inconsistent code (hand fixed??) is the other. You are 95% there in most cases, and the hand touchup is usually minor. |
12-04-2023, 03:06 PM | #18 |
Addict
Posts: 282
Karma: 2125576
Join Date: Sep 2010
Device: Kobo Forma
|
Yep, I've already found some inconsistent entries where the roman pattern is followed by only ONE dash. Still beats the heck out of doing every chapter as a manual split. . .
(Now if my 74-year old brain could actually understand the code you wrote) |
12-04-2023, 06:12 PM | #19 |
Well trained by Cats
Posts: 30,107
Karma: 57259780
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I've got 4 more on you, so hang in there.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Split PDF into Multiple files | anonymust | 5 | 05-13-2020 05:21 AM | |
How to split multi HTML files at multi locations? | Iceyogurt | Editor | 5 | 10-09-2018 11:12 AM |
split docx into multiple xhtml files | xanguera | Conversion | 14 | 08-01-2014 07:09 AM |
Make books appear in multiple locations instead of creating hybrid folders | Feather_Qwill | Library Management | 7 | 06-02-2013 04:45 AM |
Multiple File Locations? | Sydney's Mom | Calibre | 23 | 02-21-2011 07:13 PM |