shiblon / latex-makefile

A Makefile for LaTeX - drop it in, type make, and magic happens.
Other
186 stars 30 forks source link

"touch" pdf after creation reloads document in evince #56

Closed shiblon closed 8 years ago

shiblon commented 8 years ago

Originally reported on Google Code with ID 43

For some reason, evince doesn't reload the pdf file after make is called. 
touch-ing the file after generating the document fixes this issue.

diff is attached.

Reported by felixd on 2009-09-07 18:12:30


shiblon commented 8 years ago
What version of the makefile are you using?

(run "make version")

This sounds similar to issue 50.  Have you checked out the resolution to that issue?

Reported by shiblon on 2009-09-09 13:23:01

shiblon commented 8 years ago
$ make version
LaTeX Makefile Version 2.1.30
by Chris Monson

SVN info: $Id: Makefile 55 2009-08-28 15:19:09Z shiblon $

This was a checkout from svn.  It's odd that deleting and moving the file doesn't
refresh it, but I think touch is less intrusive than rm/move.

Reported by felixd on 2009-09-09 13:58:25

shiblon commented 8 years ago
Yeah, unfortunately touching isn't sufficient for some viewers.  I altered the patch
a bit 
(to only touch when make-pdf is successful) and commited r56.  Would you mind 
having a look before I create a binary?

Reported by shiblon on 2009-09-09 14:54:00

shiblon commented 8 years ago
Works great.

Reported by felixd on 2009-09-09 16:07:00

shiblon commented 8 years ago
Okay, I'm uploading the new version now.  Thanks for the patch and the issue report.

Reported by shiblon on 2009-09-10 13:53:54