Take the 2-minute tour ×

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


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

Browse other questions tagged or ask your own question.