GithubHelp home page GithubHelp logo

distributedproofreaders / ppcomp Goto Github PK

View Code? Open in Web Editor NEW
1.0 4.0 4.0 3.41 MB

Post Processor's file comparison utility

License: GNU General Public License v3.0

HTML 96.84% Python 3.16%
python ebook-process

ppcomp's People

Contributors

cpeel avatar rtonsing avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

ppcomp's Issues

Superscript issue

Not sure if this is the correct place to flag an issue with PPCOMP on the DP Work Bench.

When comparing

S<sup>t.</sup> Jago

in the HTML file with

S^{t.} Jago

in the TEXT file, it does so incorrectly.

The observed behaviour changes slightly, but is also incorrect(?), if the TEXT file has

S^t. Jago

instead. It is the '.' in both cases that appears to be the problem.

Quentin

Suppress word join (NoBreak) (U+2060)" could be added as a further option

While the Unicode โ  character does what I want in a browser and, as far as I can see, in epub readers, there is a secondary issue with using it.

This is that PPCOMP treats it as a 'visible' or non-space character and hence flags it as a 'diff' in the HTML file.

That could be avoided if PPCOMP offered another option for transforming an HTML file. It already has the option to

Suppress non-breakable spaces between numbers

and

Suppress zero width space (U+200b)

Perhaps "Suppress word join (NoBreak) (U+2060)" could be added as a further option or its suppression in the comparison folded into one of the options above?

Quentin (QGC)

PPComp error message when using "Extract and process footnotes separately"

From @charliehoward4dp

When the"Extract and process footnotes separately" option is selected, the Workbench's ppcomp returns this error message:

`Whoops! Something went wrong and no output was generated. The error message was

For more assistance, ask in the discussion topic and include this identifier: r625483e56d486`

(There is no error message.) The attached files will demonstrate this when these options are selected:

Ignore case when comparing
Extract and process footnotes separately
Suppress "[Illustration:" marks

ppcomp_html5_limitation.zip

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.