Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-25-2011, 12:26 PM   #1
SoftwareManiac
Member
SoftwareManiac began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jan 2011
Device: Kindle
Exclamation Table Generation loses borders (.mobi conversion)

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?!!!
SoftwareManiac is offline   Reply With Quote
Old 05-25-2011, 12:27 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,465
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
MOBI doesn't support table borders
kovidgoyal is offline   Reply With Quote
 
Advertisement
Old 05-25-2011, 12:30 PM   #3
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,112
Karma: 780247
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
The MOBI format has severe limitations on what it supports for tables. I suspect you are trying to use an unsupported feature.

Note that as MOBI also does not support style sheets Calibre has to make an attempt to convert the stylesheet to standard HTML that is valid in the MOBI format.
itimpi is offline   Reply With Quote
Old 05-27-2011, 09:14 AM   #4
SoftwareManiac
Member
SoftwareManiac began at the beginning.
 
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
SoftwareManiac is offline   Reply With Quote
Old 05-27-2011, 12:17 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,465
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That will alomost certainly be converting the tables to images.
kovidgoyal is offline   Reply With Quote
Old 05-27-2011, 12:32 PM   #6
Manichean
Wizard
Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!Manichean My eyes! My eyes! The light is just too bright!
 
Manichean's Avatar
 
Posts: 3,130
Karma: 80520
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by SoftwareManiac View Post
Mmmm...anyone know how to get the .mobi format specification?
There is some information, along with links to further information, in the wiki.
Manichean is offline   Reply With Quote
Reply

Tags
.mobi, .mobi conversion, kindle, table

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
epub to mobi loses page breaks stevent10993 Conversion 5 07-20-2011 01:43 AM
Pdf loses italics or bold during conversion.. StringJam PDF 4 04-09-2011 08:52 PM
CSS visiblility setting throws of TOC generation in MOBI Guido Henkel Calibre 0 11-01-2010 07:13 PM
command line mobi generation and covers DarkAbsynthe Calibre 2 10-29-2010 11:33 PM
Amazon releases new Linux compatible mobi generation tool anurag News 5 02-01-2010 10:42 PM


All times are GMT -4. The time now is 07:07 PM.


MobileRead.com is a privately owned, operated and funded community.