You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I load the pythontex package with this command: \usepackage[usefamily=R, pygopt={texcomments, style=friendly}]{pythontex}
I get this error:
This is PythonTeX 0.17
Traceback (most recent call last):
File "/Library/TeX/texbin/pythontex", line 62, in <module>
pythontex.main()
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 2788, in main
load_code_get_settings(data, temp_data)
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 480, in load_code_get_settings
settings_func[key](key, val)
File "/usr/local/texlive/2020/texmf-dist/scripts/pythontex/pythontex3.py", line 440, in set_kv_pygments
k = option
NameError: name 'option' is not defined
Indeed, when I change line 440 in pythontex3.py to k = options
it works fine, so I think it's just a typo (option instead of options). Could you please correct it? Many thanks.
The text was updated successfully, but these errors were encountered:
When I load the pythontex package with this command:
\usepackage[usefamily=R, pygopt={texcomments, style=friendly}]{pythontex}
I get this error:
Indeed, when I change line 440 in pythontex3.py to
k = options
it works fine, so I think it's just a typo (option instead of options). Could you please correct it? Many thanks.
The text was updated successfully, but these errors were encountered: