From c91d78985db3bc321130ca817ab69ffd6a214349 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 23 Feb 2017 12:51:41 +0100 Subject: [PATCH] Use latexmk instead of pdflatex. --- vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vimrc b/vimrc index c113c83..35f6092 100644 --- a/vimrc +++ b/vimrc @@ -73,7 +73,7 @@ au FileType python :map :Coveragepy show au FileType python :imap "Map on Latex files -au FileType tex :map :! if [ -f Makefile ]; then; make; else; pdflatex %:t; rm *.aux; rm *.log; fi +au FileType tex :map :! if [ -f Makefile ]; then; make; else; latexmk -auxdir=build -outdir=build -pdf %:t; mv build/%:r.pdf .; fi "Highlight chars after column 80 let s:activatedh=0