pythontex
pythontex copied to clipboard
A LaTeX package that executes Python and other code in LaTeX documents, and includes the output
If pythontex supported the [Jupyter messaging protocol](http://ipython.org/ipython-doc/stable/development/messaging.html) then it would automatically support [all these languages](https://github.com/jupyter/jupyter/wiki/Jupyter-kernels). That would be an efficient way to add a ton of new languages to pythontex...
Hi, I'd like to write a wikipedia article for PythonTeX. In order to make sure the wiki people don't deem the topic too insignificant I'll need some resources to cite....
I am the maintainer of latexmk, and the next version will have the ability to be configured to support pythontex properly, without the previous limitations. (This was provoked by a...
Some objects I have encountered have a `_repr_latex` method, like the `_repr_html_` method for IPython notebook display. (https://github.com/astropy/astropy/blob/master/astropy/units/quantity.py#L942) A check to see if an object knows how to display itself...
I'd like to do be able to load Python code from files for PythonTeX to execute and typeset. Something like: ``` \begin{pyconsole} \input{example.py} \end{pyconsole} ``` or, perhaps more succinctly, something...
In my document I have the following LaTeX code: ``` \begin{subfigure}[b]{\fwidth} \py[fluxTD]|get_pgf_include(fnames[3])| \caption{\py[fluxTD]|captions[3]|} \label{fig:TD_flux_r30_4} \end{subfigure} ``` which works fine under pythontex but when I run depythontex I get the following...
It would be neat if it were possible to have a specific code block that was always executed, this would be useful for when remote data changes or similar. Maybe...
I read the documentation, and I suppose this sounds strange, but I want to have python variables shared between the pyconsole and pyblock families. Is this possible? Not that I'm...
It would be good to have a generic command and environment that allow display, output, and execution to be customized via optional arguments. Rather than using `pycode`, `pyblock`, `pyverbatim`, etc.,...
When I compile a document which gets a (too) huge code back from Python pdflatex obviously fails with a message like: "! TeX capacity exceeded, sorry [input stack size=5000]." When...