Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2007, 10:20 PM   #406
angelyne
Connoisseur
angelyne is on a distinguished road
 
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 ...
angelyne is offline   Reply With Quote
Old 08-18-2007, 10:31 PM   #407
tsgreer
Lovin' the e-book life...
tsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with otherstsgreer plays well with others
 
tsgreer's Avatar
 
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?!
tsgreer is offline   Reply With Quote
Old 08-18-2007, 10:34 PM   #408
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: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah there's basically only one thing left i have to implement.
kovidgoyal is offline   Reply With Quote
Old 08-19-2007, 02:12 PM   #409
angelyne
Connoisseur
angelyne is on a distinguished road
 
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.
angelyne is offline   Reply With Quote
Old 08-19-2007, 02:14 PM   #410
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: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by angelyne View Post
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; }
Can you open a feature request at libprs500.kovidgoyal.net and if I get the time I'll do it.
kovidgoyal is offline   Reply With Quote
Old 08-19-2007, 04:01 PM   #411
angelyne
Connoisseur
angelyne is on a distinguished road
 
Posts: 57
Karma: 50
Join Date: Jun 2007
Device: Sony Reader PRS-500
Have done so. Thank you. It's ticket 167
angelyne is offline   Reply With Quote
Old 08-20-2007, 12:02 AM   #412
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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:
Originally Posted by kovidgoyal View Post
Yeah there's basically only one thing left i have to implement.
Make that TWO things that need to be implemented.

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.
JSWolf is offline   Reply With Quote
Old 08-20-2007, 12:26 AM   #413
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: 45,359
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.
kovidgoyal is offline   Reply With Quote
Old 08-20-2007, 01:12 AM   #414
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
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!
JSWolf is offline   Reply With Quote
Old 08-22-2007, 07:05 PM   #415
LaughingVulcan
Technophile
LaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enoughLaughingVulcan will become famous soon enough
 
LaughingVulcan's Avatar
 
Posts: 206
Karma: 617
Join Date: Mar 2007
Location: Land of Lincoln
Device: Kobo Sage. Ex Sony (PRS-500, -600, -650 and Nook)
Quote:
Originally Posted by kovidgoyal View Post
Released v0.3.97 with support for the padding CCS attribute. This makes LaughingVulcan's hanging indents possible. See the new demo in the first post.

It'll reach the servers in ~30min.

Thank you, thank you, thank you! It works VERY nicely!!
LaughingVulcan is offline   Reply With Quote
Old 08-22-2007, 07:12 PM   #416
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: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by LaughingVulcan View Post
Thank you, thank you, thank you! It works VERY nicely!!
Anything for a fellow poetry enthusiast :-)
kovidgoyal is offline   Reply With Quote
Old 08-23-2007, 02:50 PM   #417
volwrath
Guru
volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.
 
Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
Quote:
Originally Posted by kovidgoyal View Post
Anything for a fellow poetry enthusiast :-)
Quick question. Did you fix the problem where you have to install the USB drivers to get libprs500 to work?
volwrath is offline   Reply With Quote
Old 08-23-2007, 02:58 PM   #418
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: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I think I did, though I haven't tested it.
kovidgoyal is offline   Reply With Quote
Old 08-23-2007, 03:26 PM   #419
volwrath
Guru
volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.volwrath ought to be getting tired of karma fortunes by now.
 
Posts: 713
Karma: 1001739
Join Date: Apr 2005
Location: Nashville, TN
Device: SGS3/PW2/Nexus72
Quote:
Originally Posted by kovidgoyal View Post
I think I did, though I haven't tested it.
Hehe great! I will test it for you tonite
volwrath is offline   Reply With Quote
Old 08-23-2007, 04:33 PM   #420
beartard
Minister of Linux
beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40beartard is slicker than a case of WD-40
 
beartard's Avatar
 
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
This is from the command (where completorium.html is the index file):

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
beartard is offline   Reply With Quote
Reply

Tags
html2lrf, libprs500


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:15 AM.


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