Is it possible to use web development tools and create an actual working WYSIWYM math editor, like desktop Applications such as MathType?

StackOverflow https://stackoverflow.com/questions/12325456

Question

Before I started to try and make this thing, I wanted to know if it is possible, under the following circumstances:

  • The code to script up that math must be able to be taken, submitted and stored in a database
  • The code for two pieces of math which look exactly the same must have the exact same code
  • According to the requirements, wherever the user clicks his or her mouse, the caret must move to that specific element or part of the math

So, is it possible? I'm looking forward to using technologies such as HTML, JavaScript, jQuery, and even Flash as a last resort.

Était-ce utile?

La solution

MathQuill lets you type maths in a WYSIWYG fashion, source here. There is a demo on the homepage.

Autres conseils

I think you want something like MathML. Take a look here. http://www.w3.org/Math/

or maybe http://code.google.com/p/mathmleditor/

I found this a while ago http://www.codecogs.com/latex/eqneditor.php pretty useful implementation of LaTeX with a live preview, I've used it a few times. Probably doesn't fit the bill for your point 3 either but just in case it is useful.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top