tex-math-parser icon indicating copy to clipboard operation
tex-math-parser copied to clipboard

A parser that can evaluate TeX math and convert it into a MathJS expression tree.

Results 6 tex-math-parser issues
Sort by recently updated
recently updated
newest added

To improve the build process a bit, I installed [vite](https://vitejs.dev/), add a npm `build ` script and a configuration file for vite. When executing `npm run build` vite will build...

This PR upgrades all dependencies to the newest versions. The problem with converting numbers to bignumers is solved by clearing all [default conversions](https://github.com/josdejong/mathjs/blob/master/src/core/function/typed.js#L167) and (start) adding only those needed for...

It is possible to use the `evaluateTex` function with symbols (`a`, `b`, `c`), but a symbol out of multiple characters like `aa` are seems to get tokenized to single character...

```ts export const texToNode = (tex: string): mathjs.MathNode | null => { try { return parseTex(tex); // err: Property 'toHTML' is missing in type import(".../node_modules/tex-math-parser/node_modules/mathjs/types/index").MathNode' but required in type 'math.MathNode'....

I have a custom find and replace done before I parse my own TeX, but it'd be nice to have this built-in. Thanks! 🤓

This is a fairly major update adding many additional TeX features in addition to adding two more build targets. The updated README has documentation on all of the new user-facing...