Created
February 26, 2014 04:56
-
-
Save cartazio/9223768 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is perl code, thats also the latexmk pref file | |
$pdf_mode = 1 ; | |
$pdf_previewer = "open -a skim %S --args %O"; | |
# $pdf_update_command = "open -g -a skim %S --args %O"; | |
# $pdf_update_method= 4 ; # runs the update command | |
$pdf_update_method= 0; # do nothing | |
# $pdf_update_method= 1 ; # sends signal unix style, not sure if applies to mac, doesn't seem to work | |
# $pdf_previewer = "open -a texshop %S --args %O"; | |
# $pdf_update_command = "open -g -a texshop %S --args %O"; | |
# $pdflatex ="lualatex --output-format=pdf --shell-escape --synctex=1 %O %S"; | |
# $pdflatex ="pdflatex --shell-escape --synctex=1 %O %S"; | |
$pdflatex ="pdflatex -interaction=nonstopmode --shell-escape --synctex=1 %O %S"; | |
# $pdflatex_silent_switch = " -interaction=batchmode -synctex=1" ; | |
$view = "pdf"; | |
# $latex_silent_switch = "-interaction=batchmode -c-style-errors"; | |
# lhs automated! its kinda broken | |
# add_cus_dep( "lhs", "tex", 1, "lhs2tex"); | |
# sub lhs2tex { | |
# return system("lhs2TeX $_[0].lhs > $_[0].tex"); | |
# } | |
# adding the support for asymptote rendering | |
# should test it some time | |
sub asy {return system("asy '$_[0]'");} | |
add_cus_dep("asy","eps",0,"asy"); | |
add_cus_dep("asy","pdf",0,"asy"); | |
add_cus_dep("asy","tex",0,"asy");% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This came up when googling synctex lhs2tex — on the lhs2tex part, http://tex.stackexchange.com/a/143009/1340 might help.