sisl / tufte_algorithms_book

A template for textbooks in the same style as Algorithms for Optimization
350 stars 66 forks source link

make compile error #21

Closed ea42gh closed 4 years ago

ea42gh commented 4 years ago

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?

tawheeler commented 4 years ago

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.

ea42gh commented 4 years ago

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

johnnychen94 commented 4 years ago

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