-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
Description
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.