python-sty
python-sty copied to clipboard
Embed Python in LaTeX
Since this repo doesn't seem to be maintained any more I want to leave this here just for others having problems. This package conflicts with ``` latex \usepackage{german} \usepackage{ngerman} ```...
I got an error when compiling the following with `pdflatex -shell-escape eg.tex`. The error was: ``` (./eg.out) (./eg.out) [1{/opt/local/var/db/texmf/fonts/map/pdftex/updmap/pdftex .map}pdfTeX warning (ext4): destination with the same identifier (name{equation .2.2}) has...
Any idea on why this code throws an error? The command does not get defined. ``` latex \documentclass{article} \usepackage{python} \begin{document} \begin{python} print r'\newcommand{\pya}{hi}' \end{python} \pya \end{document} ``` I expected LaTex...
Some python code takes a long time to run. It will be nice to execute the code only if it has changed.