sisl/tufte_algorithms_book

make compile error

ea42gh opened this issue · 3 comments

I had never used PythonTex before. make compile results in

 PythonTeX error
    The version of the PythonTeX scripts does not match the last code
    saved by the document--run LaTeX to create an updated version.

searching the web did not help. How would one fix this?

What version of pythontex do you have installed? This repo uses v0.17.

You can try running just the subset of the makefile command to see your what it does with each command:

-julia --color=yes pull_julia_code.jl
lualatex book
pythontex book
biber book
lualatex book

Chances are that the pythontex command is failing.

I had: the error comes from pythontex 0.16
Installing pythontex 0.17 resolved the problem, thank you1

The pythontex.sty file in this repository needs to be updated accordingly, you can find the workaround from #19 and #20