07-25-2009, 06:15 PM | #226 |
Apeist
Posts: 2,126
Karma: 381090
Join Date: Oct 2008
Location: The sunny part of California
Device: Generic virtual reality story-experiential device
|
What is wrong with this command:
java -Xms200M -Xmx300M -jar LRFTools-v0-1.9.211.jar convert -LRFTools/TenderistheNight.lrf -HTML -noo Trying it on a Mac, but I keep getting the Actions list when I run it. When I tried the second version of the GUI, I can see it start, but then it just closes. P.S. Ah, well. I ran the gui in Vista, and it worked (on my Mac it doesn't.) The conversion was decent, but the TOC didn't work (the chapters lost their tags.) Thanks for a very useful tool, though! LRF is a real b*tch of a format.... Last edited by Sonist; 07-26-2009 at 04:10 AM. |
08-08-2009, 01:34 PM | #227 |
Captain Penguin
Posts: 2,950
Karma: 2079575093
Join Date: May 2009
Location: Vancouver, BC
Device: Kobo Libra 2, Nook Glowlight
|
Hi,
this is a very nice tool, thanks for the effort. I have converted a LRF book to EPUB and HTML, and the result is good, with the exception that there are no paragraph breaks. Is this a known problem? I attach a screenshot to show the two formats. Last edited by afv011; 08-08-2009 at 03:44 PM. |
Advert | |
|
08-08-2009, 01:37 PM | #228 | |
Resident Curmudgeon
Posts: 76,435
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
As to the problem, just go into the CSS of the ePub and you can fix the problems. |
|
08-08-2009, 03:05 PM | #229 |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
|
08-08-2009, 09:46 PM | #230 |
Captain Penguin
Posts: 2,950
Karma: 2079575093
Join Date: May 2009
Location: Vancouver, BC
Device: Kobo Libra 2, Nook Glowlight
|
Thanks for the tip. I have done something different, I have searched/replaced the beginning and end of each paragraph to add a <p> and </p>, it seemed easier that updating the CSS. The LRFTool does a good job of detecting paragraphs as each paragraph is marked with a <div> tag, so my thought was that it should be fairly simple to update it to include a <p> and </p> to have a clear division between paragraphs.
|
Advert | |
|
08-08-2009, 09:55 PM | #231 |
Resident Curmudgeon
Posts: 76,435
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
08-08-2009, 10:40 PM | #232 | ||
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Quote:
Quote:
Whether the book is a illicit copy is not relevant, IMO. |
||
08-08-2009, 10:45 PM | #233 | |
Grand Sorcerer
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
|
Quote:
As far as the book, it is entirely possible the book was scanned and OCRed or the person lives in a country where copying the book is legal... I have no idea. BOb |
|
08-12-2009, 03:24 PM | #234 | |
Xtreme Quijote
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
Quote:
Happy holidays. |
|
08-13-2009, 12:34 PM | #235 |
Captain Penguin
Posts: 2,950
Karma: 2079575093
Join Date: May 2009
Location: Vancouver, BC
Device: Kobo Libra 2, Nook Glowlight
|
|
08-14-2009, 02:16 PM | #236 | |
Xtreme Quijote
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
Quote:
|
|
08-19-2009, 04:25 PM | #237 |
Junior Member
Posts: 4
Karma: 24
Join Date: Aug 2009
Device: rocket ebook
|
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" |
08-30-2009, 12:49 PM | #238 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Oct 2007
Location: Baton Rouge
Device: DR800SG, Nook, Cybook Original
|
I'm only familiar with Java development and I can't seem to make a change to the source of the html converter. Anyone else have any experience? I'm trying to redo the output style from <div><span> to <p>. I'm not having trouble with the code, it's compiling it once I've made my changes to the emitter.java file of src/lrf/html folder.
|
09-01-2009, 09:03 AM | #239 | |
Xtreme Quijote
Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
Quote:
|
|
09-01-2009, 09:49 AM | #240 |
Connoisseur
Posts: 66
Karma: 10
Join Date: Oct 2007
Location: Baton Rouge
Device: DR800SG, Nook, Cybook Original
|
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.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A real PDF to epub/djvu/rtf/html software?. | DsOft | ePub | 35 | 01-02-2011 04:57 PM |
PRS-700 Unable to convert pdf to other formats (epub/rtf/doc) | testndtv | Sony Reader | 1 | 09-24-2010 02:45 PM |
How to create non-embedded Unicode EPUB,LRF,TXT,RTF,PDF | alexmobile | Sony Reader | 1 | 09-23-2009 11:04 PM |
Calibre PDF conversions - LRF/EPUB vs RTF | jackie_w | Calibre | 14 | 09-22-2009 04: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 03:55 AM |