Parse Entity from LaTeX
See original GitHub issueIt feels weird that this library can generate LaTeX from an Entity, but not generate an Entity from LaTeX. I understand that it’s much more difficult to do the reverse, but I think it’s better to have a parser that works most of the time than not have that capability at all.
I’m already working on something like this, specifically for parsing functions, that utilizes LaTeXParser.MathListFromLaTeX(string)
from CSharpMath to parse the LaTeX and then transform it into a string that AngouriMath should recognize.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Ways to parse JSON in LaTeX? - TeX
I'm writing my recipes (food) in a small textfile in JSON. Are there any ways to parse this in LaTeX? I know, that...
Read more >Parsing and Serializing LaTeX
To parse a LaTeX string as a MathJSON expression, call the ce.parse() function. const ce = new ComputeEngine(); console.log(ce.
Read more >latexwalker — Calling Parsers for LaTeX Code - pylatexenc
A parser which walks through an input stream, parsing it as LaTeX markup. Arguments: s : the string to parse as LaTeX code....
Read more >macrospec — Specifying definitions for the parser - pylatexenc
Provides classes and helper functions to describe a LaTeX context of known macros and environments, specifying how they should be parsed by ...
Read more >Parser for LateX generated by Mathquill
What I am looking for in this question is how I can change this context free-grammar so that it handles implicit multiplication, latex...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@yoshiask CSharpMath does have a method to create an AngouriMath Entity from LaTeX. https://github.com/verybadcat/CSharpMath/blob/master/CSharpMath.Evaluation/Evaluation.cs
It’s not updated to AngouriMath 1.2 though.
So I guess you will be able to enjoy parsing from LaTeX once CSharpMath is upgraded to AngouriMath 1.2.