Quote:
Originally Posted by Jozroz
This issue has probably been posted countless times, however I would like to address another connecting issue. The basic problem is that every single paragraph is followed by a space. The solution to this is to convert the ebook with the "remove spacing" option checked. However, this also removes intentional spacing where there's a break in a scene. Is there any way to remove the unneccesary gaps and keep the original ones or will it be impossible to differentiate the two?
|
@
Jozroz - have you tried the options in
Conversion->Heuristics. They may take care of the issue with a couple of mouse clicks. See ==>>
Ebook Conversion — Heuristic Processing
Quote:
Delete blank lines between paragraphs
This option will cause calibre to analyze blank lines included within the document. If every paragraph is interleaved with a blank line, then calibre will remove all those blank paragraphs. Sequences of multiple blank lines will be considered scene breaks and retained as a single paragraph. This option differs from the ‘Remove Paragraph Spacing’ option under ‘Look and Feel’ in that it actually modifies the HTML content, while the other option modifies the document styles. This option can also remove paragraphs which were inserted using calibre‘s ‘Insert blank line’ option.
Ensure scene breaks are consistently formatted
With this option calibre will attempt to detect common scene-break markers and ensure that they are center aligned. ‘Soft’ scene break markers, i.e. scene breaks only defined by extra white space, are styled to ensure that they will not be displayed in conjunction with page breaks.
Replace scene breaks
If this option is configured then calibre will replace scene break markers it finds with the replacement text specified by the user. Please note that some ornamental characters may not be supported across all reading devices.
In general you should avoid using html tags, calibre will discard any tags and use pre-defined markup. <hr /> tags, i.e. horizontal rules, and <img> tags are exceptions. Horizontal rules can optionally be specified with styles, if you choose to add your own style be sure to include the ‘width’ setting, otherwise the style information will be discarded. Image tags can used, but calibre does not provide the ability to add the image during conversion, this must be done after the fact using the ‘Edit Book’ feature.
Example image tag (place the image within an ‘Images’ folder inside the epub after conversion):
Code:
<img style=”width:10%” src=”../Images/scenebreak.png” />
Example horizontal rule with styles:
Code:
<hr style=”width:20%;padding-top: 1px;border-top: 2px ridge black;border-bottom: 2px groove black;”/>
|
BR