python-sty icon indicating copy to clipboard operation
python-sty copied to clipboard

conflict with ngerman and german packages

Open zepatrik opened this issue 8 years ago • 0 comments

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}

zepatrik avatar Nov 29 '17 15:11 zepatrik