Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-24-2011, 11:13 PM   #1
HoushaSen
Junior Member
HoushaSen began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2011
Device: IPAD 2
HTML to EPUB Inline Text/Image Issue

I have been waiting to see if this issue gets fixed by various EPUB Reader applications, but so far no luck. Mainly, ADE. I wonder if this is something from Calibre's side to fix this issue.

So my issue is converting image and text containing table. For instance, below will result in truncated image on ADE, or text overlapping on the image etc.

<tbody><tr><td class="FIGURE-COL1" valign="top"><img src="da1c1ff2.png" height="446" width="550" border="0"></td></tr><tr><td class="FIGURE-COL2" valign="top"><div class="P"><div class="P"><span class="emph_BIT">FIGURE 1.2.</span> <span class="emph_B">Blah.</span>
Blah Blah Blah.</div></div></td></tr></tbody>

I know this is not issue with calibre side itself but unfortunately so many readers (Android) just cannot handle this, but I have so many books that have similar lines.

Does anyone have any idea how to overcome this issue?
HoushaSen is offline   Reply With Quote
Old 06-24-2011, 11:15 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: 43,850
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Try using the linearize tables conversion option in calibre
kovidgoyal is offline   Reply With Quote
Advert
Old 07-02-2011, 08:03 PM   #3
HoushaSen
Junior Member
HoushaSen began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2011
Device: IPAD 2
Solved

Thank you the reply.

Linealize table will break the other tables i.e. actual table formatted data I had in the book.

But I found the issue and fixed it.

For future reference, for anyone having the same issue. The stylesheet created by Calibre somehow specified height of the table cell. I chose output EPUB target as Tablet, so presumably should not have done any rescaling but still had that height specified. Calibre EBook reader somehow ignores it or smart enough to know the height is not enough to display all contents within the cell so it still showed up fine. But ADE did not. Therefore, created weird appearance of text over the images or images truncated etc.

So all I had to do was go into the style sheet in the corresponding element (mine was .calibre23) just deleted height section.

I wonder if Calibre has option to actually set so that it will not insert this. Perhaps there is, but I could not find one.
HoushaSen is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
html to epub - input issue jwalk Conversion 4 06-07-2011 03:10 PM
HTML to EPUB - Cailbre Image Compression Kevsgreat Conversion 3 05-21-2011 08:29 PM
Inline css not handled correctly by HTML to epub? kiwidude Conversion 7 04-04-2011 09:59 AM
Image Color issue in PDF to EPUB simplysanthakuma Calibre 2 07-07-2010 05:28 AM
Epub cover image issue vipinpa ePub 18 05-25-2010 12:28 AM


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


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