View Single Post
Old 08-12-2009, 12:09 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,418
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The reasoning is that what's really important for chapters is inserting page breaks before them. Since the chapter detection expression requires the word chapter/part etc it wont match a lot of cases the page break expression will.

And having a few extra page breaks is not too bad. What could be done is make the page break insertion a little more intelligent so that it does not insert page breaks for elements "close" together if the expression is the default one
kovidgoyal is offline   Reply With Quote