![]() |
#406 |
Connoisseur
![]() Posts: 57
Karma: 50
Join Date: Jun 2007
Device: Sony Reader PRS-500
|
I made it work. Thank you so much for your help. And thank you making this great tool. Without dedicated people like you, we would have never been able to break out of the Sony Connect prison ...
|
![]() |
![]() |
![]() |
#407 |
Lovin' the e-book life...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 633
Karma: 2509
Join Date: Nov 2006
Location: Colorado
Device: Ebookwise 1150, Sony PRS-505, Amazon Kindle, BeBook (with OpenInkpot)
|
Holy crap! We are at version 3.99!! Does that mean the 4.0 GUI version is almost here?!
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#408 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Yeah there's basically only one thing left i have to implement.
|
![]() |
![]() |
![]() |
#409 |
Connoisseur
![]() Posts: 57
Karma: 50
Join Date: Jun 2007
Device: Sony Reader PRS-500
|
May I bug you with yet another question.
Is there a way you could define a style that would take the first letter of a paragraph and make it a drop cap. I've seen a couple of similar style that does this but it's not compatible with your converter here is one: p.drop { text-indent: 0em; margin: 0em; } p.drop:first-letter { font-size : 165%; font-weight : bold; width : .50em; } I've been using your <p><big class='libprs500_dropcaps'></big> but I don't know how to turn that into a style. And one last question ... what would be the command to make text smaller (that is accepted by html2lrf). Last edited by angelyne; 08-19-2007 at 02:15 PM. |
![]() |
![]() |
![]() |
#410 | |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#411 |
Connoisseur
![]() Posts: 57
Karma: 50
Join Date: Jun 2007
Device: Sony Reader PRS-500
|
Have done so. Thank you. It's ticket 167
|
![]() |
![]() |
![]() |
#412 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
I just created ticket #168 because I have a LIT file that HTML2LRF hangs on big time. I've attached the LIT file also. And I did try version 0.3.101. |
|
![]() |
![]() |
![]() |
#413 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It doesn't hang, it just takes a long time...about 20mins on my 3GHZ machine. That's because newer version of html2lrf optimize memory usage at the expense of running time, and that lit file has some seriously messy HTML.
|
![]() |
![]() |
![]() |
#414 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
hhhmm... Ok, I'll try again and this time leave it running. Thanks!
|
![]() |
![]() |
![]() |
#415 |
Technophile
![]() ![]() ![]() ![]() ![]() ![]() Posts: 206
Karma: 617
Join Date: Mar 2007
Location: Land of Lincoln
Device: Kobo Sage. Ex Sony (PRS-500, -600, -650 and Nook)
|
|
![]() |
![]() |
![]() |
#416 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#417 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
|
|
![]() |
![]() |
![]() |
#418 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I think I did, though I haven't tested it.
|
![]() |
![]() |
![]() |
#419 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
|
|
![]() |
![]() |
![]() |
#420 |
Minister of Linux
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 196
Karma: 73235
Join Date: Jul 2007
Location: Winter Haven, Florida, USA
Device: nook, T-Mobile MyTouch 3G Slide
|
I haven't used html2lrf in a while. I'm trying to help my friends at almudi.org to convert the breviary in Latin to BBeB format since they graciously loaned me the source files. I have a folder of html files (all linked together) to convert and I'm getting the following error back from the latest version as of this post:
Code:
[INFO] convert_from.py:187: Processing completorium.html Parsing HTML... [INFO] convert_from.py:205: Converting to BBeB... Traceback (most recent call last): File "/usr/bin/html2lrf", line 8, in <module> load_entry_point('libprs500==0.3.103', 'console_scripts', 'html2lrf')() File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 1576, in main File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 1493, in process_file File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 177, in __init__ File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 219, in start_on_file File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 322, in parse_file File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 528, in process_children File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 1376, in parse_tag File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 528, in process_children File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 1376, in parse_tag File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 528, in process_children File "build/bdist.linux-i686/egg/libprs500/ebooks/lrf/html/convert_from.py", line 1209, in parse_tag UnboundLocalError: local variable 'pcss' referenced before assignment Code:
html2lrf -t "Liturgia Horarum: ad Completorium" -a "Ecclesia Catholica" --publisher="almudi.org" --header --headerformat=%t --link-levels=1 --disable-chapter-detection --verbose ./completorium.html |
![]() |
![]() |
![]() |
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 |