admin管理员组文章数量:1023230
I was hoping to use Mathjax to render some mathjax snippets into svg files.
At this point I believe that a mand in the form
<javascript interpter> <Mathjax jax file> 'mathjax snippet here'
should work, I'm not sure what jax
file I'm supposed to pick and how to set the output mode that I want, or how to configure mathjax in general when calling it from the mand line.
I need this because I have to render this math expressions offline without a browser.
I was hoping to use Mathjax to render some mathjax snippets into svg files.
At this point I believe that a mand in the form
<javascript interpter> <Mathjax jax file> 'mathjax snippet here'
should work, I'm not sure what jax
file I'm supposed to pick and how to set the output mode that I want, or how to configure mathjax in general when calling it from the mand line.
I need this because I have to render this math expressions offline without a browser.
Share Improve this question asked May 3, 2014 at 4:33 user2485710user2485710 9,85116 gold badges62 silver badges108 bronze badges3 Answers
Reset to default 5See this post on the MathJax forum for some code that does this using Phantom.js (there are some subtleties to be considered, so look at the code carefully if you need to modify it). Several others have taken this further. The svgtex project listed in that conversation apparently has been discontinued in favor of the Mathoid project that underlies Wikimedia's latest math support code.
EDIT: there is now the MathJax-node project that uses node.js to run MathJax via the mand line or via your own node.js code.
I think you can use nodejs with some wrappers for MathJax - https://www.npmjs/search?q=Mathjax
Hey I am not expert in mathjax. but i read have read a article on it. I am passing some links to you. One of which is a documentation of it. Hope it helps you. documentation pdf. and second one
I was hoping to use Mathjax to render some mathjax snippets into svg files.
At this point I believe that a mand in the form
<javascript interpter> <Mathjax jax file> 'mathjax snippet here'
should work, I'm not sure what jax
file I'm supposed to pick and how to set the output mode that I want, or how to configure mathjax in general when calling it from the mand line.
I need this because I have to render this math expressions offline without a browser.
I was hoping to use Mathjax to render some mathjax snippets into svg files.
At this point I believe that a mand in the form
<javascript interpter> <Mathjax jax file> 'mathjax snippet here'
should work, I'm not sure what jax
file I'm supposed to pick and how to set the output mode that I want, or how to configure mathjax in general when calling it from the mand line.
I need this because I have to render this math expressions offline without a browser.
Share Improve this question asked May 3, 2014 at 4:33 user2485710user2485710 9,85116 gold badges62 silver badges108 bronze badges3 Answers
Reset to default 5See this post on the MathJax forum for some code that does this using Phantom.js (there are some subtleties to be considered, so look at the code carefully if you need to modify it). Several others have taken this further. The svgtex project listed in that conversation apparently has been discontinued in favor of the Mathoid project that underlies Wikimedia's latest math support code.
EDIT: there is now the MathJax-node project that uses node.js to run MathJax via the mand line or via your own node.js code.
I think you can use nodejs with some wrappers for MathJax - https://www.npmjs/search?q=Mathjax
Hey I am not expert in mathjax. but i read have read a article on it. I am passing some links to you. One of which is a documentation of it. Hope it helps you. documentation pdf. and second one
本文标签: javascriptHow to use mathjax from command lineStack Overflow
版权声明:本文标题:javascript - How to use mathjax from command line? - Stack Overflow 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/questions/1745598583a2158320.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论