I have created a rough prototype (only works for integral function and is 
missing a lot of things and of course renders Latex to a separate element 
which will not be a case in actual). This is how it works
1 - User inputs sage function integrate(expression,variable,lower,upper)
2 - Use regular expressions to separate expression,variable,lower and upper.
3 - Create a Latex string from above four variable :

var resultString = "\\int" + "_" + lower + "^" + upper + "(" + expression + ")" 
+ "d" + variable;


4 - Pass resultString to MathQuill which renders it.

<https://lh5.googleusercontent.com/-sttPVK-4Fio/VQ7i0rqgDjI/AAAAAAAAAWc/FTaJ2SrvBKY/s1600/Untitled.png>

You can check source code here 
<https://github.com/muhammadmohsin1994/MathquillTest>.
So is this the right direction? 


-- 
You received this message because you are subscribed to the Google Groups 
"sage-gsoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-gsoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to