[OS X TeX] Skim SKAutoReloadFileUpdate
Javier Elizondo
javier_elizondo69 at yahoo.com
Thu Dec 18 23:55:15 CET 2008
Hello everyone,
I have problems using skim and emacs. If skim reload the file automatically and there are errors in the latex file, after two o three times with this problem the file is corrupted and skim does not show many symbols. This happens less frequently if I tell skim to reload the file when it run smoothly. That's my experience.
Javier
----- Original Message ----
From: Enrico Franconi <franconi at inf.unibz.it>
To: TeX on Mac OS X Mailing List <macosx-tex at email.esm.psu.edu>
Sent: Thursday, December 18, 2008 4:13:35 PM
Subject: Re: [OS X TeX] Skim SKAutoReloadFileUpdate
On 18 Dec 2008, at 17:09, Adam R. Maxwell wrote:
> Depends on how clever you want to be :). The trivial way is to test the exit value of the process and see if it's zero (success) or anything else (failure). Practically, you probably wouldn't like that, since TeX returns nonzero pretty frequently, even though it created a usable PDF. You could count the number of error: lines it spits out, but that might get hairy.
>
> The easiest solution is probably a compromise: wait until all of your tex/bibtex/index processes are done, then try to reload the file. That eliminates the race condition, so you're left with potentially trying to open a garbage file.
And how this behaviour would be *in practice* better than a potential rare crash of Skim that by the way I (nor other users, apparently) never had in a continuous use of Skim?
So, it seems to me that the auto feature is the best compromise to have a smooth workflow.
cheers
--e.
More information about the macostex-archives
mailing list