On 11/26/2010 02:22 PM, veno...@arcadiaclub.com wrote:
Hello, LyX 2.0 is getting awesome, but I think there's just a last must-have
feature missing: support for scripting. I think implementing Python scripting
[1] wouldn't be that difficult, as all the functionalities (event notification,
commands, response and errors) are already implemented in the LyX server [2].
Maybe I can take care of this, if you're interested, even if I know new users
shouldn't try to implemnt new features, but I've been walking around LyX code
for a while and recently (today) I wrote a patch
(http://www.lyx.org/trac/ticket/7042#comment:7).
I hope in your support because this is probably one of those features which
could attract a lot of interest in LyX. Imagine that one can be able to write a
quick plugin in Python to use a specific LaTeX package? Wouldn't that be
interesting?
Whether such a thing could make it into 2.0, I'm doubtful, as trunk is
pretty much closed to enhancements at this point (though this is
ultimately up to Pavel). Still, this kind of change is not a "format
change", i.e., it doesn't affect file structure, so it could in
principle make it into the 2.0.x series.
That said, I'm not entirely sure what you want to do here. What sort of
support for scripting would you like to have that can't be implemented
though the existing LyX server?
I'm intending to look at your other patch, by the way, but am busy with
work right now. I don't use PSTricks, etc, though, so the testing part I
can't do.
Richard