I have written an extension that allows for python code to be executed in a rst document. It's called the py directive and I use it for doing calculations (along with a few additions like python-quantities, numpy, and matplotlib). It turns the code into a math node after executing. Right now it uses Sympy's latex_ex printer for turning python code into latex (so things like xhat_1 get turned into \hat{x} _1). I think of it as something similar to MathCAD (although much simpler). You can also setup the matplotlib plot extension to use the same namespace as my py directive. There is an example in the repository if anyone is interested.
git clone git://git.whpiv.net/py_directive.git - Bill -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.