acdean / acdepub Goto Github PK
View Code? Open in Web Editor NEWxml to epub converter.
xml to epub converter.
epub reader doesn't like emdashes in titles.
there's a debug line in the generated files, ch003.html that includes the title
<!-- chapter: Chapter:{Numbering:{Chapter III} Title:{A NEW ACQUAINTANCE--THE STROLLER'S TALE--A DISAGREEABLE INTERRUPTION, AND AN UNPLEASANT ENCOUNTER} Id:{ch003} Normal:{true} Content: 27113} -->
XML Parsing Error: not well-formed Location: x-lucidor://21079647/ch003.xhtml Line Number 10, Column 75:
<!-- chapter: Chapter:{Numbering:{Chapter III} Title:{A NEW ACQUAINTANCE--THE STROLLER'S TALE--A DISAGREEABLE INTERRUPTION, AND AN UNPLEASANT ENCOUNTER} Id:{ch003} Normal:{true} Content: 27113} -->
it's seeing that mdash as the end of the comment and choking on the T that follows.
The parser currently doesn't like spaces in the part or chapter text.
<?xml version='1.0' encoding='UTF-8'?>
<book>
<info>
<author>Virginia Woolf</author>
<title>Monday or Tuesday</title>
<date>1921</date>
<option name="chapter.titles" value="off"/>
</info>
java.lang.NullPointerException
at me.koogy.acdepub.objects.AcdParser.extractAttributes(AcdParser.java:372)
at me.koogy.acdepub.objects.AcdParser.parseOptions(AcdParser.java:123)
at me.koogy.acdepub.objects.AcdParser.parseBook(AcdParser.java:71)
Little Dorrit
PREFACE TO THE 1857 EDITION
POVERTY
RICHES
there are no chapters listed in the TOC, only the part titles (above). This should be configurable (actually, "chapter.number_in_toc" option already exists).
it could be a resource file that's just copied over...
Long lines (within speech blocks) should indent if they wrap.
Here is a long line and currently
it does this
But it would be better if long lines
were more like this
Chapter files should probably use the part title if there is one, rather than the book title.
Need to find a good example.
There's currently no support for images other than the cover image.
Mary Barton has an editorial note and a poem before the prefix and neither has a title.
The toc in lucidor says 'null' for those two entries.
The actual toc.ncx file is truncated. (may not be true - middle of debugging session)
TocWriter writes title or numbering but both are null.
Check appendices too.
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.