[OS X TeX] Skim SKAutoReloadFileUpdate
Adam M. Goldstein
a.m.goldstein at mac.com
Thu Dec 18 15:20:31 CET 2008
On Dec 18, 2008, at 1:41 AM, Adam R. Maxwell wrote:
> On Dec 17, 2008, at 10:30 PM, Adam M. Goldstein wrote:
>
>> On Dec 17, 2008, at 11:37 PM, Adam R. Maxwell wrote:
>>
>>> On Dec 17, 2008, at 1:12 PM, David B. Thompson, Ph.D., P.E.,
>>> D.WRE, CFM wrote:
>>>
>>>> On Dec 17, 2008, at 10:53, Joseph C. Slater PE, PhD wrote:
>>>>
>>>>> The Skim wiki says "we don't recommend using this". However, I
>>>>> always click "Auto" and figure this will do my bidding for me.
>>>>> Is there an explanation for the counter-recommendation? How bad
>>>>> could things get? What bad effects should I be looking for?
>>>>
>>>>
>>>> I've been using the "auto" feature as well and haven't seen
>>>> anything bad (yet).
>>>
>>> Auto-reload for PDF was a mistake, IMNSHO [1]. There's a race
>>> condition in reloading the file, so you can end up loading it
>>> multiple times or (worst case) crashing it with invalid PDF. The
>>> only reliable way to do this is to set your script(s) to run a
>>> "revert" command via AppleScript, if and only if your pdftex
>>> processes completed.
>>>
>>> Only the script/process calling pdftex has any idea if it
>>> succeeded or how many runs will be required. Hence, using revert
>>> is more efficient and sensible, since you can't read a partially
>>> created PDF document (as you can with some formats).
>>>
>>
>> I'm confused. Is using "auto" when the dialogue comes up asking
>> about it the first time a file changes the same as using the
>> SKAutoReloadFileUpdate hidden preference, which is I think what the
>> OP asked about?
>
> Basically the same thing. Using the "Auto" button will bypass the
> alert for the current document until it's closed, but setting the
> hidden default will always bypass the alert (if I read the source
> correctly). My recommendation is to disable the feature entirely so
> Skim does not watch for changes to the file.
OK, another question---how is what TeXShop does any different, and is
there a difference between using it as an "external viewer" or as the
source editor and viewer? If the TS user pushes "typeset," does this
provide the PDF viewer with information about when the typesetting
process begins and so the viewer can wait to reload until it's ready?
But then if I use (say) emacs as my editor and TeXShop as a viewer,
presumably the TeXShop PDF viewer doesn't have the information.
I have never had a problem with either the TS viewer or Skim in the
reloading department.
-Adam G.
------------------
Adam M. Goldstein PhD, MSLIS
--
agoldstein at iona.edu
a.m.goldstein at mac.com
http://www.iona.edu/faculty/agoldstein
--
(914) 637-2717
--
Dept of Philosophy
Iona College
715 North Avenue
New Rochelle NY 10801
More information about the macostex-archives
mailing list