aligungor / lrf-epub-tools Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/lrf-epub-tools
Automatically exported from code.google.com/p/lrf-epub-tools
I need to convert PDF to EPUB format using java code
What is the expected output? What do you see instead?
.epub file
Original issue reported on code.google.com by [email protected]
on 29 Oct 2012 at 11:14
What steps will reproduce the problem?
1. Simply attempt a conversion from any supported file format to another
supported file format in which the original file name has the number/pound (#)
symbol contained within it.
What is the expected output? What do you see instead?
The expected output should, of course, be the same file name with the proper
file extension. Instead errors occur.
What version of the product are you using? On what operating system?
The latest version (0.9.236) is being used. Windows 7 64-bit build 7100 is
being used.
Please provide any additional information below.
A sample error is provided:
java -Xms200M -Xmx300M -jar LRFTools-0.9.236.jar convertLRF <directory omitted>
-d <output directory omitted>" -EPUB Creating
Test\Test#1.epub...java.io.FileNotFoundException: C:\Users\<name
omitted>\AppData\Local\Temp\lrft3659237208936987708tmp\Test (The system cannot
find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown So
urce)
at java.net.URL.openStream(Unknown Source)
at org.cyberneko.html.HTMLScanner.setInputSource(HTMLScanner.java:860)
at org.cyberneko.html.HTMLConfiguration.setInputSource(HTMLConfiguration
.java:478)
at org.cyberneko.html.HTMLConfiguration.parse(HTMLConfiguration.java:451
)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at lrf.html.HtmlOptimizer.optimize(HtmlOptimizer.java:147)
at lrf.objects.Book.getEPUB(Book.java:150)
at lrf.RecurseDirs.dumpToEpub(RecurseDirs.java:476)
at lrf.RecurseDirs.convertAction(RecurseDirs.java:542)
at lrf.RecurseDirs.convertAction(RecurseDirs.java:489)
at lrf.RecurseDirs.convertActionParams(RecurseDirs.java:355)
at lrf.RecurseDirs.<init>(RecurseDirs.java:89)
at lrf.RecurseDirs.main(RecurseDirs.java:41)
EPUB Error
Original issue reported on code.google.com by [email protected]
on 16 Sep 2010 at 11:52
What steps will reproduce the problem?
1. Rename LRFTools-0.9.236.jar to LRFTools-0.9.236.jar.zip
2. Open LRFTools-0.9.236.jar.zip in Windows Explorer(internal OS zip
program)
3.
What is the expected output? What do you see instead?
Remove Duplicates, rebuild, and publish new jar.
What version of the product are you using? On what operating system?
Windows XP x32
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 26 May 2010 at 11:20
Attachments:
Getting the following error, trying to convert an PDF that contains one color
and lots of greyscale
graphics (using LRFTools-v0.9.211 on Mac OS X 10.6.1):
java.io.IOException: Error: Unknown colorspace 'R373'
at
org.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace(PDColorSp
aceFactory.
java:163)
at
org.pdfbox.pdmodel.graphics.color.PDColorSpaceFactory.createColorSpace(PDColorSp
aceFactory.
java:75)
at org.pdfbox.util.ImageParameters.getColorSpace(ImageParameters.java:141)
at
org.pdfbox.pdmodel.graphics.xobject.PDInlinedImage.createImage(PDInlinedImage.ja
va:135)
at org.pdfbox.util.operator.pagedrawer.BeginInlineImage.process(BeginInlineImage.java:71)
at org.pdfbox.util.PDFStreamEngine.processOperator(PDFStreamEngine.java:452)
at org.pdfbox.util.PDFStreamEngine.processSubStream(PDFStreamEngine.java:215)
at org.pdfbox.util.PDFStreamEngine.processStream(PDFStreamEngine.java:174)
at org.pdfbox.pdfviewer.PageDrawer.drawPage(PageDrawer.java:110)
at lrf.pdf.PDFSerializer.procPDF(PDFSerializer.java:91)
at lrf.pdf.PDFSerializer.recurse(PDFSerializer.java:33)
at lrf.RecurseDirs.convertPDFActionParams(RecurseDirs.java:242)
at lrf.RecurseDirs.<init>(RecurseDirs.java:91)
at lrf.RecurseDirs.main(RecurseDirs.java:41)
Original issue reported on code.google.com by [email protected]
on 25 Oct 2009 at 10:51
I need a sample java code to convert a PDF to EPUB using lrf-epub-tools.The PDF
contains text as well as Image.
Please revert beck to me at [email protected]
Original issue reported on code.google.com by [email protected]
on 7 Dec 2011 at 9:00
When merging epubs umlauts are left out for indexing
Original issue reported on code.google.com by [email protected]
on 18 Jul 2011 at 2:23
What steps will reproduce the problem?
1. Select a LRF containing newlines or linebreaks
2. convert it to HTML or EPUB (these are the ones I tried) with convertLRF
What is the expected output? What do you see instead?
The HTML or EPUB does not have the linebreaks or newlines as the LRF. The
text is shown without any breaks as one long line.
In the attached example I get:
Some Title Some Paragraph, some paragraph, more paragraph, blah blah blah.
Some Paragraph, some paragraph, more paragraph, blah blah blah. Some
Paragraph, some paragraph, more paragraph, blah blah blah. Some Paragraph,
some paragraph, more paragraph, blah blah blah. Other Title Some
Paragraph, some paragraph, more paragraph, blah blah blah.
While I expect something like this:
Some Title
Some Paragraph, some paragraph, more paragraph, blah blah blah. Some
Paragraph, some paragraph, more paragraph, blah blah blah. Some Paragraph,
some paragraph, more paragraph, blah blah blah. Some Paragraph, some
paragraph, more paragraph, blah blah blah.
Other Title
Some Paragraph, some paragraph, more paragraph, blah blah blah.
What version of the product are you using? On what operating system?
0.9.211
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 Jul 2009 at 8:09
Attachments:
What steps will reproduce the problem?
1. Cyrillic PDF with OCR input
2. Convert to EPUB
3. Resulting file got failed cyrillic support
What is the expected output? What do you see instead?
See at attach.
What version of the product are you using? On what operating system?
LRFTools-0.9.236.jar
Win7
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 Aug 2010 at 2:01
Attachments:
What steps will reproduce the problem?
1. Upload test2.pdf from the attachment.
2. Check the generated .epub file.
What is the expected output? What do you see instead?
Should be well formatted as original PDF
What version of the product are you using? On what operating system?
0.9.236.jar latest
Please provide any additional information below.
Please see that original PDF and converted .epub file in the attachment.
I tried few others pdf but getting same result.
Original issue reported on code.google.com by [email protected]
on 31 Mar 2012 at 7:39
Attachments:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.