From 33da320c485253e5e6cc47f8a7e8239e52d335fc Mon Sep 17 00:00:00 2001 From: Aaron Massey Date: Tue, 25 Mar 2014 10:57:26 -0400 Subject: [PATCH] add latexmkrc --- latexmkrc | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 latexmkrc diff --git a/latexmkrc b/latexmkrc new file mode 100644 index 0000000000..d57afcb274 --- /dev/null +++ b/latexmkrc @@ -0,0 +1,5 @@ +$pdf_previewer = 'osascript -e "set theFile to POSIX file \"%S\" as alias" -e "set thePath to POSIX path of theFile" -e "tell application \"Skim\"" -e "open theFile" -e "end tell"'; + +$pdf_update_method = 4; + +$pdf_update_command = '/usr/bin/osascript -e "set theFile to POSIX file \"%S\" as alias" -e "set thePath to POSIX path of theFile" -e "tell application \"Skim\"" -e " set theDocs to get documents whose path is thePath" -e " try" -e " if (count of theDocs) > 0 then revert theDocs" -e " end try" -e " open theFile" -e "end tell"';