Any possibility of translating MathJax to C/C++?

已查看 378 次
跳至第一个未读帖子

ardi

未读,
2015年7月9日 11:26:032015/7/9
收件人 mathja...@googlegroups.com
After some search, I learnt it's quite complicated to translate JavaScript to C or C++, due to the dynamic nature of the language.

However, considering that I'm only interested in displaying LaTeX math from an offline application, without requiring a browser, and with fast performance, I'm wondering if I'd just need an small part of the MathJax code and, if affirmative, whether it would be feasible for me to translate it to C/C++ by some means.

Embedding a JavaScript engine in my app involves some difficulties that I'd prefer to avoid.

If there's some hope, please tell!!

William F Hammond

未读,
2015年7月9日 13:23:102015/7/9
收件人 mathja...@googlegroups.com
blahtex/blahtexml may not be quite what you want, but might be a start.
http://gva.noekeon.org/blahtexml/


--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

will.c...@gmail.com

未读,
2016年7月18日 12:02:582016/7/18
收件人 MathJax Users
This post is fairly old, but we've been working on a C++ library that does exactly what you need. Its based on a library we originally developed for an Excel pluging (called fxRender) that converted excel equations into readable images of the equation. Following various requests to provide the same within embedded environments, we've gone onto develop a C++ implementation. We're still testing and ensure the code works across all platforms; but we aim to release a version this autumn. It'll be availabel on www.codecogs.com. Only 1 year and 3 months after your original request! Will

Christophe Bal

未读,
2016年7月18日 12:26:282016/7/18
收件人 mathja...@googlegroups.com

Hello.

Do you know that LaTeX allows to produce cropped images ? Take à look ar "standalone".


--
回复全部
回复作者
转发
0 个新帖子