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

Thank you for this package, I've found it very useful over the years! I went in to investigate a bug and noticed that the Python scripts could be combined together...

Hi, Currently trying to run pythontex on android gives an error due to multiprocessing not working. There's been plenty of discussion on how to deal with this in other python...

Would you be interested in merging the [RepSeP PythonTeX files](https://github.com/TheChymera/RepSeP/tree/master/pythontex) into PythonTeX proper? I came to the conclusion that it's a poor design choice to track exclusively PythonTeX-related functionality in...

enhancement

I already mentioned this in [one of our lengthier threads](https://github.com/gpoore/pythontex/issues/20). I keep my data (for this particular use case) in a directory on a remote server. As I generally have...

enhancement

For a long time now, I am keeping my pycode snippets under `./pythontex/pycode.tex`, a file which ends up containing many entries like this one: ``` \begin{pycode}[timetable] pytex.add_dependencies('/home/chymera/src/timeplot/timeplot/timetable.py') sys.path.append('/home/chymera/src/timeplot/timeplot') import timetable...

enhancement

pythontex works as bibtex, makeindex, makeglossaries: invoke latex, then the tool then latex again. All these tools give indication that sth is wrong with output pdf indicating that rerun is...

Something like ```diff --- /home/user/Desktop/pythontex2.py 2019-12-14 04:27:04.718269040 +0300 +++ /usr/share/texlive/texmf-dist/scripts/pythontex/pythontex2.py 2019-12-14 04:15:23.189530900 +0300 @@ -1510,8 +1510,8 @@ basename = key_run.replace('#', '_') out_file_name = os.path.expanduser(os.path.normcase(os.path.join(outputdir, basename + '.out'))) err_file_name = os.path.expanduser(os.path.normcase(os.path.join(outputdir,...

For python 3 code I can specify the lexer for verbatim environments as `py3`, but for console output I wish to use the `pycon` lexer with its `python3=True` option. Currently...

enhancement

Add a new default formatter that checks for the existence of a `_repr_latex_` method before calling `str` closes #54

Hello, Thank you for the work done with this latex package. The only thing that is missing, in my point of vue, is the ability to show students a list...

enhancement