Dov Kruger wrote:
I'd like to enter an equation in lyx and have my code process the equation. In general, this question might be more appropriate for the developer forum, but I noticed that the converters may have hooks to get at the document. Is there any user-configurable way to get a piece of a document to a converter? If not, where is the appropriate forum to go?
Well, try the developer forum. LyX itself is the only thing I know that is capable of getting at parts of the document. The various converters gets whole files that LyX exports.
I think LyX has some mechanisms internally, for getting parts of code. "view->view source" can show parts of the document in latex format, for example. And of course cut&paste works with parts. The existing computer algebra setup is already capable of sending formulas to external software and get something back. Maybe you can set your program up as another computer algebra system for lyx to use? I think you need to compile LyX to do this though. Helge Hafting