Thread: EPUB output
View Single Post
Old 11-28-2010, 10:20 AM   #876
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@oldbwl,

Here are 3 simple ways to convert your test RTF to an EPUB with line spacing as you like it.
  1. Convert the test RTF to EPUB with the following in the Convert - Look&Feel - ExtraCSS box
    Code:
    p {margin-top:0; margin-bottom:0}
    [This may be what dwanthny was referring to as his default Calibre settings -- Edit: having seen the above apparently not]

    You'd have to experiment to see whether this works for all your RTFs.

  2. Open the test RTF in Word and Save-As Webpage-filtered. Import the resulting HTML file into Calibre, which will turn it into a ZIP file. Convert ZIP to EPUB with the Look&Feel - ExtraCSS box empty.

    This option should work for all RTFs.

  3. Stop using empty paragraphs as spacers in RTF files. Only use them where specifically required e.g. scene-breaks. Then convert RTF to EPUB with the Look&Feel - ExtraCSS box empty.

    You could easily set up a macro in Word to remove double-^p's whilst making sure that 3-or-more ^p's were not removed. Editing an existing RTF could then be a simple [Alt]+key operation. If you want any help creating such a macro send me a PM.

Last edited by jackie_w; 11-28-2010 at 10:29 AM. Reason: incorrect assumption
jackie_w is offline   Reply With Quote