View Single Post
Old 12-30-2013, 01:12 PM   #3
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by theducks View Post
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.
st_albert is offline   Reply With Quote