Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for the similar library for Java #3318

Open
AntonAMorozov opened this issue Dec 30, 2024 · 1 comment
Open

Looking for the similar library for Java #3318

AntonAMorozov opened this issue Dec 30, 2024 · 1 comment
Labels

Comments

@AntonAMorozov
Copy link

AntonAMorozov commented Dec 30, 2024

Hello)
Is there a library like this but for Java?
I need to convert Katex to MathML or HTML, but I can't find a library that works as well

Just like this.
Input: \frac{\sum (r_{i-5})}{N}
Output: <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> <mfrac> <mrow> <mo data-mjx-texclass="OP">&#x2211;</mo> <mo stretchy="false">(</mo> <msub> <mi>r</mi> <mrow data-mjx-texclass="ORD"> <mi>i</mi> <mo>&#x2212;</mo> <mn>5</mn> </mrow> </msub> <mo stretchy="false">)</mo> </mrow> <mi>N</mi> </mfrac> </math>
It is all that I need)
I found Snuggletex, but it doesn't work good

@dpvc
Copy link
Member

dpvc commented Dec 30, 2024

I am not aware of a java-based latex-to-mathml converter. MathJax is javascript-based.

@dpvc dpvc added the Question label Dec 30, 2024
@AntonAMorozov AntonAMorozov changed the title Looking for the similar library Looking for the similar library for Java Dec 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants