GithubHelp home page GithubHelp logo

acdepub's People

Contributors

acdean avatar dependabot[bot] avatar

Watchers

 avatar  avatar

acdepub's Issues

Titles with mdashes in them fail.

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.

& in chapter title breaks toc

an & in a chapter title causes the name in the toc to be copied from previous chapter

see "monday_or_tuesday.xml"

bug

option chapter.titles off cause NPE (DOS line endings)

<?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)

Part Chapters not in TOC (see Little Dorrit)

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).

Text wrapping for plays

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

Image Support

There's currently no support for images other than the cover image.

Prefaces without titles cause a null in the toc.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.