pythontex icon indicating copy to clipboard operation
pythontex copied to clipboard

A LaTeX package that executes Python and other code in LaTeX documents, and includes the output

Results 85 pythontex issues
Sort by recently updated
recently updated
newest added

* fixes #226 replacing \textbackslash with \ * trimmed whitespace at end of lines. * Generated documentation with pdfTeX 3.141592653-2.6-1.40.25 (TeX Live 2023/Debian) and python3.9

I use this code: ``` \documentclass[11pt]{article}% \usepackage{pythontex} \usepackage{nopageno} \begin{document} \begin{pyconsole} x = 987.27 x = x**2 \end{pyconsole} The variable is $x=$ \pycon{x} \end{document} ``` With the previous installation the output...

This is necessary at least from python 3.11 on

I was having an issue where my interpreter could not identify "python" as the default interpreter (e.g. in commands = ['python {file}.py']) as of line 1560 which is in pythontex3.run_code....