render math equations for websites latex

2019-01-20 05:08发布

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, preferably on IIS and .NET based.

I read the previous topics here, but none of them seem to work well.

标签: .net math latex
5条回答
神经病院院长
2楼-- · 2019-01-20 05:16

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.

查看更多
Bombasti
3楼-- · 2019-01-20 05:19

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.

查看更多
何必那么认真
4楼-- · 2019-01-20 05:24

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.

查看更多
甜甜的少女心
5楼-- · 2019-01-20 05:36

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

查看更多
该账号已被封号
6楼-- · 2019-01-20 05:37

See also this.

查看更多
登录 后发表回答