pythontex
pythontex copied to clipboard
A LaTeX package that executes Python and other code in LaTeX documents, and includes the output
I'm pretty excited about this! Hope you find it useful. A few notes: 1. Should silently do nothing if you don't have Jupyter installed. 2. If you have Jupyter installed,...
Hi all, I am having trouble configuring the package for use in my thesis .tex files. I am using Sublime Text 3, TeXLive distro and LaTeXTools to compile my documents....
# Issue Type [x] Bug (Typo) # Steps to Replicate and Expected Behaviour - Examine pythontex/pythontex2.py, pythontex/pythontex3.py and observe `compatility`, however expect to see `compatibility`. - Examine pythontex/pythontex2.py, pythontex/pythontex3.py and...
I'm having an issue running depythontex on a file compiled with pythontex the file is compiled using \usepackage[depythontex=true]{pythontex} but when I try to depythontex the tex file I get %...
I would like to ask you same question as I have posted earlier on TEX.SE (since I got no answer, and the question is mainly about internal working of `PythonTeX`,...
``` \begin{pyconsole} import math \end{pyconsole} \begin{pysub} $1 + 1 = !{math.sqrt(1+1)}$ \end{pysub} ``` The pysub block does not recognize the `math` import from the `pyconsole` block. Is there a way...
Hi. Is there a possibility to extract all Python code from a document into a separate Python file in PythonTex? AFAIK, PyWeave has an execution mode called `ptangle` which does...
Is it possible to externalize TikZ pictures ? I read on stack that it seems like the answer is no. I'm using pycode and pysub everywhere to write exercices. Can...
+ Its 2 yrs that perl6 has become raku https://github.com/Raku/problem-solving/blob/master/solutions/language/Path-to-Raku.md + Now name, language, extension = raku, raku, .raku/.rakumod So created this PR to reflect this change. As pygments still...
Currently, there appears to be a disconnect between using `\setpythontexworkingdir{}` and calling `pythontex.exe`. Using the TeX command outputs the .pytxcode file into the working directory ``. This part functions as...