Skip to content

How can I use your library to get the original expression (without LaTeX)? And is it possible at the current time? #486

Answered by ForNeVeR
TheDIMONDK asked this question in Q&A
Discussion options

You must be logged in to vote

If you are interested in extracting some mathematical value from the markup, then sadly nope, we cannot do this at the moment.

It should be possible to expose the parser internals to convert \frac{x^2 + y^2}{z} to something like frac(sup("x", "2"), sup("y", "2"), "z"), but so far this is not one of the project's purposes.

I think that the best way to go would be to just fork the parser and introduce the required functionality.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TheDIMONDK
Comment options

Answer selected by TheDIMONDK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants