![]() |
#571 |
Groupie
![]() ![]() ![]() ![]() ![]() Posts: 186
Karma: 499
Join Date: Oct 2007
Location: France, Toulouse
Device: Sony PRS500
|
Sorry, I forgot you had to zip the files together.
Thanks kovidgoyal ! |
![]() |
![]() |
![]() |
#572 |
Member
![]() Posts: 20
Karma: 10
Join Date: Nov 2007
Device: PRS-505
|
I am trying to make file that has non-englisg characters in metadata. So specifying it on command line does not do any good. I tried to make batch file and use "--title=utf8 encoded text" ans a parameter but it does not do any good.
Is there way to provide file with metadata or to specify metadata in the html file? I still can edit tagsfrom gui, but I really want to use command line. |
![]() |
![]() |
![]() |
#573 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
html2lrf will also read metadata from opf files that are in the same directory as the file you are trying to convert
|
![]() |
![]() |
![]() |
#574 |
Member
![]() Posts: 20
Karma: 10
Join Date: Nov 2007
Device: PRS-505
|
Thanks, that might help.
Does any of libprs program makes opf files so I can use on as example? |
![]() |
![]() |
![]() |
#575 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Just use convertlit on a lit file or refer to
http://www.idpf.org/oebps/oebps1.2/d...eb12-xhtml.htm or wait for the next release of libprs500 which will generate opf metadata files when saving books to disk from the GUI |
![]() |
![]() |
![]() |
#576 |
Member
![]() Posts: 20
Karma: 10
Join Date: Nov 2007
Device: PRS-505
|
The link is very helpful, thank you very much.
There is one more thing: how do I specify non-latin characters in --chapter-regex? I can do it from GUI, is there way to do it in commandline? some trick like --chapter-regex=@filename |
![]() |
![]() |
![]() |
#577 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No I'm afraid not.
|
![]() |
![]() |
![]() |
#578 |
Member
![]() Posts: 20
Karma: 10
Join Date: Nov 2007
Device: PRS-505
|
Is "chapter detection" feature just inserts pagebreaks before chapters or it is also supposed to create TOC?
I am asking because even when html2lef detects chapters (seen in --verbose output) they still do not show up in reader's "Table of contents" menu. |
![]() |
![]() |
![]() |
#579 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No it only inserts page breaks. TOC is based on links or the toc element in the OPF file.
|
![]() |
![]() |
![]() |
#580 | |
Enthusiast
![]() Posts: 32
Karma: 45
Join Date: Dec 2007
Device: Kindle DX, PRS505
|
Quote:
Hello, I've just discovered your converter. It is a really nicely engineered system. Thank you so much for sharing it. One question. Is it still not possible to do left aligned text in LRF format? Ebooks' biggest selling point for me is the ability to read at larger font sizes. I find the amount of randomly sized whitespace with large fonts and full justification very distracting. I have the same problem with books purchased through the Connect store. Even worse, the Connect store books don't have a large enough font in the first place and waste a lot of space on margins. So....I've been using RTF formated text on my 505 with left justification and a size 20 sans serif font. (poor eyesight) I usually read on medium or large reader setting. RTF seems to properly left align leaving a ragged right margin. I do miss have benefits of images and links that the LRF format provides. Thanks for listening! |
|
![]() |
![]() |
![]() |
#581 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'm afraid that it's still not possible to do left justification in the reader.
|
![]() |
![]() |
![]() |
#582 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
|
Actually it is. Add the following to kconfig.xml, in the environment block:
Code:
<variable name="bbebJustification" value="false"/>
|
![]() |
![]() |
![]() |
#583 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Cool I didn't know that.
|
![]() |
![]() |
![]() |
#584 |
popsicle cannibal
![]() Posts: 3
Karma: 10
Join Date: Nov 2007
Location: Concord, California
Device: Sony PRS-500
|
CHM conversion..
Have you tried using this to convert decompiled CHM (windows help) files? I've given it a shot, but have had terrible luck with it. Ideally it should work, since the decompiled chm is just a TOC and a grip of html files. Got any tips?
|
![]() |
![]() |
![]() |
#585 |
Time Vortex Manipulator
![]() Posts: 30
Karma: 10
Join Date: Aug 2007
Location: Greece
Device: Sony Reader
|
I had a really long time to update and now I did so when trying to launch the program I'm having a "Another program is using the database. Perhaps libprs500 is already running." message. I tried uninstalling and re-installing but no result.
|
![]() |
![]() |
![]() |
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 |