Quote:
Originally Posted by erikk
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
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.