Thanks for looking at it. I am not familiar with AJAX programming so
most of what you said I didn't understand but it will be a nice
guideline if I try to do it or someone else is interested.

Thanks,
Milind

On Aug 16, 1:33 am, PMario <[email protected]> wrote:
> Hi Milind,
> Had a very short look at the mathquill project/API. It states, that
> the project is "alpha" which indicates, that there could be
> significant changes. On the other hand it is an opportunity to
> influence it in a TW way :)
>
> The problem I see, isn't converting the stuff into a plugin and call
> it with TW. The problem is, to save the formular back into the context
> of a tiddler text, after editing it.
>
> a) mathquill uses the following html syntax for rendering a formular:
> <code class="mathquill ....">formular</code>
>
> It would be possible to create a TW formatter that can handle this.
> eg:
> Some text prior to the x^2 <code class="mathquill-editable ...."> x^2
> </code> some text afterwards
>
> which could produce an editor. After editing it may be:
>
> Some text prior to the x^2 <code class="mathquill-editable ...."> y^3
> </code> some text afterwards
> ==========
> Handling this possibility a) would be a lot of work and editing the
> "text prior x^2" and the formular would be 2 edit steps. I personally
> don't like this possibility ....
> I'd only use this without "editable" to display/handle existing html
> code blocks.
> ====
>
> Writing the above I had an idea:
>
> b)
> Some text <<mathquill "formular::fx1" editable:true>> some more text
>
> where tiddler "formular" contains
> fx1: x^2
> fx2: x^3
> fx3: f(x)=sin(x)
> fx4: ....
>
> Tiddler formular could contain several slices. Using some existing
> code to modify tiddler slices it should be quite handy. The formular
> tiddler would be an overview about used formulars. These formulars are
> only referenced by the mathquill macro. It would be possible to edit
> this tiddler also by hand. All referenced formulars would be
> automatically updated. The format to store the formulars would be
> Latex, since the API seems to handle this.
>
> I am not sure, if this workflow, would fit to an editors needs, but
> handling it TW side would be possible.
>
> -m
>
> On Aug 15, 9:01 am, 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.

Reply via email to