


Windows diary is a very interesting gadget that comes with win7. Today, I will introduce a more convenient method-handwriting mathematical formula skills using the Windows diary function. Now, the "mathematics input panel" tool has been added to win7 to make the use of mathematical formulas more convenient and simple. Generally, people are used to calling the formula editor in Word for input, but it is a bit tedious. If somebody can show me the code to display MathML from Math Input Panel in an alert() using just JavaScript ( jquery and TinyMCE dependencies are okay if those help), I can handle the rest.Mathematics is a very important subject, and mathematical formulas are very useful in many fields. I'd really really want to avoid any plugin dependency even for supporting a single browser running on Windows 8. However, in short run I'd be okay supporting only a single browser running on Windows 8. I'd prefer supporting MSIE 10 and latest versions of Firefox and Google Chrome. As far as TinyMCE and JavaScript (as I'm using it) sees the clipboard, it's always empty when it really contains the formats described in the How do i accept MathML? The missing part is to extract the correct data from the clipboard. The resulting MathML will be later rendered by MathJax but could be processed by the server, too. My target is to get the MathML as UTF-8 encoded text and further embed that text via TinyMCE. Is it possible to do the same with any web browser using just JavaScript (that is, no silverlight or any other plugin allowed)? I understand that the MathML input is on the clipboard but it's declared as non-text (despite the fact that it really is application/mathml or more exactly UTF-16LE encoded XML with MathML markup with a BOM at the start of the data).

The question How do i accept MathML? already explains how to handle output from Windows 7 and Windows 8 Math Input Panel using native Windows code.
