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 09-01-2009, 05:12 PM   #241
bkilian
Zealot
bkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notesbkilian can name that song in three notes
 
Posts: 131
Karma: 24870
Join Date: Oct 2006
Device: Sony PRS/505
Quote:
Originally Posted by Demented View Post
That would be nice. I've actually been looking at it and I think the best solution would be to remove the divs entirely and then replace the <span> tags with <p> tags. I can't wait to have line breaks again Thanks for your hard work on this project.
That wouldn't work. There are spans for italics, and for a bunch of other things, if you replaced all spans with p, it would break the book.

The problem is that they combine different text CSS for spans and divs to make a single whole. When I converted one, I eventually gave up, and just used vi to convert the LRS directly to HTML. It turned out a lot better.
bkilian is offline   Reply With Quote
Old 09-02-2009, 12:11 AM   #242
Demented
Connoisseur
Demented began at the beginning.
 
Posts: 66
Karma: 10
Join Date: Oct 2007
Location: Baton Rouge
Device: DR800SG, Nook, Cybook Original
Currently there are no italics or any type of formatting for anything. The entire book consists of <div><span> which do absolutely nothing. So I'd be willing to lose the italics:P
Demented is offline   Reply With Quote
 
Enthusiast
Old 09-06-2009, 10:35 AM   #243
jon.handler
Junior Member
jon.handler began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2009
Device: Kindle DX
Quote:
Originally Posted by drenthe View Post
For Mac Leopard:
change Java 1.5 to 1.6 in "Java Preferences" application located in (/Applications/Utilities/Java) or (/Applications/Utilities)

then try something like:
java -Xms200M -Xmx300M -jar LRFTools/LRFTools-v0.9.211.jar convertLRF "LRFTools/Convert" -HTML -noo

1 - dont forget quotes
2 - here: LRFTools-v0.9.211.jar in folder "LRFTools" in "home"
3 - here: lrf-files in folder "LRFTools" in folder "Convert"
I did this and I am getting a ClassNotFoundException, but I don't see a class in there that it's looking for. MacBook Pro (Intel 64 bit) OS X 10.5.8. I tried setting CLASSPATH to the location of the jar file but that didn't help.

Any clues?

Jon
jon.handler is offline   Reply With Quote
Old 09-06-2009, 10:38 AM   #244
jon.handler
Junior Member
jon.handler began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2009
Device: Kindle DX
Quote:
Originally Posted by jon.handler View Post
I did this and I am getting a ClassNotFoundException, but I don't see a class in there that it's looking for. MacBook Pro (Intel 64 bit) OS X 10.5.8. I tried setting CLASSPATH to the location of the jar file but that didn't help.

Any clues?

Jon
nvm. I faked myself out. wasn't using the "-jar" on the command line :-)

Jon
jon.handler is offline   Reply With Quote
Old 10-08-2009, 05:18 AM   #245
sharkbc
Junior Member
sharkbc began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2009
Device: none
LRF Tools

Hi everybody !

I want to convert my pdf files to epub file.

Im using LRFTools(LRFTools-v0.9.209.jar).


I coverted successfully 10/20 files(10 files i got error.)

this is one of some error i got:


C:\>cd epub

C:\epub>set path="%path";"c:\Program Files\java\jdk1.6.0_12\bin"

C:\epub>java -Xms200M -Xmx300M -jar LRFTools-v0.9.209.jar convertPDF c:\epub\pdf

Loading 'CV_007_027_Business_Knigge.pdf' 21 pages -java.io.IOException: Not impl
emented
at org.pdfbox.pdmodel.graphics.color.PDSeparation.cre ateColorSpace(PDSep
aration.java:110)
at org.pdfbox.pdmodel.graphics.color.PDColorSpaceInst ance.createColor(PD
ColorSpaceInstance.java:79)
at org.pdfbox.util.operator.pagedrawer.SetStrokingCMY KColor.process(SetS
trokingCMYKColor.java:61)
at org.pdfbox.util.PDFStreamEngine.processOperator(PD FStreamEngine.java:
452)
at org.pdfbox.util.PDFStreamEngine.processSubStream(P DFStreamEngine.java
:215)
at org.pdfbox.util.PDFStreamEngine.processStream(PDFS treamEngine.java:17
4)
at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawe r.java:110)
at lrf.pdf.PDFSerializer.procPDF(PDFSerializer.java:9 1)
at lrf.pdf.PDFSerializer.recurse(PDFSerializer.java:3 3)
at lrf.RecurseDirs.convertPDFActionParams(RecurseDirs .java:242)
at lrf.RecurseDirs.<init>(RecurseDirs.java:91)
at lrf.RecurseDirs.main(RecurseDirs.java:41)



Can anybody tell me about this problem and how to fix it.

Or any version of LRF tools that isbetter.

Thanks and regards!
sharkbc is offline   Reply With Quote
Old 10-08-2009, 05:23 AM   #246
sharkbc
Junior Member
sharkbc began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2009
Device: none
LRF Tools
Hi everybody !

I want to convert my pdf files to epub file.

Im using LRFTools(LRFTools-v0.9.209.jar).


I coverted successfully 10/20 files(10 files i got error.)

this is one of some error i got:


C:\>cd epub

C:\epub>set path="%path";"c:\Program Files\java\jdk1.6.0_12\bin"

C:\epub>java -Xms200M -Xmx300M -jar LRFTools-v0.9.209.jar convertPDF c:\epub\pdf

Loading 'CV_007_027_Business_Knigge.pdf' 21 pages -java.io.IOException: Not impl
emented
at org.pdfbox.pdmodel.graphics.color.PDSeparation.cre ateColorSpace(PDSep
aration.java:110)
at org.pdfbox.pdmodel.graphics.color.PDColorSpaceInst ance.createColor(PD
ColorSpaceInstance.java:79)
at org.pdfbox.util.operator.pagedrawer.SetStrokingCMY KColor.process(SetS
trokingCMYKColor.java:61)
at org.pdfbox.util.PDFStreamEngine.processOperator(PD FStreamEngine.java:
452)
at org.pdfbox.util.PDFStreamEngine.processSubStream(P DFStreamEngine.java
:215)
at org.pdfbox.util.PDFStreamEngine.processStream(PDFS treamEngine.java:17
4)
at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawe r.java:110)
at lrf.pdf.PDFSerializer.procPDF(PDFSerializer.java:9 1)
at lrf.pdf.PDFSerializer.recurse(PDFSerializer.java:3 3)
at lrf.RecurseDirs.convertPDFActionParams(RecurseDirs .java:242)
at lrf.RecurseDirs.<init>(RecurseDirs.java:91)
at lrf.RecurseDirs.main(RecurseDirs.java:41)



Can anybody tell me about this problem and how to fix it.

Or any version of LRF tools that isbetter.

Thanks and regards!
sharkbc is offline   Reply With Quote
Old 10-22-2009, 05:06 AM   #247
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 sharkbc View Post
LRF Tools
Hi everybody !

I want to convert my pdf files to epub file.

Im using LRFTools(LRFTools-v0.9.209.jar).


I coverted successfully 10/20 files(10 files i got error.)

this is one of some error i got:


C:\>cd epub

C:\epub>set path="%path";"c:\Program Files\java\jdk1.6.0_12\bin"

C:\epub>java -Xms200M -Xmx300M -jar LRFTools-v0.9.209.jar convertPDF c:\epub\pdf

Loading 'CV_007_027_Business_Knigge.pdf' 21 pages -java.io.IOException: Not impl
emented
at org.pdfbox.pdmodel.graphics.color.PDSeparation.cre ateColorSpace(PDSep
aration.java:110)
at org.pdfbox.pdmodel.graphics.color.PDColorSpaceInst ance.createColor(PD
ColorSpaceInstance.java:79)
at org.pdfbox.util.operator.pagedrawer.SetStrokingCMY KColor.process(SetS
trokingCMYKColor.java:61)
at org.pdfbox.util.PDFStreamEngine.processOperator(PD FStreamEngine.java:
452)
at org.pdfbox.util.PDFStreamEngine.processSubStream(P DFStreamEngine.java
:215)
at org.pdfbox.util.PDFStreamEngine.processStream(PDFS treamEngine.java:17
4)
at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawe r.java:110)
at lrf.pdf.PDFSerializer.procPDF(PDFSerializer.java:9 1)
at lrf.pdf.PDFSerializer.recurse(PDFSerializer.java:3 3)
at lrf.RecurseDirs.convertPDFActionParams(RecurseDirs .java:242)
at lrf.RecurseDirs.<init>(RecurseDirs.java:91)
at lrf.RecurseDirs.main(RecurseDirs.java:41)



Can anybody tell me about this problem and how to fix it.

Or any version of LRF tools that isbetter.

Thanks and regards!
The library itext does not support all pdf image colorspaces, sorry.
elinares is offline   Reply With Quote
Old 11-08-2009, 11:47 AM   #248
johnydeep
Junior Member
johnydeep began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2009
Device: none
I can get convertPDF to work. I have tried a few pdfs but it seems it just not working. This is what I'm getting "Loading 'Bet_Brain_Never_get_it_wrong.pdf' 6 pages -/ sorting...End." but no file. I used: "java -Xms40M -Xmx60M -jar c:\LRFTools-v0.9.211.jar convertPDF c:\test " with 40-60 and 200-300 MB still no result. Any ideas?
johnydeep is offline   Reply With Quote
Old 11-24-2009, 07:28 AM   #249
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.236

I'm maven-ized the project, so you can now download and install all dependencies with 'mvn install' from subversion repository at googlecode (see first post). Also, all third party libraries have been upgraded, so I expect some 'PDFs' works now.
Eladio
elinares is offline   Reply With Quote
Old 12-08-2009, 07:28 AM   #250
pikoman
Enthusiast
pikoman began at the beginning.
 
Posts: 35
Karma: 10
Join Date: Feb 2009
Device: prs505, prs700, iriver story
Hi, I tried the LRFtools to convert comic lrf to pdf, the quality is good but the image size is smaller (5-10% less than LRF image). Any idea how can I make the PDF with the same image size of LRF??
Many thanks.

Last edited by pikoman; 12-08-2009 at 03:58 PM.
pikoman is offline   Reply With Quote
Old 12-27-2009, 02:02 AM   #251
King Mook Mook
Member
King Mook Mook began at the beginning.
 
King Mook Mook's Avatar
 
Posts: 12
Karma: 10
Join Date: Dec 2007
Device: Kindle 2 International
Hi,
I want to use LRFTools to merge the 37 ePub books I have into one ePub. I enter this command into Terminal java -Xms200M -Xmx300M -jar /LRFTools.jar mergeEPUB /ePub -a Terry Pratchett -t All 37 Discworld Novels -o /grouped.epub (OS X 10.6.2) and then get all of the books showing up and then : OK. but once it finishes there is no merged ePub. Maybe I am looking in the wrong place but I cannot find the merged ePub. Any help would be much appreciated!
Thanks,
King Mook Mook
King Mook Mook is offline   Reply With Quote
Old 12-27-2009, 02:09 AM   #252
King Mook Mook
Member
King Mook Mook began at the beginning.
 
King Mook Mook's Avatar
 
Posts: 12
Karma: 10
Join Date: Dec 2007
Device: Kindle 2 International
Okay, I fixed the previous problem (I found the it in my home folder in Mac). But now when I open the file there is no Table of Contents and the formatting is very weird.
Thanks for the help,
King Mook Mook
King Mook Mook is offline   Reply With Quote
Old 12-30-2009, 06:54 AM   #253
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 King Mook Mook View Post
Okay, I fixed the previous problem (I found the it in my home folder in Mac). But now when I open the file there is no Table of Contents and the formatting is very weird.
Thanks for the help,
King Mook Mook
Hi, Could you send me a sample? Or be more specific? It's difficult to know whats happenning. Feel free to PM me.
Eladio
elinares is offline   Reply With Quote
Old 05-03-2010, 10:11 PM   #254
dallak
Junior Member
dallak began at the beginning.
 
Posts: 1
Karma: 10
Join Date: May 2010
Device: Kindle 2
help a newbie

from the beginning, is there a thread on how to use LRF tools for a beginner?
dallak is offline   Reply With Quote
Old 05-11-2010, 10:18 PM   #255
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 36,194
Karma: 17169472
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by dallak View Post
from the beginning, is there a thread on how to use LRF tools for a beginner?
Go to the Calibre forum and get Calibre. Calibre can convert from LRF to a number of different formats. Plus it is easier to use (IMHO) and works better.
JSWolf 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 06:25 AM.


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