question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parse Entity from LaTeX

See original GitHub issue

It 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:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
Happypig375commented, Nov 14, 2020

@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.

1reaction
WhiteBlackGoosecommented, Mar 10, 2021

So I guess you will be able to enjoy parsing from LaTeX once CSharpMath is upgraded to AngouriMath 1.2.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found