Hi David,
Thanks for the record. A hotfix is to edit
/usr/lib/python2.7/dist-packages/sagetex.py
and replace the line 285, which is
self.souttmp.close()
with the following 2 lines:
self.souttmp.flush()
os.fsync(self.souttmp.fileno())
Then it should work. The problem is that fancyhdr does some kind of
postprocessing, after sagetex thinks all is done.
Indeed, with this fix I see running sage with the pdflatex output of
your file hh.tex
$ sage hh.sagetex.sage
Processing Sage code for hh.tex...
Code block (line 7) begin...end
Inline formula 0 (line 14)
Sage processing complete. Run LaTeX on hh.tex again.
Inline formula 1 (line 17)
This should be of course properly fixed - please open an issue on
https://github.com/sagemath/sagetex
Best
Dmirii
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
sage-support...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/fabb1997-a5c5-4a5f-819c-1f5a4fb63ff3%40googlegroups.com.