3 ms·
This is very useful. My use case is that I often write python simulations of designs and/or as cost analysis simulations, but I also often want to put these con
by mcqueenjordan 6y ago
This is very useful. My use case is that I often write python simulations of designs and/or as cost analysis simulations, but I also often want to put these conclusions into white papers. This is an excellent way to de-duplicate the work of getting the python simulation code and the latex code both correct, and as a bonus, they can share a single place to change.
I'd love to be able to inline this code into my org documents, and have it display the latex output, but that might be asking for too much magic. (As in, not sure if the magic is worth the incantation.)
- Terr_ 6y ago> share a single place I particularly like the idea of feeling reassured that whatever I publish for humans also passed a test-suite.
- narwally 6y agoThere's already an emacs-jupyter package that provides an emacs api for interacting with the jupyter kernel through either a repl or org-mode source blocks. It provides output from the jupyter kernel in latex, svg, and png among others. What your asking probably wouldn't be to difficult and will probably find its way into one of the ipython notebook specific packages if it isn't already in one of them already.