Skip to content

Commit

Permalink
add latexmkrc
Browse files Browse the repository at this point in the history
  • Loading branch information
akmassey committed Mar 25, 2014
1 parent 165aa27 commit 33da320
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 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"';

0 comments on commit 33da320

Please sign in to comment.