WYSIWYG SVG Editing In Instiki
In my quest to make Instiki the best damned piece of Math/Physics Wiki software in existence, I have been somewhat frustrated by the fact that while creating equations is easy (thanks to itex2MML), creating diagrams has not been. Yes, you can include SVG graphics, and mix equations and SVG in all kinds of interesting ways. But creating the SVG graphics required either an external GUI editor, like Adobe Illustrator or Inkscape, or manipulating the raw SVG commands manually (and, depending on the external GUI editor, sometimes both).
Well now, thanks to the great work by Jeff Schiller, Alexis Deveria and their collaborators on the SVG-Edit project, you can create, edit and manipulate inline SVG and mixed MathML/SVG content, right in Instiki.
In the Editor window of Instiki, you can click on “Create SVG graphic” (or select an existing graphic and click on “Edit existing SVG graphic”). Up pops a window like the one below:
(Umh … maybe it’s not obvious, but that’s not a picture. It’s an actual SVG-edit editor window. All the tools (except document-save) work. Go wild!)
You can, of course, use all of the GUI drawing tools, add snippets of MathML (using the foreignObject
tool), and saved the result right back to your Instiki wiki.
Alas, you read that last sentence correctly, “MathML”, not “itex”.
If someone, who knows their way around Rails and Ajax, wants to help me rectify that last little lacuna …
(N.B.: Since several have asked, this will eventually be Instiki 0.19. If you’re impatient, grab a current tarball or install from BZR. As an added bonus, this fixes several bugs in 0.18.1. See the installation instructions.)
Re: WYSIWYG SVG Editing In Instiki
Very nice! :)
I’ll definitely give it a try when I get a chance. Thanks.