@LordP, speaking to
@DNSB's point about dedicating a new html/htm/xhtml file to each chapter, earlier versions of Sigil allowed the user to insert a kind of bookmark (<hr class="sigil_split_marker" />) into the html files and then Sigil would split all the files at the marker when you asked it to (by selecting "Split at Marker" from the Edit dropdown menu, or via keyboard shortcut).
I usually organize all the heading hierarchies first, and then split them using a regex search/replace that recognizes where to insert the split marker.
it looks like this:
Code:
Search:
(?<=</p>|</h[1-9]>)\s*<h([12])
Replace:
<hr class="sigil_split_marker" /><h\1
[It is looking for closing <p> or <h#> elements that are followed by either an <h1> or <h2> element, and inserting a split marker between them. Depending on how/where you like to creat pagebreaks, you may want to tweak this a bit for your needs.]
Can someone confirm that the "Insert Split Marker" functionality still exists in Sigil 2.xx?