Is there a tool that converts plain text to LaTeX in C#?
Hi
Is there a NuGet package maybe or a tool in Visual Studio that I can use that converts plain text to LaTeX code automatically? It is important to have it return the LaTeX result as a string. It would actually be perfect if CSharpMath or SkiaSharp is capable of doing this. And If so, how? If not, what other options do I have?
Example:
In my actual case, I am taking a string from a user TextBox so I don't know what equation the user will be providing.
Solved
string equation = "x=a/b"
. Here, x=a/b
is in plain text, it would be nice to feed this string to a parser function of some sort that can return a LaTeX string representing the input given.9 Replies
oh that's cool, I'd love a tool like that, haven't dug into that with C# though, good luck!
Thanks princess.
lmao
https://stackoverflow.com/questions/76887368/is-there-a-tool-that-converts-plain-text-to-latex-in-c
Stack Overflow
Is there a tool that converts plain text to LaTeX in C#?
Is there a NuGet package maybe or a tool in Visual Studio that I can use that converts plain text to LaTeX code automatically? It is important to have it return the LaTeX result as a string. It would
here's a blog post
https://blog.aspose.com/tex/latex-document-conversion-in-csharp/
Aspose Blog
LaTeX Document Conversion in C# – The Ultimate Guide
Learn about LaTeX document conversion in C#. Convert your TeX or LaTeX files to various other formats in C#. Explore C# LaTeX document conversion API.
I randomly found
that is my question XD
I just posted that on Stack Overflow
Aspose site, I gave it a try, it doesn't seem to convert it to text. It outputs the result into dif files like image, pdf, doc, and so on
it must turn the input into LaTeX format proper at some point, probably just figured nobody would want the raw LaTeX for it so they just output it in other formats 🤷♀️
ask chat GPT lmao
there is a tool that converts to TeX as text code, I already used it. Sadly it is useless for my case
I got it solved 🙂