# DO NOT EDIT OR COPY THIS FILE. TEXSHOP WILL AUTOMATICALLY UPDATE IT # special latexmk settings for Herb Schulz #$pdflatex = "pdflatex --shell-escape --synctex=1 --file-line-error %O %S"; #$pdflatex = "pdflatex $TSUserCompileOptions --synctex=1 --file-line-error %O %S"; $pdflatex = "pdflatex $TSUserCompileOptions --synctex=1 --file-line-error %O %S; " . "if [ -e %B.asy ] ; then " . "asy %B.asy; pdflatex $TSUserCompileOptions --synctex=1 --file-line-error %O %S " . "fi "; # if a bbl file is present but the generating bib file isn't available don't run bibtex. --- default in latexmk 4.13 #$bibtex_use = 1; # Custom dependency and function(s) for epstopdf package # FOR USERS OF epstopf v1.4 and before: should also work with v1.5 and later # note: you may get extras runs if you use the .eps extension in the \includgraphics command # deletes an outdated pdf-image, and triggers a pdflatex-run #add_cus_dep('eps', 'pdf', 0, 'cus_dep_delete_dest'); # FOR USERS OF epstopdf v1.5 and later only: # load it as \usepackage[update,prepend]{epstopdf} # detects an outdated pdf-image, and triggers a pdflatex-run add_cus_dep('eps', 'pdf', 0, 'cus_dep_require_primary_run'); # Custom dependecy to convert tif to png add_cus_dep('tif', 'png', 0, 'maketif2png'); sub maketif2png { system("convert '$_[0]'.tif '$_[0]'.png"); }