![]() |
#301 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,363
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You have my word.
|
![]() |
![]() |
![]() |
#302 |
Technogeezer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,233
Karma: 1601464
Join Date: Nov 2006
Location: Virginia, USA
Device: Sony PRS-500
|
|
![]() |
![]() |
Advert | |
|
![]() |
#303 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,763
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#304 |
The Introvert
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Do I understand it right, that I can use lib500prs windows installer which has GUI interface instead of Connect software?
I am going on holiday in a few days and I am taking my laptop with me. It does NOT have Connect software atm but I might want to charge my reader via USB, so I need a software that would recognise the reader. If I install lib500prs and it will allow me to charge the reader I would like to install it. Good opportunity to explore the program without messing Connect software. |
![]() |
![]() |
![]() |
#305 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,363
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah it will allow you to charge your reader.
|
![]() |
![]() |
Advert | |
|
![]() |
#306 |
The Introvert
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,307
Karma: 1000077497
Join Date: Jan 2007
Location: United Kingdom
Device: Sony Reader PRS-650 & 505 & 500
|
Thanks.
I will install it tomorrow evening ![]() |
![]() |
![]() |
![]() |
#307 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,363
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
v 0.3.83 is on its way to the servers:
1) --blank-after-para 2) bug fixes 3) internal re-organization that may have introduced some regressions 4) increased default para indent |
![]() |
![]() |
![]() |
#308 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2007
Device: SONY PRS-500
|
Got an error
Hi,
I used this tool to convert a big HTML file (30M with images). However, I got the following error after a while: Processing 0-201-63354-X_Joined.htm Parsing HTML... done Converting to BBeB...Unhandled/malformed CSS key: text-align left Traceback (most recent call last): File "convert_from.py", line 1453, in <module> File "convert_from.py", line 1387, in main File "convert_from.py", line 1288, in process_file File "convert_from.py", line 377, in __init__ File "convert_from.py", line 461, in parse_file File "convert_from.py", line 672, in process_children File "convert_from.py", line 1196, in parse_tag File "convert_from.py", line 672, in process_children File "convert_from.py", line 1196, in parse_tag File "convert_from.py", line 672, in process_children File "convert_from.py", line 1194, in parse_tag File "convert_from.py", line 1205, in process_table File "libprs500\ebooks\lrf\html\table.pyo", line 359, in blocks IndexError: list assignment index out of range Could you help me with that? Thanks! Last edited by flyneo; 08-05-2007 at 08:31 PM. |
![]() |
![]() |
![]() |
#309 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,363
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Attach the html file or send it to me.
|
![]() |
![]() |
![]() |
#310 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2007
Device: SONY PRS-500
|
Thanks for the quick reply. Please see the attachment for the file that caused the problem. This is the main file I passed to html2lrf. There are some additional files which I can send to you if needed.
Basically what I was doing is convert a tech book which is in chm format into a lrt file. There are more than 1000 pages and hundreds of images and tables with the chm book. I firstly decompiled it using 'hh' to a bunch of html files and images. Then I joined these html files using BookDesigner into a few files. And passed the joined html file to html2lrf converter. Before doing this, I also tried to pass the original html files directly to html2lrf without joining. But the program ran for about an hour then exit with errors. Again thank you for the help! |
![]() |
![]() |
![]() |
#311 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,363
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This file seems to use tables for formatting included nested tables.html2lrf supports only simple tables. Try using the --ignore-tables option.
|
![]() |
![]() |
![]() |
#312 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2007
Device: SONY PRS-500
|
It works great now. Thanks a lot!
|
![]() |
![]() |
![]() |
#313 | |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2007
Device: Sony Reader PRS-500
|
CSS for <pre> tags gives "Unhandled/malformed CSS key" errors
If you have CSS declared for <pre> tags, you will get errors.
HTML File: Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <HTML> <HEAD> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Bug Testing</title> <link rel="stylesheet" href="bugtest.css" type="text/css" /> </head> <body> <pre>Some Stuff</pre> </body> </html> Code:
pre { border: solid 1px #444; background-color: #e0e0e0; padding: 0.1in; margin: 0.2in; clear: right; } Quote:
|
|
![]() |
![]() |
![]() |
#314 | ||
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2007
Device: Sony Reader PRS-500
|
More complete error messages
I keep getting the error
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#315 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,363
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The CSS messages are not error they just indicate that those CSS properties have been ignored.
The tables error message is most likely generated because of a complex and/or nested table. I'll output the first hundred characters of the table tag in the next version, but line numbers are not going to be possible because of the way the html parser is designed. |
![]() |
![]() |
![]() |
Tags |
html2lrf, libprs500 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Change font of header for LRF Output on PRS 505 | duckbill | Calibre | 3 | 05-15-2010 11:07 AM |
Pissed off with LRF formatting: LRF/LRS clean tool? | grimborg | LRF | 8 | 02-15-2010 01:14 PM |
Fonts for LRF output | krischik | Calibre | 1 | 10-03-2009 05:01 AM |
CBZ > LRF (LRF>HTML/MOBI????) | sideburnt | Calibre | 4 | 09-15-2009 06:44 AM |
libprs500 Issues Converting .LIT to .LRF - .LRF crashes everything | vasbinde | Calibre | 6 | 02-14-2008 12:16 PM |