View Single Post
Old 12-09-2021, 05:19 PM   #336
parkher
Evangelist
parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.parkher ought to be getting tired of karma fortunes by now.
 
Posts: 467
Karma: 369018
Join Date: Nov 2010
Device: BL Alita/Mimas/Ares, OB Note2/Note, KA One/H2O/HD, S PRS T2/T1, PB 902
I have the opposite problem:
how to get rid of spacing between paragraphs.
I even tried to re-convert with the Calibre converter with --remove-paragraph-spacing
Zero effect. The Calibre viewer still shows gaps between paragraphs.
FBReader shows correctly, though. No gaps between paragraphs.

Oh, it seems that the Calibre stand-alone converter simply added br twice(!) instead of creating p, when converting docx to epub:
<br class="calibre9"/><br class="calibre9"/>
So the problem was caused not by the Calibre viewer but by the Calibre converter.
A replace all is needed. One br is quite enough.
Well, I am not sure if I can really blame the Calibre converter either.
It finds that double br in the docx xml:
</w:t><w:br/><w:br/><w:t>
and it is dumb (or smart?) enough to repeat it. No, nothing smart about it

Last edited by parkher; 12-09-2021 at 06:09 PM.
parkher is offline   Reply With Quote