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

In some cases, code can be written to the `.pytxcode` _after_ the settings have been written. This causes errors, because parsing assumes that settings are last. The new, upcoming format...

enhancement

Hi, I have defined several sympy variables in a `pycon` environment. ``` \begin{pyconcode} from sympy.abc import a,b \end{pyconcode} ``` and I want to do this later in the document `\pycon{a/b}`...

enhancement

As mentioned in issue #67 it would be great to be able to store the `.pgf`s produced by PythonTeX in the folder keeping other pythontex files - aptly named `pythontex-files-*`....

enhancement

If `\py{}` is used inside the `\text{}` command, the next use of `\py{}` prints the wrong value. Here's an example: ``` \documentclass{article} \usepackage{pythontex} \usepackage{amsmath} \begin{document} \begin{pycode} m1 = 3 m2...

package clash

As discussed at the amazing PythonTeX sprint in Austin, we want to support: * specifying analysis code in one and only one place, making it usable in all publication formats....

enhancement?

Is it doable to add Mathematica support to pythontex?

enhancement
question

I would like to know on compilation what particular chunk is executing in a particular time moment. That would make things much more clear. Ideally, it would be nice to...

enhancement

```latex \documentclass{article} \usepackage{amsmath,amsfonts} \usepackage[keeptemps]{pythontex} \usepackage{siunitx} \begin{document} \begin{pycode} (m, a ) = (14, 3) F = m*a num=1 unit='cm' \end{pycode} \begin{align*} ma =& F&\\ a =& \dfrac{F}{a} = \dfrac{\py{F}}{\py{a}} = \py{a}...

package clash

I'm not sure which package is to “blame,” here, as any subset of two seems to work just fine, so it's sort of arbitrary that I chose to post the...

package clash

Hi, I'm trying to use pythontex with mwrep document class but when I try to compile mwe like this one: \documentclass{mwrep} \usepackage{pythontex} \begin{document} test \end{document} I get error: ! Undefined...

question
package clash