Ken Mankoff mankoff at gmail.com writes:
I'd like to add support for PythonTeX to Org Babel
https://github.com/gpoore/pythontex
The motivation is that PythonTeX is a better literate environment than
just Org + Babel, because it can print results inline just like an
interactive Python
Hi Chuck,
On 2014-05-08 at 12:17, Charles Berry ccbe...@ucsd.edu wrote:
I'd like the python code blocks to behave just as they do now, but if I
have set (setq org-latex-listings 'pythontex) instead of (setq
org-latex-listings 'minted), then instead of wrapping python code blocks
with:
I figured it out:
(setq org-latex-custom-lang-environments
'((python pyconsole)))
And of course \usepackage{pythontex} somewhere.
This is really nice. Now the Org buffer behaves as before, but the
exported LaTeX has the python code appear as if it were run right there
in an
I'd like to add support for PythonTeX to Org Babel
https://github.com/gpoore/pythontex
The motivation is that PythonTeX is a better literate environment than
just Org + Babel, because it can print results inline just like an
interactive Python session, instead of all the code followed by all