Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-28-2007, 12:42 AM   #571
FixB
Groupie
FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.FixB has a complete set of Star Wars action figures.
 
FixB's Avatar
 
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 !
FixB is offline   Reply With Quote
Old 11-30-2007, 07:02 PM   #572
nsg
Member
nsg began at the beginning.
 
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.
nsg is offline   Reply With Quote
Old 11-30-2007, 07:06 PM   #573
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,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
kovidgoyal is online now   Reply With Quote
Old 11-30-2007, 07:37 PM   #574
nsg
Member
nsg began at the beginning.
 
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?
nsg is offline   Reply With Quote
Old 11-30-2007, 07:39 PM   #575
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,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
kovidgoyal is online now   Reply With Quote
Old 11-30-2007, 10:49 PM   #576
nsg
Member
nsg began at the beginning.
 
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
nsg is offline   Reply With Quote
Old 11-30-2007, 10:54 PM   #577
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,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No I'm afraid not.
kovidgoyal is online now   Reply With Quote
Old 12-02-2007, 10:53 AM   #578
nsg
Member
nsg began at the beginning.
 
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.
nsg is offline   Reply With Quote
Old 12-02-2007, 01:16 PM   #579
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,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.
kovidgoyal is online now   Reply With Quote
Old 12-06-2007, 11:01 AM   #580
Gearhead
Enthusiast
Gearhead began at the beginning.
 
Posts: 32
Karma: 45
Join Date: Dec 2007
Device: Kindle DX, PRS505
Quote:
Originally Posted by kovidgoyal View Post
Somebody needs to bug SONY to fix the LRF renderer on the reader to not right justify text that is left aligned. I suspect they did that because the engineers developing the renderer were japanese and didn't realize that right justification is bad for english text.

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!
Gearhead is offline   Reply With Quote
Old 12-06-2007, 02:25 PM   #581
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,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.
kovidgoyal is online now   Reply With Quote
Old 12-06-2007, 08:46 PM   #582
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
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"/>
igorsk is offline   Reply With Quote
Old 12-06-2007, 08:54 PM   #583
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,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Cool I didn't know that.
kovidgoyal is online now   Reply With Quote
Old 12-10-2007, 05:43 AM   #584
dioxide
popsicle cannibal
dioxide began at the beginning.
 
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?
dioxide is offline   Reply With Quote
Old 12-10-2007, 08:53 AM   #585
Fallen angel
Time Vortex Manipulator
Fallen angel began at the beginning.
 
Fallen angel's Avatar
 
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.
Fallen angel 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 11:53 AM.


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