Giter Club home page Giter Club logo

mathml-chrome's People

Contributors

andrusha avatar sprig avatar

Stargazers

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

Watchers

 avatar  avatar

mathml-chrome's Issues

Failure to parse inline equations in some cases

I can't seem to work out what might be causing this problem, but I can post a snippet of a .md file from one of my private repositories which fails to render correctly, despite having no issues in "enhanced" markdown editors like Remarkable.

* `Surface` class defining a cubic B-Spline surface on the $[0,1]$ interval.
    * $\mathbf{s}(u,v)$, partial derivatives $\mathbf{s}_{u,v,uu,uv,vv}(u,v)$ are self-explanatory, as is the surface normal $\mathbf{N}(u,v)$ and its partial derivatives $\mathbf{N}_{u,v}(u,v)$.
  • Surface class defining a cubic B-Spline surface on the $[0,1]$ interval.
    • $\mathbf{s}(u,v)$, partial derivatives $\mathbf{s}{u,v,uu,uv,vv}(u,v)$ are self-explanatory, as is the surface normal $\mathbf{N}(u,v)$ and its partial derivatives $\mathbf{N}{u,v}(u,v)$.

This bug also seems to be present in the Chrome extension "BitBucket with MathJax", and I've already reported it to their tracker here.

Does not compile with "CoffeeScript version 1.10.0"

Hi,

after cloning the repo, I get the following:

% make         
echo "Compiling coffee script"
Compiling coffee script
coffee --compile --lint --join ./release/mathml-chrome.js lib.coffee cached_storage.coffee mathml-chrome.coffee
/usr/lib/node_modules/coffee-script/lib/coffee-script/optparse.js:51
            throw new Error("unrecognized option: " + arg);
            ^

Error: unrecognized option: --lint
  at OptionParser.exports.OptionParser.OptionParser.parse (/usr/lib/node_modules/coffee-script/lib/coffee-script/optparse.js:51:19)
  at parseOptions (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:550:29)
  at Object.exports.run (/usr/lib/node_modules/coffee-script/lib/coffee-script/command.js:54:5)
  at Object.<anonymous> (/usr/lib/node_modules/coffee-script/bin/coffee:7:41)
  at Module._compile (module.js:398:26)
  at Object.Module._extensions..js (module.js:405:10)
  at Module.load (module.js:344:32)
  at Function.Module._load (module.js:301:12)
  at Function.Module.runMain (module.js:430:10)
  at startup (node.js:141:18)
  at node.js:980:3

Makefile:24: recipe for target 'dev' failed
make: *** [dev] Error 1

% coffee -v
CoffeeScript version 1.10.0

% coffee --help

Usage: coffee [options] path/to/script.coffee -- [args]

If called without options, `coffee` will run your script.

  -b, --bare         compile without a top-level function wrapper
  -c, --compile      compile to JavaScript and save as .js files
  -e, --eval         pass a string from the command line as input
  -h, --help         display this help message
  -i, --interactive  run an interactive CoffeeScript REPL
  -j, --join         concatenate the source CoffeeScript before compiling
  -m, --map          generate source map and save as .js.map files
  -n, --nodes        print out the parse tree that the parser produces
      --nodejs       pass options directly to the "node" binary
      --no-header    suppress the "Generated by" header
  -o, --output       set the output directory for compiled JavaScript
  -p, --print        print out the compiled JavaScript
  -r, --require      require the given module before eval or REPL
  -s, --stdio        listen for and compile scripts over stdio
  -l, --literate     treat stdio as literate style coffee-script
  -t, --tokens       print out the tokens that the lexer/rewriter produce
  -v, --version      display the version number
  -w, --watch        watch scripts for changes and rerun commands

This is for archlinux with coffee-script 1.10.0-3

not working on slack.com

I just tried Math Anywhere and found that this github-repository corresponds to it.
With my colleages we use slack.com and where I wanted to render latex messages.

I first got an error, that I cannot load "http://path-to-latest-mathjax..." within https request or something like that, where changing http -> https indeed resolved the error (in the Chrome Development Panel).

Now there is no error at all left, but $x^2$ and such does not get changed.
Any idea, why this can happen?

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.