![]() |
#1 |
Enthusiast
![]() Posts: 30
Karma: 12
Join Date: Jun 2012
Device: Ipad mini + Kindle Touch
|
EPUB to MOBI blockquote problems
Hi
After successfully managing to convert a CHM file to an EPUB file I had a very good result. There are just two small but repetitive problems when converting it from EPUB to MOBI using Calibre. I am still trying to sort this and am hoping someone else has had a similar problem. I converted first to EPUB so that I could use Sigil to edit any errors. The problems seem to be caused by the <blockquote> tag when looking at the EPUB file using Sigil. The EPUB file converted from CHM seems to use this as the equivalent of a tab on WORD. Sigil's WYSIWYG view shows no errors but when converting to MOBI my Kindle has the following two problems. 1.) Wording for Notes, Tips and Cautions are indented far too much on the Kindle. 2.) Entries on a listing using either numbers or no numbers have a break after the number or symbol the text on the next line The code on Sigil looking to cause the first problem is as follows <table border="0" class="calibre16" valign="top"> <tr class="calibre17" valign="top"> <td class="calibre18" valign="top"></td> <td class="calibre18" valign="top"><span class="bold calibre19"> Note  ;</span></td> <td class="calibre18" valign="top"> <blockquote class="calibre32"> 'wording for note' </blockquote> </td> </tr> </table> Initially there were as many as three blockquotes in a row but reducing this to one partly solved the problem. There is still a gap of around 1.3 cm The code on Sigil looking to cause the second problem is as follows <ol class="calibre58"> <li class="calibre41" value="1"> <blockquote class="calibre32"> wording for line </blockquote> </li> </ol> I will be gratefull in anyone had any advice. Cheers Goggs75 |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() Posts: 30
Karma: 12
Join Date: Jun 2012
Device: Ipad mini + Kindle Touch
|
Hi
I thought I better let you know I have solved problem no 2. After reading various items on the internet I found out that my Kindle does not support listings very well when a CSS sheet is involved. The original code was as follows: <ol class="calibre58"> <li class="calibre41" value="1"> <blockquote class="calibre32"> wording for line </blockquote> </li> </ol> I stripped this back to: <ol> <li> wording for line <br /><br /> </li> </ol> and it has stopped the number (or symbol when <ul>) causing a break before the wording relevant to the line. I am still trying to solve problem number 1. Cheers Goggs75 |
![]() |
![]() |
![]() |
#3 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,123
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Mobipocket does not support right margin so blockquotes will only give you a left margin.
You could convert the ePub to KF8 if you want proper blockquotes. Might solve your other problems too. |
![]() |
![]() |
![]() |
#4 |
Enthusiast
![]() Posts: 30
Karma: 12
Join Date: Jun 2012
Device: Ipad mini + Kindle Touch
|
Hi
I have now managed to solve problem (1) also. Again by stripping <blockquote> out and the class names not required then inserting a column width. The new code is as follows: <table border="0" width="100%"> <tr> <td class="bold calibre19" width="70px">Note</td> <td> wording for note <br /></td> </tr> </table> I like Calibre for conversion but the addition of a <blockquote> seems be a bug when converting from EPUB to MOBI for use on a Kindle. Cheers Goggs75 <table border="0" <tr> <td class="calibre18" valign="top"></td> <td class="calibre18" valign="top"><span class="bold calibre19"> Note  ;</span></td> <td class="calibre18" valign="top"> <blockquote class="calibre32"> 'wording for note' </blockquote> </td> </tr> </table> |
![]() |
![]() |
![]() |
#5 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,123
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Like I said, convert to KF8/AZW3 and your blockquote will work.
|
![]() |
![]() |
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 383
Karma: 65460
Join Date: Jun 2011
Device: Kindle
|
|
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,123
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
This will display correctly on a Kindle Fire, Kindle Touch, and Kindle Blah. The other Kindles only support Mobipocket and no right margin.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePUB to mobi - problems with ToC | odzio | Kindle Formats | 19 | 03-12-2013 04:11 AM |
ODT or HTML -> MOBI: Blockquote and other issues | Messiah | Conversion | 2 | 02-26-2012 10:47 AM |
Two problems converting ePub to mobi | AlexBell | Conversion | 3 | 05-26-2011 04:38 AM |
Mobi to Epub problems | Ptop | Workshop | 3 | 04-23-2011 05:44 PM |
epub to mobi conversion problems | rcdc | Calibre | 5 | 09-18-2010 02:29 AM |