05-18-2011, 02:22 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2011
Device: nono
|
Epub to Mobi (calibre) Table dosen't show
Hi!
I converted an .epub to .mobi with calibre and it works perfect, BUT the tables dosen't show, only therir content. Any idea on how to fix this? I use Notepad++ to build and edit the epub file. Can the prolem be on the code? Thanks |
05-18-2011, 04:32 PM | #2 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Did you define border="1"
|
Advert | |
|
05-20-2011, 03:11 PM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: May 2011
Device: nono
|
No, I didn't, that was the problem I had changed thar value several times, using the same format of border of the other parts of the table without success. It's true what they say, simplify the code and it will all work :P
Thanks! I hope not to fall to another stupid mistake like this one :P |
05-25-2011, 11:03 AM | #4 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
I also have seen issues with getting table borders to work. Using InDesign, a CSS style is produced for tables and this is what I modified in the .epub generated file:
table.Lined-Table { border-collapse : collapse; border-width : 1px; border : 1; border-style : solid; border-color : #000000; margin-top : 0px; margin-bottom : 0px; } The table content shows just fine -- the border doesn't in the resultant .mobi using calibre v0.8.1. Odd, when I view the modified .epub using Adobe Digital Editions or even the calibre internal viewer, the tables render as I'd expect. It is only the resultant conversion to .mobi. Help? |
05-25-2011, 11:51 AM | #5 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
Advert | |
|
05-27-2011, 08:16 AM | #6 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
Thank you - I appreciate that. Good information to know about the mobi format, but there is an Amazon InDesign to Kindle plug-in that does work with tables and it does put a nice border around tables. The calibre to mobi format conversion does not. Mmmm...anyone know how to get the .mobi format specification?
Thanks, Ken |
05-27-2011, 09:25 AM | #7 | ||
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
It's proprietary. Much has been guessed at and reverse engineered by others, but there are still unsolved mysteries. You can check out what is known on the format wiki here at MobileRead. Quote:
But if you already have InDesign with the Kindle plugin, why are you using calibre to convert your books to mobi? I love me some calibre, but I'm going to use Amazon's official mobi creation software (if they're available to me) to ensure maximum compatibility for ebooks that are going to be read on their devices and apps. Last edited by DiapDealer; 05-27-2011 at 11:01 AM. |
||
05-27-2011, 11:19 AM | #8 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
Dale |
|
06-03-2011, 02:18 PM | #9 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
Hi. Well, I am actually using both Amazon InDesign Kindle Plug-in and EPUB export. Why? The KPI is still in beta and there are some significant issues still and probably isn't up to date with ID CS5.5 EPUB (in combination with calibre for .mobi conversion) is extremely stable and most recently the EPUB export has been dramatically overhauled.
Thanks for the advice about unpacking .mobi. |
06-13-2011, 10:35 AM | #10 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
News flash -
Based on my initial post. I use InDesign's EPUB Export feature to produce an .epub. Uncompressing the .epub I adjusted the CSS definitions to include what should have produced a table border: border-style : solid; border-width : 2px; I tried all sorts of other CSS border definition combinations. None of them worked. Thanks to Grey's comments I did the unthinkable and added the border="1" to all the <table> occurrences in my HTML source document tag and re-compressed into a new .epub file. I ran it back through calibre to convert to .mobi and voila! It worked. Every table now has a border (including each cell). If I am missing a statement that I should put into my .css definition instead please let me know (I tried the "border : 1px solid black" and other variations), please let me know. This is a kludge, but at least it makes tables look like tables again! |
06-15-2011, 06:20 AM | #11 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Mobi doesn't support CSS - what happens is that the various Mobi creation tools attempt to convert CSS into the appropriate tag attributes, so it's a question of how well (or otherwise) the various tools carry out this conversion.
If you want the maximum flexibility, you're best off avoiding CSS (and this conversion process) and directly coding the attributes in the HTML tags, as you've done in the example you quote. |
06-24-2011, 08:55 AM | #12 |
Member
Posts: 16
Karma: 10
Join Date: Jan 2011
Device: Kindle
|
Thank you guys! You all fixed it in 0.8.6. Next week I am definitely donating a wad of loot to the cause. I am extremely happy!
Software Maniac author of Indesign to Kindle Seattle, WA |
06-24-2011, 09:48 AM | #13 | |
Grand Sorcerer
Posts: 27,545
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub to Mobi, table is converted properly | ebookuser | Conversion | 1 | 05-10-2011 03:45 AM |
ePub or HTML to Mobi Table of Contents problem | Dark123 | Conversion | 2 | 05-08-2011 03:43 PM |
Calibre and mobi format - creating a paige or location specific table of contents | coaver | Conversion | 2 | 01-25-2011 05:22 AM |
Table of contents problem converting from mobi to epub | dlmecum | Calibre | 7 | 01-21-2011 07:07 PM |
[Calibre]Table des matiere .mobi ? | androgyn3 | Software | 14 | 01-13-2010 09:46 AM |