TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Sometimes latexmk fails because the file was saved premature. For example the user forgets to close a { bevore he saves the .tex file.

The user has to get latexmk back on the road again and usually evince has to be restarted afterwards too.

Is there a trick to save evince from crashing or is there a linux pdf viewer with autoreload that will just ignore a broken, ampty or missing pdf and reload again, when it works?

share|improve this question

closed as too localized by egreg, Marco Daniel, Speravir, percusse, Werner Mar 2 '13 at 23:00

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

SumatraPDF does handle broken PDFs very good (i.e. does not even load them). But apparently it's only for Windows. – Qrrbrbirlbel Oct 31 '12 at 2:01
You can use xpdf and the -reload option and only reload when the build was successful. – Marco Oct 31 '12 at 7:20
Could you describe further what you mean by "saved premature"? Which Linux and which version of evince are you running? From my experience (recent Ubuntu), evince is quite good at handling bad PDFs... – krlmlr Oct 31 '12 at 19:41
Sounds like a bug in evince that should be reported to it's authors here. Or use okular. :-) – Martin Schröder Feb 2 '13 at 21:25