Quote:
Originally Posted by lunixer
2) If I leave the "replace soft scene break" field blank and my book uses blank lines for soft scene breaks, will Calibre leave those blank lines? Under look and feel I use both "removing spacing between paragraphs" and "add blank line between paragraphs"
|
Yes - Calibre will retain those blank lines, even if those other features are enabled.
Quote:
Originally Posted by lunixer
3) What heuristics does Calibre use to detect a soft scene break? I just read a book where I replaced soft scene breaks with * * *, to see how it would work, and it only detected about half of the scene breaks. The rest were completely unmarked. The book used a blank line between scenes.
|
Basically Calibre looks for any blank lines in the document - it then determines which are 'whitespace' by looking at the paragrahs before and after them - to see if they're placed around headings, frontmatter, etc. After that it assumes the rest are scene breaks. Basically to be a scene break there needs to be a full, punctuated paragraph both before and after the scene break. Scene breaks which are purely defined in css aren't detected. You'd have to open a bug with the book to allow this to be investigated further.
I did just fix some bugs in this logic which haven't been submitted to trunk, but they only cover the scenario where the document has a mix of hard and soft scene breaks.