[OS X TeX] Skim SKAutoReloadFileUpdate

Joseph C. Slater PE, PhD joseph.slater at wright.edu
Fri Dec 19 02:06:55 CET 2008

On Dec 18, 2008, at 5:36 PM, Maarten Sneep wrote:

> On 18 dec 2008, at 23:27, Joseph C. Slater PE, PhD wrote:
>> Has anyone else used latexmk as a solution to this? I finally got  
>> around to writing a latexmkrc file that works (for me). It preempts  
>> the auto feature by executing a revert when completed, but a) it  
>> would be nice if that dialog box didn't show up in the future  
>> (since the answer would thus always be "no"), and b) it causes  
>> every file in Skim to revert because I couldn't get placeholders to  
>> work. I will probably post this once I'm more comfortable with it  
>> (someone else looks at it and tries it out).
> Have a look at the commands I issue from my BBEdit scripts. The  
> reloading is done from the shell script.
> relevant snippet:
> # with pdffile set to the unix path to the pdf file
> /usr/bin/osascript \
>    -e "set theFile to POSIX file \"${pdffile}\" as alias" \
>    -e "tell application \"Skim\"" \
>    -e "set theDocs to get documents whose path is (get POSIX path of  
> theFile)" \
>    -e "if (count of theDocs) > 0 then revert theDocs" \
>    -e "open theFile" \
>    -e "end tell"
> # end

This doesn't really help. I just want that prompt turned off (Adam  
should be so proud!). Emacs has a nice tool for scanning for errors  
when using latex (not latexmk), but using it would bring up that  
dialog box if I didn't just cave and click "auto" (which I will  
probably do). Running latexmk won't give the same debugging  
capability, but makes "typical" editing very smooth.


More information about the macostex-archives mailing list