Giter Site home page Giter Site logo

blahtexml's People

Contributors

amuramatsu avatar gvanas avatar ldbeth avatar mattrajca avatar trofi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

blahtexml's Issues

Add More Colors

I learned on Stack Exchange that Keynote is using Blahtex to render Latex. I try to match colors in my latex equations with keynote colors, but this is proving impossible at the moment. Would it be possible to add more colors therefore - in particular some darker blues?

Maybe more ambitiously, could the keynote standard colors be matched exactly?

Mozilla tracking bug

I don't know the current status of Blahtexml, but the David Harvey had reported many Mozilla bugs in the past. There is a list here

https://www.mediawiki.org/wiki/Extension:Blahtex/Bugs/Bugs_in_browser_MathML_support/Gecko

and a quick search shows that many are still referenced in the source code:

https://github.com/gvanas/blahtexml/search?q=mozilla
https://github.com/gvanas/blahtexml/search?q=firefox

The Mozilla MathML team has fixed many of these bugs (Blahtexml should probably be tested with a recent version of Gecko and the comments in the source code updated) but we are always interested to get more feedback:

https://bugzilla.mozilla.org/buglist.cgi?f1=see_also&list_id=11167342&o1=substring&query_format=advanced&v1=https%3A%2F%2Fgithub.com%2Fgvanas%2Fblahtexml%2Fissues%2F4

I'm opening this as a tracking bug.

Does not compile with GCC 4.7

Hello,
Not sure if this is being maintained here anymore, but unistd.h is not imported by default anymore in gcc 4.7. I notice the 2 files this import is needed there is a guard clause for if this is being compiled for OS X. Removing those guard clauses allows it to compile normally.

Found crashes with --mathml by fuzzing with afl++

Hello!

I've ran afl++ on commit 92f2c5f (current master) and it has found the following inputs to crash the blahtex interpreter when passing --mathml as an argument.

{{}{}}, ((^{ {}{}}, ?i^?k^{{}{}}, {}{}, {}{}{}, \!\,, ^{^{{}{}{}}}.

To reproduce crashes: echo "{}{}" | ./blahtex --mathml

I've fuzzed on Linux ass 5.10.0-18-686-pae #1 SMP Debian 5.10.140-1 (2022-09-02) i686 GNU/Linux on Intel T2400 CPU. No other platforms have been tested.

I didn't test for the impact those crashes have on security or integrity. Apple pages documents containing such inputs show no visual indication of library crash as tested on iPad. As I do not have access to one, I cannot fully verify, nor do I know how this library is used by the software.

Tarball with afl++ output: http://upload.sijanec.eu./blahtex.tar.gz

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.