Inline equation edit

280 views
Skip to first unread message

Asit Panda

unread,
Feb 13, 2013, 6:32:46 AM2/13/13
to mathja...@googlegroups.com, Asit Kumar Panda
Hi. i want inline equation edit support using MathJax. I integrated MathJax in my project for rendering equation from Latex character. Its working fine.
is it possible to support edit to equation which is in HTML-CSS format ? Can i get latex from HTML-CSS (MathJax-Element dom) element not from script tag ?


Thomas Leathrum

unread,
Feb 13, 2013, 11:37:19 AM2/13/13
to mathja...@googlegroups.com, Asit Kumar Panda
Editing the HTML-CSS directly is not going to be viable, because that output format is both complicated and fragile.  You can, however, edit the LaTeX and reprocess it on the fly in your page -- see the documentation at the following link, especially the example near the end:

http://docs.mathjax.org/en/latest/typeset.html

As for getting the LaTeX source back, that is already available in the MathJax contextual menu -- right-click on any equation and select "Show Math As > TeX Commands".  You can also get the LaTeX source from JavaScript calls in your page, but that is a bit more complicated.

Peter Krautzberger

unread,
Feb 13, 2013, 1:15:52 PM2/13/13
to mathja...@googlegroups.com, Asit Kumar Panda
As Tom wrote, this is hard and we've not seen a running system doing inline equation editing. The most successful approach is probably the wysiwhat project (an Aloha-extension), see http://wysiwhat.github.com/Aloha-Editor/cnx.html

Peter.





--
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/groups/opt_out.
 
 

Asit Panda

unread,
Feb 14, 2013, 3:04:09 AM2/14/13
to mathja...@googlegroups.com, Asit Kumar Panda
Hi Guys,

Thanks for replaying . Actually i am looking a functionality like Microsoft word equation editor. Can anyone help how to get this feature? 


Thomas Leathrum

unread,
Feb 14, 2013, 11:22:15 AM2/14/13
to mathja...@googlegroups.com, Asit Kumar Panda
OK, so what you are looking for is a WYSIWYG ("what you see is what you get") editor for MathJax.  Working directly with MathJax in a web page, I don't know of such an editor, but I do know that the question has come up before and people have said they are working on it.  In the meantime, there are standalone WYSIWYG LaTeX equation editors such as MathType and EqualX -- the LaTeX output can be pasted into a web page and rendered with MathJax.

Asit Kumar Panda

unread,
Feb 14, 2013, 2:00:39 PM2/14/13
to Thomas Leathrum, mathja...@googlegroups.com
Hi Thomas,

Is mathjax team working on this? If so do you have any idea when it will come and how they are going to solve?  

Thanks for replay to all.

Christophe BAL

unread,
Feb 14, 2013, 2:05:07 PM2/14/13
to mathja...@googlegroups.com
Hello,
I'm not sure that a WYSIWYG editor is the more efficient way to write math.
At the first glance, this seems easier but writing equations is really easier
to do only by using calculator like syntax as the one of ASCIIMath.

Best regards.
Christophe.


2013/2/14 Asit Kumar Panda <asitp...@gmail.com>

Thomas Leathrum

unread,
Feb 14, 2013, 3:39:46 PM2/14/13
to mathja...@googlegroups.com, Thomas Leathrum
The MathJax team is not working on this.  If it is happening, it is a separate project that uses MathJax, but is not within MathJax itself.  MathJax is intended to provide an engine for typesetting math expressions within a completed HTML document, and for that purpose, a WYSIWYG editor would be inappropriate.  As Christophe indicates, for typesetting math, what you want is a simple syntax like ASCIIMath or LaTeX that you can include in the HTML.  An editor would be an authoring tool for writing the HTML, not an engine for doing the typesetting once the HTML is complete.  HTML is a dynamic document format, which opens up some possibilities for MathJax to dynamically re-render expressions, but this is not the same as a WYSIWYG editor.  Whatever work other teams are doing on this, they would be writing dynamic HTML documents (and scripts) for composing math expressions in a WYSIWYG environment, and using MathJax to display the results.  MathJax would just be the back end of such an environment.  A typical example of using MathJax this way is the Aloha Editor that Peter mentioned.

Peter Krautzberger

unread,
Feb 14, 2013, 5:59:31 PM2/14/13
to mathja...@googlegroups.com, Thomas Leathrum
As Tom wrote, building web-based wysiwyg editors is not a goal of the MathJax project. Of course, we're happy to see people building such tools using MathJax and we gladly help with any MathJax related questions.

That being said, these already exist. If you search the User Group, you'll find the following web-based services mentioned


Maybe these can help you in your project.
Peter.



Andrew Cowie

unread,
Feb 14, 2013, 11:10:28 PM2/14/13
to mathja...@googlegroups.com
On Thu, 2013-02-14 at 14:59 -0800, Peter Krautzberger wrote:

>
> That being said, these already exist. If you search the User Group,
> you'll find the following web-based services mentioned
>

This is the second time in about a month this list has come up. Two of
them are 404 Not Found, and at least one other is proprietary software,
and one uses flash and not the HTML 5 family of technologies.

Hm.

I guess an alternative question would be "can someone suggest a modern
equation editor, either web-based or an application, that reliably
generates MathML (or, at a pinch, LaTex) that is (asymptotically)
compatible with MathJax?

The usual answer is to go look on the W3C MathML page, but that page
is... noisy.

AfC
Sydney


Reply all
Reply to author
Forward
0 new messages