Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-02-2008, 02:01 AM   #1
erikk
Enthusiast
erikk began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Dec 2007
Location: Lorton, VA
Device: Sony Reader PRS-505
Recommended libprs500 conversion defaults?

So I'm starting to play around with using libprs500 to convert various LIT and HTML files and was wondering if anyone that had been doing this for a long time had suggestions on the defaults to use and why.

Thanks in advance for any suggestions.

Also is there any user guide anywhere for it? I mean someplace that described the different settings and such?
erikk is offline   Reply With Quote
Old 01-02-2008, 09:56 AM   #2
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 622
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by erikk View Post
So I'm starting to play around with using libprs500 to convert various LIT and HTML files and was wondering if anyone that had been doing this for a long time had suggestions on the defaults to use and why.

Thanks in advance for any suggestions.
Most of the default defaults are pretty good -- probably why kovid made them that way ;-). Exceptions I've found:
  • From looking at kovid's code and messing a bit, it appears having something in the bottom 18 or so pixels of the screen sometimes crashes the Reader quite spectacularly (why, Sony, why?). libprs500 accounts for this automatically and won't put anything there, but this leaves an effective lower margin I find jarring with the default side margins. I compensate by adding larger side margins with --left-margin=34 --right-margin=34 (or whatever value looks right to you).
  • I like to have the book title the header, so I add --header --headerformat="%t" to the options.
  • html2lrf contains code to automatically detect chapters and insert page breaks at appropriate points. Most of the LIT files I have, however, already have a TOC and page breaks in the right places, so the detection/insertion code can only make mistakes. To disable it I add --page-break-before-tag='$' --disable-chapter-detection to the options.

Quote:
Originally Posted by erikk View Post
Also is there any user guide anywhere for it? I mean someplace that described the different settings and such?
Try html2lrf --help -- that should show you all the available options.
llasram is offline   Reply With Quote
Old 01-02-2008, 10:04 AM   #3
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: 38,633
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
My options are usually....

lit2lrf --base-font-size=10.5 --left-margin=0 --header --right-margin=0 --wordspace=1.2 <name of lit file.lit>

That way, I get no left/right margins, a decent word space and a header.
JSWolf is online now   Reply With Quote
Old 01-02-2008, 12:51 PM   #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: 26,448
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Let me also note that you can get help on the various setting in the GUI by mousing over them.
kovidgoyal is offline   Reply With Quote
Old 01-02-2008, 01:07 PM   #5
AnemicOak
Bookaholic
AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.
 
AnemicOak's Avatar
 
Posts: 10,428
Karma: 28936355
Join Date: Oct 2007
Location: Minnesota
Device: HDX 8.9, AuraHD, Nook HD+, Kindle 2,3,T , Opus, Nexus7, iPhone5, etc
I just use the program defaults for my LIT files & have been very happy with the results.
AnemicOak is offline   Reply With Quote
Old 01-02-2008, 02:26 PM   #6
Penforhire
Wizard
Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.Penforhire ought to be getting tired of karma fortunes by now.
 
Posts: 2,121
Karma: 7067396
Join Date: Nov 2007
Location: Southern California
Device: Kindle PW, PRS-650, iPhone 4, iPad 4
I'm thinking to increase the base font a half-point or a point and reduce the font increment. The default (10.5, IIRC) is a touch too small for me and the increment (2.5, IIRC) is so big I never use the Large font!

Haven't messed with the borders yet but I can see reducing the left & right slightly. That note above about using the bottom is a bummer because it does look like wasted page space to my eye.
Penforhire is offline   Reply With Quote
Old 01-02-2008, 03:01 PM   #7
erikk
Enthusiast
erikk began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Dec 2007
Location: Lorton, VA
Device: Sony Reader PRS-505
I have to say that this is really a great forum. I've come in with some fairly basic n00b questions and gotten a lot of helpful responses. Some forums if you ask anything, you get 20 people telling you how stupid you are if haven't read the 400 page thread that is vaguely related and happens to have the information on page 352 (oh yeah and don't actually tell you where the info is, just that it's in the monster thread).

Thank you for all the feedback and help so far and I hope I'll be able to pay back the information once I've become an old hat at all this.
erikk is offline   Reply With Quote
Reply

Tags
libprs500

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set defaults for conversion problem Amalthia Calibre 2 04-24-2009 03:12 AM
HTML to LRF conversion issue, w/libprs500 adr2689 Workshop 7 03-09-2008 02:21 PM
libprs500 html conversion question cartz Calibre 2 03-01-2008 06:50 PM
New to the scene, libprs500 / conversion questions mflood Calibre 3 11-26-2007 11:43 PM
Fictionwise adopts libprs500 for Sony LRF e-book conversion RWood Sony Reader 42 09-06-2007 01:58 PM


All times are GMT -4. The time now is 09:40 PM.


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