Closed simonlindholm closed 4 years ago
My guess is that this happens here:
https://github.com/Kattis/problemtools/blob/063b68a98237773a11555c14fd2da07a25f68860/problemtools/templates/latex/problemset.cls#L375
As far as I know, LaTeX can’t remove files, at least not easily, so it would be somebody else’s responsibility to remove the temporary file in data/sample/*.pstmp.
data/sample/*.pstmp
I’m not sure what is a good place for that task. problem2pdf.__exit__() ?
problem2pdf.__exit__()
My plan is to fix it by using a more standard latex tempfile name, something of the form <name-of-main-tex-file>.<something>.
<name-of-main-tex-file>.<something>
My guess is that this happens here:
https://github.com/Kattis/problemtools/blob/063b68a98237773a11555c14fd2da07a25f68860/problemtools/templates/latex/problemset.cls#L375
As far as I know, LaTeX can’t remove files, at least not easily, so it would be somebody else’s responsibility to remove the temporary file in
data/sample/*.pstmp
.I’m not sure what is a good place for that task.
problem2pdf.__exit__()
?