Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > Other formats > LRF

Notices

Reply
 
Thread Tools Search this Thread
Old 10-09-2008, 11:00 AM   #46
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 779
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by elinares View Post
Hello,
I've discovered the way to allow an epub file to be font-resized on our device. I'm working on the next version.
Elinares, are you making the source available?
JeffElkins is offline   Reply With Quote
Old 10-09-2008, 11:32 AM   #47
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 779
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Btw, with the current 0.9.101 when extracting to html, the image tag is preceded by "file:"

Code:
<img src="file:This_Crowded_Earth/3.png"
This breaks the html with some browsers and with FBReader.
JeffElkins is offline   Reply With Quote
Advert
Old 10-10-2008, 07:26 PM   #48
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by Format C: View Post
A question about HTML:

The choice of the tags to be used (<p>, <h#>, etc...) is made by the tool or are they written in the final file by transcoding something that is in the original lrf?

Thanx
Current version uses iText library. This library works well for PDF and RTF, but it does not make a good job with HTML. Right now I'm rewriting the Render of HTML, so next version will work significantly better for HTML and EPUB.
So the choice now is taken by iText.
Hope i answer your question,
Eladio
elinares is offline   Reply With Quote
Old 10-10-2008, 07:27 PM   #49
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by JeffElkins View Post
Elinares, are you making the source available?
No problem, when i get some time i want to make it available at sourceforge.
elinares is offline   Reply With Quote
Old 10-10-2008, 07:32 PM   #50
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by JeffElkins View Post
Btw, with the current 0.9.101 when extracting to html, the image tag is preceded by "file:"

Code:
<img src="file:This_Crowded_Earth/3.png"
This breaks the html with some browsers and with FBReader.
OK. This will be fixed soon.
elinares is offline   Reply With Quote
Advert
Old 10-10-2008, 07:35 PM   #51
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
I've having problems to find an OTF (Opentype font) free to include in LRFTools. EPUB files MUST embed these fonts to work properly. Now I'm working with "AurulentSans", but it is no very good.
Anyone konws a free OTF font?
Thanks, Eladio
elinares is offline   Reply With Quote
Old 10-10-2008, 07:56 PM   #52
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,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
AS far as I know, EPUB files dont have to have embedded fonts. In any case google the liberation fonts.
kovidgoyal is offline   Reply With Quote
Old 10-11-2008, 05:46 PM   #53
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by kovidgoyal View Post
AS far as I know, EPUB files dont have to have embedded fonts. In any case google the liberation fonts.
Thanks!
elinares is offline   Reply With Quote
Old 10-14-2008, 03:16 PM   #54
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
New Version 0.9.105 removes "file:" from img src tag, and now EPUB and PDF files are better converted. EPUB files also can be resized on device.
Enjoy, Eladio
elinares is offline   Reply With Quote
Old 10-16-2008, 10:05 AM   #55
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
New version v0.9.119.
Some BUGS corrected, and now embedding OTF fonts is optional (you saves about 300K of size) and overwriting existing files is also optional.

Mods, please, is possible to change the title of the thread? I think it is better:
"LRFTools. Convert LRF to EPUB, HTML, PDF and RTF"
elinares is offline   Reply With Quote
Old 10-20-2008, 07:47 PM   #56
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 779
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by elinares View Post
New version v0.9.119.
Some BUGS corrected, and now embedding OTF fonts is optional (you saves about 300K of size) and overwriting existing files is also optional.

Mods, please, is possible to change the title of the thread? I think it is better:
"LRFTools. Convert LRF to EPUB, HTML, PDF and RTF"
A bug in .119: Chapter headings are duplicated when converting to html. e.g.:

Forward
Forward

Chapter 1
Chapter 1

etc.
JeffElkins is offline   Reply With Quote
Old 10-21-2008, 12:27 PM   #57
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by JeffElkins View Post
A bug in .119: Chapter headings are duplicated when converting to html. e.g.:

Forward
Forward

Chapter 1
Chapter 1

etc.
Hi Jeff, I cannot reproduce this bug with my books. could you send me yours for testing?
Thanks, Eladio
elinares is offline   Reply With Quote
Old 10-21-2008, 12:36 PM   #58
JeffElkins
Guru
JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.JeffElkins is no ebook tyro.
 
JeffElkins's Avatar
 
Posts: 779
Karma: 1416
Join Date: Jan 2008
Device: Kobo Clara 2E/HD, Kindle PW
Quote:
Originally Posted by elinares View Post
Hi Jeff, I cannot reproduce this bug with my books. could you send me yours for testing?
Thanks, Eladio
It's a book uploaded to mobileread,com -- Available: Here
JeffElkins is offline   Reply With Quote
Old 10-22-2008, 10:48 AM   #59
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
Quote:
Originally Posted by JeffElkins View Post
A bug in .119: Chapter headings are duplicated when converting to html. e.g.:

Forward
Forward

Chapter 1
Chapter 1

etc.
Well, really this book has footers. The Sony Reader is able to show them. When converting to HTML, I am confused about how to handle Headers an Footers. Now both are shown one time (what you see is footer and then title). I suppose is better to disable it when converting to HTML, or to make it optional with a new command line argument...
elinares is offline   Reply With Quote
Old 10-22-2008, 10:56 AM   #60
elinares
Xtreme Quijote
elinares doesn't litterelinares doesn't litterelinares doesn't litter
 
elinares's Avatar
 
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
New version v0.9.134 solves more bugs and permit Merging of some epub into one, using TOC to index the new epub.
elinares is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A real PDF to epub/djvu/rtf/html software?. DsOft ePub 35 01-02-2011 03:57 PM
PRS-700 Unable to convert pdf to other formats (epub/rtf/doc) testndtv Sony Reader 1 09-24-2010 01:45 PM
How to create non-embedded Unicode EPUB,LRF,TXT,RTF,PDF alexmobile Sony Reader 1 09-23-2009 10:04 PM
Calibre PDF conversions - LRF/EPUB vs RTF jackie_w Calibre 14 09-22-2009 03:06 PM
[Old Thread] unable to convert ebooks(rtf, txt,lit,html,pdf) to lrf in calibre .4.131 jackdeth191 Calibre 9 05-02-2009 02:55 AM


All times are GMT -4. The time now is 08:55 AM.


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