latexmk is the tool I'm using to compile my documents, and the
-pvc option is the one which is normally on. In this setting, when I save a file which produces a compilation error, then
latexmk informs that there was an error and the document is not being updated in the viewer (
skim in my case). Once I correct the problem in the
latexmk kicks in again, and resumes its activity. In particular, the open document is refreshed correctly.
Problem occurred to me, when I use the setting mentioned above, when trying to compile a
beamer's class document (and if it makes any difference, using the
beamerposter package). In this case, when compiling a file with a mistake in it, then
latexmk will report the problem and the document won't update as before. However, once I correct the problem in the source,
latexmk recompiles, and produces the correct
Do you have any idea how to handle this? Where to look for a solution?
I have just realized that the same problem happens also when compiling sources not using
beamer. The cause this time might be the
tikz graphics. Any ideas?
Edit 2 - Possible way out:
Skim offers the
revert option, which seems to fix the broken linkage between
skim and the damaged/badly-processed pdf. Can you think of a way to turn this clue into a full solution?