![]() |
#136 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 999
Karma: 5487540
Join Date: Feb 2009
Location: In my own imagination.
Device: Sony Prs 650, 505
|
Hi, I am having problems also just trying to convert a small sample word file to epub
have tried many variations on the cmd line but always get the same result. I am obviously being a dummy some where but can't see it - anybody help?? h:\ebook conversions >java -Xms200M -Xmx300M -jar lrftools-v0.9.193.jar convertDOCX h:\ebook conversion\out -EPUB java.lang.NullpointerException at lrf.docx.DOCX2EPUB.recurse(DOCX2EPUB.java:38) at lrf.RecurseDirs.convertDOCXActionParams(RecurseDir s.java:274) at lrf.RecurseDirs.<init>(RecurseDirs.java:92) at lrf.RecurseDirs.main(RecurseDirs.java:40) Have Java(TM) SE Runtime Environment (build 1.6.0_12-b04) |
![]() |
![]() |
![]() |
#137 |
Connoisseur
![]() ![]() Posts: 54
Karma: 146
Join Date: Mar 2008
Device: E-Book Reader
|
Improved GUI
This is an improved version. All options are added and now the GUI will call the LRFtools directly so it should be platform independent.
Honestly, I didn't check if all options work, so good luck. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#138 | |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
Quote:
|
|
![]() |
![]() |
![]() |
#139 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 874275
Join Date: Nov 2008
Location: Virginia Beach, VA
Device: Kindle DX
|
I noticed something odd... if I unzip the file under windows I get a single jar file. If I do it on a Mac, well, I get a ton of files, folders, and no LRFTools jar file.
|
![]() |
![]() |
![]() |
#140 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 50288
Join Date: Feb 2009
Device: KK 3G, iPad
|
I'm having no success with any of the files I try. Am I doing this right?
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#141 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 874275
Join Date: Nov 2008
Location: Virginia Beach, VA
Device: Kindle DX
|
It looks like you are missing the directory where the files are located after convertLRF and before -EPUB
|
![]() |
![]() |
![]() |
#142 |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
|
![]() |
![]() |
![]() |
#143 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 142
Karma: 50288
Join Date: Feb 2009
Device: KK 3G, iPad
|
I did some debugging last night. Line 108 in StyleItem.java:
Code:
return new StyleItem("color","#"+Integer.toHexString(t.getValueAt(0)).substring(2)); Also, when I tried to convert to RTF, I got other errors, which I fixed by changing Book#getRTF to guard against null author & title like it already did for null bookID and the conversion completed. Code:
if (getAuth() != null) doc.addAuthor(getAuth()); if (getTitle() != null) doc.addTitle(getTitle()); if(getBookID()!=null) doc.addHeader("BookID", getBookID()); |
![]() |
![]() |
![]() |
#144 | |
Xtreme Quijote
![]() ![]() ![]() Posts: 101
Karma: 208
Join Date: Sep 2008
Location: La Mancha, Spain
Device: Sony PRS-505
|
New Version 0.9.196
Quote:
New version 0.9.196 ready to download. @tlc: Thanks ![]() |
|
![]() |
![]() |
![]() |
#145 |
Member
![]() Posts: 24
Karma: 10
Join Date: May 2008
Device: Sony PRS-505
|
|
![]() |
![]() |
![]() |
#146 |
Enthusiast
![]() Posts: 31
Karma: 10
Join Date: Jan 2009
Device: PRS-700
|
n/m im retarded
Last edited by lordsilent; 03-14-2009 at 06:55 PM. |
![]() |
![]() |
![]() |
#147 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Mar 2009
Device: Sony Reader
|
The same problem here
|
![]() |
![]() |
![]() |
#148 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 874275
Join Date: Nov 2008
Location: Virginia Beach, VA
Device: Kindle DX
|
I have had to unzip it under windows and then copied it to my Mac...
|
![]() |
![]() |
![]() |
#149 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,686
Karma: 874275
Join Date: Nov 2008
Location: Virginia Beach, VA
Device: Kindle DX
|
I take it that LRFTools cannot convert Sony's LRX format? When i try to convert them to HTML I get a blank page and it cannot do it to EPUB...
|
![]() |
![]() |
![]() |
#150 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,548
Karma: 64462893
Join Date: Jan 2008
Location: Harrisburg outskirts
Device: Palms, K1-4s, iPads, iPhones, KV, KO1
|
Quote:
But it *can* be done on a mac. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |