I've written something similar to this as a plugin for
Skencil called SketchLaTeX
(http://www.2pi.info/latex/sketchlatex/), and there is
another one for Skencil, called skLaTeX
(http://home.comcast.net/~jbiddier/sklatex/). For both of
those plugins, you can enter the latex text in a dialog, and
it generates the beziers from it using latex, dvips and
pstoedit. Then they can later be editied, and the processes
repeated to regenerate the display. It works very well -
much nicer than psfrag - , and the code to implement it in
Skencil is pretty basic.
However, development on Skencil has been slow lately so I've
just started looking to see if there is a plugin
architecture in Inkscape that would allow something similar.
From what I've seen of extensions so far, there hasn't been
anything easy I can base it on. What I'd like to know about
though is if there is an example of some plugin that does
the following types of things.
- creates a new object that can be later modified as an
object (including after being saved and opened again)
- accepts user input for parameters that can later be changed
- run an external program when an update is made
- import an external file to replace the current object curves
Once those things can be done, having a latex object is
fairly trivial. I'd appreciate if someone could point to
where to look for examples of extensions that do these
things under inkscape.
I've written something similar to this as a plugin for www.2pi. info/latex/ sketchlatex/), and there is home.comcast. net/~jbiddier/ sklatex/). For both of
Skencil called SketchLaTeX
(http://
another one for Skencil, called skLaTeX
(http://
those plugins, you can enter the latex text in a dialog, and
it generates the beziers from it using latex, dvips and
pstoedit. Then they can later be editied, and the processes
repeated to regenerate the display. It works very well -
much nicer than psfrag - , and the code to implement it in
Skencil is pretty basic.
However, development on Skencil has been slow lately so I've
just started looking to see if there is a plugin
architecture in Inkscape that would allow something similar.
From what I've seen of extensions so far, there hasn't been
anything easy I can base it on. What I'd like to know about
though is if there is an example of some plugin that does
the following types of things.
- creates a new object that can be later modified as an
object (including after being saved and opened again)
- accepts user input for parameters that can later be changed
- run an external program when an update is made
- import an external file to replace the current object curves
Once those things can be done, having a latex object is
fairly trivial. I'd appreciate if someone could point to
where to look for examples of extensions that do these
things under inkscape.