02-10-2021, 10:13 AM | #1 |
Enthusiast
Posts: 35
Karma: 2119794
Join Date: Jan 2016
Device: Kindle Paperwhite 2019
|
Conversion question - adding indents and removing blank lines
I use Calibre to convert ebooks to AZW3 format for my Kindle, and from time to time I encounter files that have two properties I'm not fond of:
1. No indents at the beginning of paragraphs. 2. Blank lines between paragraphs. I prefer the formatting of my ebooks to mimic that of my print books as closely as possible, so the above can get annoying at times. I can fix this on a per-book basis by importing the book into Word, tweaking the formatting, and exporting back out to AZW3, but I'd really prefer not to do that for my entire library. Can Calibre be configured to spot formatting like this and fix it on the fly during the conversion process? |
02-11-2021, 12:56 AM | #2 |
Book E d i t o r
Posts: 432
Karma: 288184
Join Date: May 2015
Device: Laptop
|
Yes, you can configure Calibre to do these things, by adding entries into the Extra CSS and Transform Styles portions under Common Options/Look and Feel.
Here's a link to get you started: https://manual.calibre-ebook.com/con...n.html#styling Last edited by deback; 02-12-2021 at 08:57 AM. |
Advert | |
|
02-11-2021, 01:15 AM | #3 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
There are options on the "Layout" tab of the "Look & Feel" page of the conversion options to do this. You can have calibre remove the space between the paragraphs and how much indent to use.
But, it needs some experimenting as the book could be doing it in another way. I have a few books that put an empty paragraph between each paragraph. That has to be removed in the editor. |
02-11-2021, 06:33 AM | #4 |
Resident Curmudgeon
Posts: 74,033
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you are converting an ePub to KF8 (AZW3), load the ePub into the Calibre editor and fix the CSS to remove the paragraph spaces and add indents. Then you don't have to convert and text until you get it how you want as it will already be as you want.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre is removing my blank lines | Harks09 | Conversion | 16 | 01-29-2020 09:50 AM |
Blank Lines in MOBI-Conversion | ulrichbi | Conversion | 3 | 01-19-2012 04:50 AM |
Adding indents / removing line spacing for news | jubcoo | Calibre | 4 | 10-27-2010 04:39 PM |
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) | David Derrico | Calibre | 5 | 08-04-2010 12:13 AM |
Removing blank lines between paragraphs? | corroonb | Workshop | 3 | 08-13-2009 04:23 PM |