Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2009, 11:26 PM   #1
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
html table handling in v0.4.124

Hi, I recently switched from v0.4.120 to v0.4.124. I noticed that there are differences in html table handling between the two versions when converting from html to LRF. i.e. the latter version seems to have lost table formatting in the conversion. I attach two images to illustrate--the image on the left shows a table resulting from an html-to-LRF conversion using v0.4.120, the image on the right using v0.4.124. No changes to the html source was done between the two versions. It almost seems like the <table></table> tags are ignored in v0.4.124, but I'm just guessing.
Attached Thumbnails
Click image for larger version

Name:	calibra_table_v120.png
Views:	283
Size:	65.4 KB
ID:	20456   Click image for larger version

Name:	calibre_table_v124.png
Views:	320
Size:	23.2 KB
ID:	20457  
Seabound is offline   Reply With Quote
Old 01-04-2009, 01:49 AM   #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,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Are you using the render table as images option?
kovidgoyal is offline   Reply With Quote
Advert
Old 01-04-2009, 02:08 AM   #3
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
No, I did not use that option for these examples.

Although, just today, I experimented with that option, but it was taking unusually long that I just aborted the jobs.
Seabound is offline   Reply With Quote
Old 01-04-2009, 02:17 AM   #4
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,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Post the log from the conversion
kovidgoyal is offline   Reply With Quote
Old 01-04-2009, 03:23 AM   #5
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Quote:
Originally Posted by kovidgoyal View Post
Post the log from the conversion
I'm not sure if this is what you asked for, but here are the contents of the calibre.log file (without using the render tables as image option):

Quote:
Building file list...
Parsing Gutenberg\Jules_Verne\Around_the_World_in_80_Days_ 505test2.htm
Open ebook created in c:\users\seabound~1\appdata\loca\temp\calibre_0.4. 124_8doaz9_create_oebzip
Output saved to c:\users\seabound~1\appdata\loca\temp\calibre_0.4. 124_twlnkt_plugin_html2zip.zip
Let me know if you need something else.
Seabound is offline   Reply With Quote
Advert
Old 01-04-2009, 12:12 PM   #6
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,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No I meant the log from the conversion. Get it by clicking the hourglass icon and then double clicking the job name
kovidgoyal is offline   Reply With Quote
Old 01-04-2009, 02:08 PM   #7
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Quote:
Originally Posted by kovidgoyal View Post
No I meant the log from the conversion. Get it by clicking the hourglass icon and then double clicking the job name
Oh! Sorry, I learn something new everyday. Here's the output when I double-click on the job name:

Quote:
Job: Convert book: Around the world test2
Found ebook in archive: u'c:\\users\\seabound~1\\appdata\\local\\temp\\cal ibre_archive_lsuu7_\\content\\Around_the_World_in_ 80_Days_505test2.htm'
Processing u'Around_the_World_in_80_Days_505test2.htm'
Parsing HTML...
Converting to BBeB...
An error occurred while processing a table: AttributeError("'module' object has no attribute 'tt0011m_'",). Ignoring table markup.
An error occurred while processing a table: AttributeError("'module' object has no attribute 'tt0011m_'",). Ignoring table markup.
An error occurred while processing a table: AttributeError("'module' object has no attribute 'tt0011m_'",). Ignoring table markup.
An error occurred while processing a table: AttributeError("'module' object has no attribute 'tt0011m_'",). Ignoring table markup.
Rationalizing font sizes...
Output written to c:\users\seabound~1\appdata\local\temp\calibre_0.4 .124_44uoqr.lrf
Seabound is offline   Reply With Quote
Old 01-04-2009, 02:47 PM   #8
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,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Ah looks like a windows only regression, can you open a bug report and I'll fix it when I get time.
kovidgoyal is offline   Reply With Quote
Old 01-04-2009, 02:51 PM   #9
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Will do. Thank you, Kovid!
Seabound is offline   Reply With Quote
Old 01-05-2009, 11:08 PM   #10
Seabound
Steerage Class
Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.Seabound ought to be getting tired of karma fortunes by now.
 
Seabound's Avatar
 
Posts: 711
Karma: 505995
Join Date: Mar 2008
Location: Pacific Northwest, USA
Device: Won't fit here anymore, see sig for a list of liseuses.
Fixed in v0.4.126! Kovid rocks!
Seabound is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyone know how to convert a pdf table into a table in Word or HTML? BasilC Workshop 7 06-25-2010 01:02 AM
Table of Contents - html to Mobi problem thames Calibre 3 06-02-2010 07:24 PM
Forget coffee table books-- how about a kitchen table book? ardeegee Lounge 10 12-02-2009 12:00 PM
Problem with converting very simple HTML file with table frabjous Calibre 3 09-18-2009 02:36 PM
Can't open new version 124 on Mac 10.5 Mitchll Calibre 1 01-03-2009 09:34 AM


All times are GMT -4. The time now is 08:54 AM.


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