Hello Milind The answer to your first and most important question is yes, but...It is possible to make a WYSIWYG TW plugin for math. There are few options how to get math into TW, not just LaTeX based (like jsMath,MathJax or conversion to MathML - LaTeXMathMLPlugin). I know for sure, that there was a pure TW plugin, not requiring any other files, but my quick search in this group was unsuccessful and it wasn't so powerful like the others. I think, I understand "why". I used jsMath and for example, trying to edit a big matrix becomes quite a challange and you end up looking at latex notation in edit mode for more than 90% of the time, what is definitely not the goal. MathQuill is a wrong way, because at some point, you would need to convert html code (PMario's suggestion for a formatter). Imho, sticking with pure latex notation (in TW's edit mode) is better (easy copy/paste, manual editing,...). Looking sadly at my notes, I'm waiting for 5 years for such a plugin. To be correct, I hoped for a WYSIWYG in the TW core, but this planned feature was abandoned 6 months ago: http://trac.tiddlywiki.org/ticket/406, so waiting for it and then extend it with a plugin is worthless. There is VisualTW, but it also uses html markup. Eric's TW (http://tiddlytools.com/) has (or had) an extension, where you can write TW text and it shows you (with a relatively small time delay) how it would look like as a rendered tiddler (and works with JsMath installed), but it isn't a solution either. You need to finish the LaTex expression to be shown: "frac{1} {n}\su" gives you an error (Unknown control sequence '\su') until you type "m" ("frac{1}{n}\sum"). I wanted to write a plugin by myself, but still, I lack the skill (don't have the required JavaScript knowlegde yet and don't have enough free time either). If I was someone like Eric, I'd have done it at least 3 years ago, so the chance to be it availiable in the near future, even with help, is small. At least, I write some of my thoughts, suggestions (simplified).
The best way would be to have a toolbar for common symbols and expressions, where you can click. These "buttons" would add plain text (LaTex notation) in TW's view mode, so the tiddler is automatically rendered, which means true WYSIWYG. Long time ago, I was experimenting with Eric's comment plugin and it works. I searched my almost 3 years old notes and created a tiddlyspot instance for this example: http://motw.tiddlyspot.com/. To be able to handle long expressions even within normal text, there have to be really good RegExps defined, not like in the example. I was thinking similary to the MathQuill border for active position in the expression and using keyboard arrows for moving, but how to achieve this in TW goes far beyond my knowlegde about the core macros (functions)...With many expressions in one tiddler performance can become an issue too. History for forward and back steps, color highliting, pre-defined toolbar templates,...just to name a few features I wrote down. But once again, my coding skills aren't good enough (yet?), so I'm guessing, that ideally, this plugin could be finished in a half year from now, but... On 15. Aug, 09:01 h., Milind <[email protected]> wrote: > Hi, > Is it possible to make a plugin out of MathQuill (http:// > mathquill.github.com/) onto tiddlywiki? It allows WYSIWYG interface > for writing equations and would be really helpful. Don't know how that > can be done if its possible. Can anyone help? > > Thanks, > Milind -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/tiddlywiki?hl=en.

