Hello The following is possible in the (X)emacs and to some extend in MS Office (still not in OO).
A region which contains source code of say Matlab can be marked and then executed. That is achieved by a engine (written in lisp) which connects to the shell (I don't think this works in MS Windows). I am not sure that this works for other languages, but Matlab has the advantage of being a script language and not needing a compiler. So the question is can this be done in LyX. The idea would be to have the Matlab code in a verbatim environment and then run the interpreter over it. This is a very useful future for people who like to have source code in their documents. regards Uwe Brauer
