05-15-2012, 11:42 PM | #1 |
Jeffrey A. Carver
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
|
Problem with block indentation on conversion to mobi
Hi all -- I've been preparing a story for upload, including to the Kindle store, and I ran across a problem I've not noticed before. I have a block of quoted text that's indented from both left and right. The indentation looks good in Word, in html, in epub (at least in ADE), but not in mobi.
The mobi version displays with no indentation on the right, so the thing looks lopsided. This is true in K4PC and in Kindle previewer, and in Mobi Reader. I saw one website stating that Kindle does not support right indentation. That would seem weird, but is it true? (Also, the epub shows the same behavior in the Calibre viewer. But it's okay in ADE.) |
05-16-2012, 12:02 AM | #2 | |
Well trained by Cats
Posts: 29,768
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
I believe Calibre conversion of EPUB->Mobi would take care of this |
|
Advert | |
|
05-16-2012, 02:22 AM | #3 |
Jeffrey A. Carver
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
|
|
05-16-2012, 02:29 AM | #4 |
creator of calibre
Posts: 43,835
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
theducks is right in that the only way to achieve margins in mobi is with <blockquote>. But Kindle renderers do not render right margins on blockquotes. So you will get only left margins.
|
05-16-2012, 02:38 AM | #5 | |
Jeffrey A. Carver
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
|
No, I don't think that's the solution (unless I'm misunderstanding). I went back to the html and added blockquotes around the paragraph that was already marked as a blockquote CSS style. Same result. Added another set of blockquotes around it. Same result.
This website says that Kindle formatting doesn't support right margins... http://kindleformatting.com/faq.php#faq8 Quote:
|
|
Advert | |
|
05-16-2012, 02:40 AM | #6 | |
Jeffrey A. Carver
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
|
Quote:
Thanks. |
|
05-16-2012, 04:53 PM | #7 |
Grand Sorcerer
Posts: 5,885
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Problem with block indentation on conversion to mobi
Maybe a centered graphic would work for you (if you can find a font size that looks ok no matter what the person reading it does to the font size his reader displays).
|
05-16-2012, 05:15 PM | #8 | |
Jeffrey A. Carver
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
|
Quote:
I think I'll either live with the misalignment, or remove the indentation altogether and italicize the paragraph. |
|
05-16-2012, 05:37 PM | #9 | |
Grand Sorcerer
Posts: 5,885
Karma: 464403178
Join Date: Feb 2010
Location: 33.9388° N, 117.2716° W
Device: Kindles K-2, K-KB, PW 1 & 2, Voyage, Fire 2, 5 & HD 8, Surface 3, iPad
|
Problem with block indentation on conversion to mobi
Quote:
|
|
05-17-2012, 05:51 PM | #10 |
Writer
Posts: 101
Karma: 590630
Join Date: Mar 2011
Location: Munich, Germany
Device: none
|
Can't you use a table for the block quote?
Table width less than 100% and aligned center. And margins on both sides of the table. George |
05-17-2012, 06:41 PM | #11 |
Jeffrey A. Carver
Posts: 1,355
Karma: 1107383
Join Date: Aug 2008
Location: Massachusetts, USA
Device: Lenovo Yoga Tab Plus, Droid phone, Nook HD+
|
|
05-17-2012, 08:41 PM | #12 |
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
There is some support, but rendering varies significantly between different readers and apps. In general, they should be avoided. More importantly, Kindle publishing guidelines state that tables should never be used for formatting.
|
05-18-2012, 02:31 AM | #13 |
Writer
Posts: 101
Karma: 590630
Join Date: Mar 2011
Location: Munich, Germany
Device: none
|
Tables are not forbidden in general.
There is some information at the Mobipocket Developer Center at http://www.mobipocket.com/dev/articl...ile=tables.htm Quote: "Table tags have to be used only when displaying tabular data and not like in Web page authoring for layout purposes. There is no exception to this rule." If you consider the block quote as content of a cell, that means tabular data, and the table is not empty just for layout purposes, then I would say it is OK. But: Quote: "Table parsing and display is very CPU intensive and is slow compared to any other HTML tag. Moreover, the Mobipocket reader can handle tables that are larger than the screen but the user experience becomes worse as the table size grows. You should therefore avoid large tables." And: "A table with a lot of text in one cell will not work well. If a single table cell does not fit into the screen, it will not be paginated and content will be lost." So I would give it a try for just a block quote. George |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub "padding left" to mobi "block quote" conversion issue | 1611mac | Conversion | 3 | 01-11-2012 02:10 PM |
Conversion to mobi problem | antwarrior | Kindle Formats | 1 | 09-16-2011 06:06 PM |
Conversion to .mobi problem | Byrd | Conversion | 5 | 08-23-2011 06:35 AM |
Problem with conversion epub to mobi | johnnyb | Conversion | 20 | 06-09-2011 11:19 AM |
PDF conversion & indentation | Shiren | Calibre | 5 | 12-11-2008 02:09 PM |