Quote:
Originally Posted by theducks
IMHO
What I have not found is a way to programatically insert a split point using my friend REGEX.
In Sigil, I just inserted the "Sigil split Marker" code, then triggered the split using F6.
|
That is my usual workflow as well. Starting with a single file containing all the chapters, I place markers ahead of the chapter headers, as well as other break points (which are not defined by chapter headings) such as within the frontmatter and endmatter. Then do all the splits at once.
IIRC some time back Kovid mentioned implementing a bulk chapter split using the Calibre chapter split routine (which is based on xpath expressions rather than regex). That sounds like it would work for me, though I'd probably have to remove the split markers later.