python-sty
python-sty copied to clipboard
conflict with ngerman and german packages
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
\usepackage{german}
\usepackage{ngerman}
In the file latex.py in my project folder (my .tex is not called latex!) is the following output:
jobname=\errhelp {Use `` for a simple double quote character.}\errmessage {ngerman: The command "\jobname is undefined}``Blatt06\par
The solution is to use
\usepackage[german]{babel}
Seems to be a conflict with the handling of the " character in the language package, because my compiler previously said
Argument of " has an extra }.
<inserted text>
\par
l.21 \begin{python}print(r'Hello!')\end{python}