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 when you consider issues
> like type checking, namespaces, header files, and so on.

The Python scripts that come with LyX are all separate tools and pure
Python. There is no LyX Python module in C or C++.

See the existing tools for examples how to configure a Python script as
exporter.

There is the generic "lyxserver" for sending communication between a
running LyX and an external program via pipes. I wrote a Python module to
get a more "pythonic" interface. It can be found at the LyX wiki.
http://wiki.lyx.org/Tools/PyClient

Günter

Reply via email to