Thread: LRF output
View Single Post
Old 10-06-2007, 03:58 PM   #486
danx
Junior Member
danx began at the beginning.
 
danx's Avatar
 
Posts: 4
Karma: 10
Join Date: Oct 2007
Location: San Diego, CA, US
Device: Palm Pilot m130
Quote:
Originally Posted by kovidgoyal View Post
html2lrf does support images. See for example the demo lrf file attached in the first post of this thread. Probably there is something missing in your installation of the python imaging library. Try running html2lrf with the --verbose flag.
I think I know the problem--the images are inside tables (for positioning and captions) and it appears the table contents are ignored because it's "too large" (an image):

html2lrf --verbose -o matthes.lrf -t "Francois Matthes and the Marks of Time" -a "Francois E. Matthes" matthes.html

Processing matthes.html
Parsing HTML...
Converting to BBeB...
An error occurred while processing a table: Table has cell that is too large. Ignoring table markup.
Output written to /local/apache/htdocs/yosemite/library/matthes/matthes.lrf

html2lrf --version
libprs500 0.4.7


Here's a typical table with an image:

<table border="0" align="right"><tr>
<td align="center">
<a href="images/dust_jacket.jpg">
<img src="images/thumbnail/dust_jacket.jpg"
alt="François Matthes and the Marks of Time, dust jacket"
width="576" height="411" border="0" /></a>
<br />
<a href="images/dust_jacket.jpg">
<span class="small"><i>Dust jacket</i></span></a>
</td>
</tr></table>
danx is offline   Reply With Quote