
SJ H wrote:
I've written a plugin for Skencil that allows LaTeX text objects to be included and rendered, and am assessing the viability for doing something similar in Inkscape. I've seen the extensions description from last year, but none of the extension objects there really seem to meet the need. What I'd be looking for is creating a new type of object that retains its identity as an object so that the text can be edited again.
So I'm interested in whether there are examples of something conceptually similar having been done already. Basically, the mechanism I'm looking for would allow an extension/plugin to:
- create a new object that can be later modified as an object
(including after being saved and opened again)
- accept 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 (I'
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.
Well, to the extent that you are talking about, no that is not possible. It is someplace that I would like to take extensions in the future, but I'm afraid it isn't very close right now.
Now, that being said, I think there are some things that you could do. Inkscape will not remove extra data in the XML if it is done correctly (i.e. "mylatexplugin:myvalue='bob'"). So, you could create an effect which would operate on, and update that data. But, for someone to change it, they would have to select it, and run the effect again. Not the level of interactivity that you were looking for, but it is a possible work around.
--Ted