Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-02-2008, 01: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, 08: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: 618
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
Advert
Old 01-02-2008, 09: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: 73,894
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
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 offline   Reply With Quote
Old 01-02-2008, 11:51 AM   #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: 43,842
Karma: 22666666
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, 12: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: 14,391
Karma: 54969924
Join Date: Oct 2007
Location: Minnesota
Device: iPad Mini 4, AuraHD, iPhone XR +
I just use the program defaults for my LIT files & have been very happy with the results.
AnemicOak is offline   Reply With Quote
Advert
Old 01-02-2008, 01: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,230
Karma: 7145404
Join Date: Nov 2007
Location: Southern California
Device: Kindle Voyage & iPhone 7+
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, 02: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


Forum Jump

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


All times are GMT -4. The time now is 06:53 AM.


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