12-02-2012, 07:34 AM | #1 |
Connoisseur
Posts: 80
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kindle Paperwhite 2018
|
Epub to mobi replaces indents with 'oo'
Hey guys, I'm working with Calibre 9.6 and trying to convert an epub file to mobi. The epub is perfectly formatted, but when it comes out as a mobi there is a 'oo' in place of every paragraph indent.
Removing spacing and setting an indent didn't fix the problem, just meant that there was an indent and then the 'oo'. Does anyone know how to fix this? |
12-02-2012, 08:09 AM | #2 | |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
but either means that the line probably did not have a normal indent, but used some kludge to look like an indent Use the calibre book viewer and 'inspect' (a right-click option) and see the code. normal: <p class='calibre3">"I say!"</p> copy and paste the full (short one please) tag to tag line here if you need help decoding |
|
12-02-2012, 08:33 AM | #3 | |
Connoisseur
Posts: 80
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kindle Paperwhite 2018
|
Quote:
I'm not AT ALL sure this is what you asked for (I really don't know much about any kind of coding D but there's this...? <p class= "normal-with-overrides1"> "00" <span class= "normal"> ... </span> ? |
|
12-02-2012, 08:50 AM | #4 | |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It is almost like a 'null' (ASCII 00) got converted weird. what is also weird is there was a 'null' to convert I don't use Caliber's (conversion) search and replace so someone else will need to help, because I only use sigil's to fix content issues. If the stylesheet (.normal-with-overrides1) has the proper indent: text-indent: <value>; removing quote 00 quote should be trivial (as fixing the stylesheet. UNLESS: normal-with-overrides1 is not supposed to be indented in other places. Then, we need to replace Code:
<p class= "normal-with-overrides1"> "00" Code:
<p class= "normal-with-overrides1x"> |
|
12-02-2012, 09:32 AM | #5 | |
Connoisseur
Posts: 80
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kindle Paperwhite 2018
|
Quote:
Oh, I can definitely switch to Sigil if that's easier, I've used that program before. Let's see... Yep, much easier than Calibre! It looks like this <p class="normal-with-overrides1">00<span class="normal">The pacing queen directed ministers and physicians to the crib. They listened to her breathing and her hummingbird heart, felt her fierce grip and her tiny fingers soft as salamander skin. All was sound. But her eyes did not open.</span></p> So what you're saying is I should do a search-and-replace function on the 00s, just get rid of them? |
|
12-02-2012, 12:37 PM | #6 | |
Well trained by Cats
Posts: 29,818
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Code:
(?sm)(<p class= "normal-with-overrides1">)\s+"00" Code:
\1 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
18MB EPUB converts to 40MB Mobi! What can I do to reduce Mobi file size? | perdman | Conversion | 11 | 12-09-2017 04:18 AM |
keeping original epub indents | arslonga | Conversion | 5 | 04-09-2012 10:38 PM |
Indents and hanging indents in epub poetry | Derek R | ePub | 14 | 02-19-2012 04:43 AM |
PML to EPUB - indents and scene breaks | snarkophilus | Conversion | 1 | 12-26-2011 01:02 PM |
Calibre nuking para indents from epub->mobi | Hitch | Calibre | 2 | 09-09-2010 09:11 PM |