Re: questions about using Doxygen and Python scripting

2013-07-23 Thread Julien Rioux
On 22/07/2013 4:10 AM, Guenter Milde wrote: On 2013-07-22, Josh Hieronymus wrote: Second, is there a tutorial serves as a gentle introduction to Python scripting for LyX? I've not worked with Python and C++ in the same project before, so I'm not really sure how to get th

Re: questions about using Doxygen and Python scripting

2013-07-22 Thread Guenter Milde
On 2013-07-22, Josh Hieronymus wrote: ... > Second, is there a tutorial > serves as a gentle introduction to Python scripting for LyX? I've not > worked with Python and C++ in the same project before, so I'm not really > sure how to get them to work together, especially wh

Re: questions about using Doxygen and Python scripting

2013-07-21 Thread Pavel Sanda
Pavel Sanda wrote: > we already have working library for zipping files as a part of LyX and commit > history might even contain much more generic solution written some time back > by > Bo Peng as a part of bundled lyx format feature (and reverted later;). You can check commits around a095d0d785ca

Re: questions about using Doxygen and Python scripting

2013-07-21 Thread Pavel Sanda
Josh Hieronymus wrote: > I was thinking of using the existing C++ routines to generate the XHTML, > and then using Python to generate the additional necessary files, which are > mostly XML files with metadata and manifest info, as well as to pack the > files. My point was just that you shouldn't u

Re: questions about using Doxygen and Python scripting

2013-07-21 Thread Josh Hieronymus
On Sun, Jul 21, 2013 at 10:19 PM, Pavel Sanda wrote: > Josh Hieronymus wrote: > > Since an ePub file is pretty much a zipped file with XHTML and a few > simple > > files, I was thinking that it might be easiest to use Python to create > > them. > > If it comes to packing you might be interested t

Re: questions about using Doxygen and Python scripting

2013-07-21 Thread Pavel Sanda
Josh Hieronymus wrote: > Since an ePub file is pretty much a zipped file with XHTML and a few simple > files, I was thinking that it might be easiest to use Python to create > them. If it comes to packing you might be interested to see our lyxpak.py script. I'm not sure what you mean by 'create';

Re: questions about using Doxygen and Python scripting

2013-07-21 Thread Josh Hieronymus
y help me have an easier time knowing how > > make doxydoc, if you have graphviz, you will get nice pictures as well. > > > the different parts of code are all related. Second, is there a tutorial > > serves as a gentle introduction to Python scripting for LyX? I've no

Re: questions about using Doxygen and Python scripting

2013-07-21 Thread Pavel Sanda
you will get nice pictures as well. > the different parts of code are all related. Second, is there a tutorial > serves as a gentle introduction to Python scripting for LyX? I've not No. What do you need python for btw? Pavel

questions about using Doxygen and Python scripting

2013-07-21 Thread Josh Hieronymus
tutorial serves as a gentle introduction to Python scripting for LyX? I've not worked with Python and C++ in the same project before, so I'm not really sure how to get them to work together, especially when you consider issues like type checking, namespaces, header files, and so on. Thanks, Josh

Re: Python scripting

2010-11-27 Thread Liviu Andronic
On Sat, Nov 27, 2010 at 11:40 PM, wrote: > Any other useful link? > http://www.lyx.org/Development Regards Liviu

RE: Python scripting

2010-11-27 Thread venom00
> it means untrivial ditching into the dispatch mechanism, so this is for sure not > 2.0 business. OK, then I'll just start thinking about it. Maybe a first release of the scripting support could not have such events, but just keypresses as notification in LyX server. I don't know how these things

Re: Python scripting

2010-11-27 Thread Pavel Sanda
r such kind of rules. we just suggest that people hang around for a while with small things to get idea about the code, otherwise big parts of their code would need rewrite... > So, my idea was to add python scripting in-process. The script should be able > to > register to an event, ca

RE: Python scripting

2010-11-27 Thread venom00
be helpful! So, my idea was to add python scripting in-process. The script should be able to register to an event, call LFUN and receive responses, nothing more. Maybe we'll need to add some LFUN to get the selected text, or the whole document source, because I couldn't find such function

Re: Python scripting

2010-11-26 Thread Pavel Sanda
d the gates by beta1, so little bit late... > 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]. hard to say unless one sees the cod

Re: Python scripting

2010-11-26 Thread Guenter Milde
On 2010-11-26, wrote: > Hello, LyX 2.0 is getting awesome, but I think there's just a last > must-have feature missing: support for scripting. I wrote a Python package that provides an interface via the LyXserver pipes. It's available for download via the LyX wiki http://wiki.lyx.org/Tools/PyCli

Re: Python scripting

2010-11-26 Thread Richard Heck
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 no

Python scripting

2010-11-26 Thread venom00
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 impl