render math equations for websites latex

前端 未结 4 1257
野性不改
野性不改 2020-12-11 10:27

I\'m looking for a standalone math equation renderer that generates a gif or png file. It should be able to take equation input from a URL. It has to work on a webserver, pr

相关标签:
4条回答
  • 2020-12-11 11:08

    You can use some web-services that do this, like MimeTeX or MathRan.

    0 讨论(0)
  • 2020-12-11 11:27

    I know this doesn't directly answer your question, but most people don't think about this first time, so you might want to consider it.

    You can render the LaTeX client-side with javascript libraries such as jsMath, it is nice because it introduces no overhead to your server, and can be dynamically edited.

    0 讨论(0)
  • 2020-12-11 11:31

    tex4ht renders all math as gifs. it comes with miktex. you can use it from the command line. it will also dump to math ML.

    0 讨论(0)
  • 2020-12-11 11:34

    Latex2PNG does the trick. Moreover, its source is very simple (< 100 lines), so you can easily see how to build one yourself. If you want to build such a thing on a Microsoft stack, you'll need to install latex on Windows (not too hard), or write some code to dispatch the render requests to a unix machine with latex.

    0 讨论(0)
提交回复
热议问题