Skip to content

Commit 92ab7e6

Browse files
committed
add latexmkrc
1 parent d7f4390 commit 92ab7e6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

latexmkrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# uncomment the # before $ to enable PDF update automatically
2+
# see man latexmk for more info
3+
4+
## Usage
5+
# latexmk -xelatex -gg -silent -pvc
6+
7+
## Mac OS X - Skim
8+
$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"';
9+
$pdf_update_method = 4;
10+
$pdf_update_command = '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"';
11+
12+
## GNU/Linux - Evince
13+
14+
## Windows - Sumatra

0 commit comments

Comments
 (0)