06-20-2011, 08:57 AM | #1 |
Evangelist
Posts: 436
Karma: 125599
Join Date: Feb 2011
Location: Bensalem, PA
Device: Kindle Paperwhite, nook Glowlight Plus, Apple iPad Air 2
|
ePub to Mobi issues with tables
Ok I bought "The New Atkins for a New You." from the nook.com for my wife's nook. The book contains a number of tables with shading, and throughout the book they give example paragraphs that have a grey background and a back border around them. When these converted to Mobi, I lose almost all of that formatting.
I have also purchased "Dragons of Autumn Twilight" from nook.com and have gone through the same process to decrypt and convert to mobi for my Kindle (wife has a nook. I have a Kindle). This book is really beautifully formatted. Each chapter starts with a very nice drop cap. When I convert to Mobi, I lose the drop cap, and instead get a large letter that sticks ABOVE the first line. I would like to open a tick for the issue, but I don't want to attach copyrighted books I purchased to the bug report in launchpad. What is the best way to report this kind of issue to help make Calibre a better product? |
06-20-2011, 10:45 AM | #2 |
Wizard
Posts: 4,552
Karma: 950151
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
|
I am not sure that this is a bug at all. Mobi has very limited support for tables, so anything that relies on advanced use of tables to control layout will not convert well to the mobi format.
|
Advert | |
|
06-20-2011, 11:39 AM | #3 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Those are both limitations of the MOBI format.
|
06-20-2011, 01:51 PM | #4 |
Evangelist
Posts: 436
Karma: 125599
Join Date: Feb 2011
Location: Bensalem, PA
Device: Kindle Paperwhite, nook Glowlight Plus, Apple iPad Air 2
|
Is the Dropcap also being done by a table?
Version 0.8.6 readme says: "MOBI Output: Allow setting of background color on tables also set the border attribute on the table if the table has any border related css defined." Made it sound like the table issues I was seeing were addressed. |
06-20-2011, 02:01 PM | #5 |
Evangelist
Posts: 436
Karma: 125599
Join Date: Feb 2011
Location: Bensalem, PA
Device: Kindle Paperwhite, nook Glowlight Plus, Apple iPad Air 2
|
Ok, so I went onto Amazon and pulled down the sample of the same book, and it has proper formatting for these grey shaded paragraphs with borders. I decrypted the azw and converted as a mobi file.
If it doesn't violate any copyright, I would happy to post the 1 chapter sample ePub, the calibre converted mobi output and the 1 chapter sample Amazon mobi gave me into a bug. |
Advert | |
|
06-20-2011, 02:32 PM | #6 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I *really* detest MOBI.
For the 300th time: MOBI is based on HTML 3.2 and has no support for CSS. In HTML 3.2 you can define table borders globally using a BORDER attribute. This border attribute allows setting only the thickness of the table borders. Different MOBI renderers interpret this attribute differently. If the input document defines any border/border-width css for a table, calibre will set the border attiribute to 1, otherwise it will do nothing. The same is true for table backgrounds where HTML 3.2 uses a bgcolor attribute. When you see a MOBI file "with proper formatting" it is not the result of a conversion from EPUB but instead an export from InDesign (or a result of hand coding HTML specifically for MOBI). So in InDesign when you define a "colored paragraph" it is exported to MOBI using special markup. There is no such concept as a "colored block" in epub. Instead display attributes are defined using CSS in far more general ways. There is no way for a converter to convert the css used in the epub to define a colored block to highly limited MOBI markup in a consistent way. Similarly, Dropcaps are created using css. There is no way to do that in MOBI. If you see a dropcaps in a MOBI file, then that file was not converted from an epub. Instead it uses some kind of table hackery or and image. This is only possible when generating the MOBI from a source that defines the dropcaps semantically as a dropcaps. In an epub, a dropcaps is created using instructions like "render this character at a larger font size and float it to the left". There is no way to translate that kind of instruction into a MOBI. If you think there is a bug in the calibre MOBI converter, find an epub file that when converted using kindlegen preserves some feature that the calibre MOBI doesn't. If you can do that, feel free to open a bug. Otherwise, your bug report will be ignored. |
06-20-2011, 02:59 PM | #7 | |
Evangelist
Posts: 436
Karma: 125599
Join Date: Feb 2011
Location: Bensalem, PA
Device: Kindle Paperwhite, nook Glowlight Plus, Apple iPad Air 2
|
Quote:
|
|
06-20-2011, 03:14 PM | #8 |
Evangelist
Posts: 436
Karma: 125599
Join Date: Feb 2011
Location: Bensalem, PA
Device: Kindle Paperwhite, nook Glowlight Plus, Apple iPad Air 2
|
|
06-20-2011, 03:23 PM | #9 |
Evangelist
Posts: 436
Karma: 125599
Join Date: Feb 2011
Location: Bensalem, PA
Device: Kindle Paperwhite, nook Glowlight Plus, Apple iPad Air 2
|
Ok. perhaps I am mistaken. eBook viewer in Calibre doesn't show shading and border. My Kindle itself does not show shading and border. Kindle for PC shows shading and border.
Why can't amazon just use ePub like everyone else does, with their DRM wrapped around it. Looks like Amazon's own mobi rendering engine is not consistent among platforms. |
06-20-2011, 03:26 PM | #10 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I have a special basket where I keep all the hair that I have torn out of my head thanks to Amazon.
|
06-20-2011, 04:45 PM | #11 |
Well trained by Cats
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
06-20-2011, 09:19 PM | #12 | |
Evangelist
Posts: 436
Karma: 125599
Join Date: Feb 2011
Location: Bensalem, PA
Device: Kindle Paperwhite, nook Glowlight Plus, Apple iPad Air 2
|
Quote:
I really want to buy a PRS-950 install PRS+ and be done with this whole mobi mess. If only Duokan did a better job of rendering ePubs... |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting tables to Kindle/Mobi format | jpaulm | Conversion | 3 | 06-10-2011 09:23 AM |
HTML to Mobi conversion with very wide tables and Index tab | sjahangi | Conversion | 0 | 04-21-2011 02:30 PM |
Conversion Issues - PDF/Word to Mobi/ePub | MajC | Conversion | 1 | 02-14-2011 08:27 AM |
TOC links inside tables in epub don't translate in mobi | wannabee | Calibre | 1 | 01-20-2011 01:13 AM |
html to .mobi or .prc. tables & graphics used to be perfect; are now absent. ?? | thorn | Calibre | 0 | 01-23-2010 07:14 PM |