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-03-2007, 06:09 AM   #541
nghbk
Junior Member
nghbk began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Oct 2007
Device: PRS 500
thanks for great tool. I tried to convert one utf-8 html file to lrf and embed an unicode font (times new roman). The output file display characters great but it took a lots of time to open the file in reader and much slower to turn the page, is there anything i can do to improve this?
nghbk is offline   Reply With Quote
Old 11-03-2007, 12:48 PM   #542
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No the reader is just slow with embedded fonts.
kovidgoyal is offline   Reply With Quote
Advert
Old 11-12-2007, 08:53 AM   #543
aapezzuto
Zealot
aapezzuto will become famous soon enoughaapezzuto will become famous soon enoughaapezzuto will become famous soon enoughaapezzuto will become famous soon enoughaapezzuto will become famous soon enoughaapezzuto will become famous soon enough
 
aapezzuto's Avatar
 
Posts: 116
Karma: 693
Join Date: Sep 2007
Device: none
are there any plans to write something that will convert fb2 into html, or epub that would be compliant with these tools?
aapezzuto is offline   Reply With Quote
Old 11-12-2007, 11:13 AM   #544
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
epub yes.
kovidgoyal is offline   Reply With Quote
Old 11-15-2007, 09:55 AM   #545
Icarusbop
Groupie
Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.
 
Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
OPF file in zips

Hello:

When using Zip format to supply a group of files, I can include an OPF file for the document layout (spine). Does LibPrs500 also collect the metadata from this opf file (book title, author, etc.) ?
I have tested with a file but the data is not collected, the book is simply listed as 'Unknown', Is this a bad OPF file? (If I load this file into Mobipocket creator, the metadata is collected fine)
If LibPrs500 does not collect this data, are there any plans to introduce this functionality in the future?
Icarusbop is offline   Reply With Quote
Advert
Old 11-15-2007, 12:29 PM   #546
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah it does. Use clit on a .lit file to understand the format of OPF.
kovidgoyal is offline   Reply With Quote
Old 11-21-2007, 08:59 AM   #547
Icarusbop
Groupie
Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.
 
Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
MetaData in OPF files

Kovid:

I have test a few differnet OPF files, all of these have been extracted straight from CLIT, all files put into a Zip and imported straight into LibPrs500. None of them present the correct metadata for Author and book title for the book in LibPrs500 as mentioned previously in this thread.
I have tested on two seperate computers.
But the same opf files present the data fine when used with Mobipocket Creator.
LibPrs500, is correctly adding the cover image to the lrf book when converting, so it is finding the Guide entry for the cover image; but seems to be ignoring the title and author areas of the opf file.

I can send you a copy of one of the files if you wish for testing purposes.
Icarusbop is offline   Reply With Quote
Old 11-21-2007, 10:32 AM   #548
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah if you could send me a copy that would be helpful.
kovidgoyal is offline   Reply With Quote
Old 11-21-2007, 10:52 AM   #549
Icarusbop
Groupie
Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.
 
Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
Sample file attached

Kovid:

Find attached a copy of one of the OPF files I have tested. This was extraced directly from a book using CLit.
Please note I have only sent the OPF file due to copyright reasons, if you need the full fileset for testing I can IM or FTP it to you.
Attached Files
File Type: rar Saga of the Seven Suns 1 - Hidden Empire.rar (2.4 KB, 206 views)
Icarusbop is offline   Reply With Quote
Old 11-21-2007, 10:55 AM   #550
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That OPF file looks correct, can you send me the full zip file via email (kovid at kovidgoyal.net)
kovidgoyal is offline   Reply With Quote
Old 11-21-2007, 11:00 AM   #551
Icarusbop
Groupie
Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.
 
Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
It's on its way...
Icarusbop is offline   Reply With Quote
Old 11-21-2007, 11:25 AM   #552
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I can't replicate this running
Code:
any2lrf 1\ -\ Hidden\ Empire.rar
Archive: /home/kovid/temp/opf/1 - Hidden Empire.rar
Found ebook in archive: /tmp/libprs500_-9zjqk/1 - Hidden Empire/hidden_empire-toc.html
Processing hidden_empire-toc.html
        Parsing HTML...
        Converting to BBeB...
Processing hidden_empire-body.html
        Parsing HTML...
        Converting to BBeB...
        Rationalizing font sizes...
Output written to /home/kovid/temp/opf/1 - Hidden Empire.lrf
kovid@giskard ~/temp/opf $ lrf-meta 1\ -\ Hidden\ Empire.lrf
Author: Kevin J. Anderson
Author.reading: Anderson, Kevin J.
BookID: fc737b76b61a45a0b44dca42cffb235a
Category:
Classification:
CreationDate: 2007-11-21
Creator:
FreeText:
Label:
Language: en
SumPage:
Producer: libprs500 v0.4.23
Publisher: Warner Books
Title: Hidden Empire: The Saga of Seven Suns, Book 1
Title.reading:
kovidgoyal is offline   Reply With Quote
Old 11-22-2007, 03:19 AM   #553
Icarusbop
Groupie
Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.Icarusbop knows what's going on.
 
Posts: 156
Karma: 25846
Join Date: Apr 2007
Location: UK
Device: PRS505
Kovid:

Looks like I may have misunderstood: from your previous response it seems you are using a command line to convert with any2lrf. The log you attached certainly lists the Title and Author.
When I asked the original question however I meant in the Graphical inferface for windows - i.e. When you add a *.rar file into the graphical database, the book seems to be listed as unknown author and title. I have been adding my books the the GUI and then using a batch conversion on them. But the GUI does not seem to pick up the author and title for the DB listing of the books.
Icarusbop is offline   Reply With Quote
Old 11-22-2007, 12:57 PM   #554
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,355
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
When you add a rar file, it doesn't read metadata from the RAR file. It only reads metadata from .lit, .lrf, .rtf and .pdf files. Also, once you add a book to the database, it is stored in the database and any changes you make to the file on the disk are not picked up. You can use the bulk metadata edit function of the GUI to easily edit metadata for a large number of files.
kovidgoyal is offline   Reply With Quote
Old 11-23-2007, 12:33 PM   #555
Covak
Member
Covak began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Nov 2007
Device: PRS-505
Kovid, thanks for these great tools! I have a PRS-505 on the way so I've started messing with eBooks and lipprs500 is fantastic!

One issue I'm having, though, is that my paragraphs aren't being indented (at least, not in lrfviewer). I got a book in LIT, blew it up with ConvertLIT (the HTML looks great, nice paragraph indents), and then used libprs500 to convert to LRF. At first I wasn't using the CSS file and I was wondering why all the nice formatting got lost (paragraphs were nicely indented, though). Then I used the CSS file and everything looks right, except that there's no indenting at all.

Any idea what might be going wrong, or how I can fix it?

EDIT: I just tried changing the text-indent from "5%" to "20px" and that gave me nice indents. Are % values no good for html2lrf?

Last edited by Covak; 11-23-2007 at 12:39 PM.
Covak 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 04:54 PM.


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