Use latexmk instead of pdflatex.

This commit is contained in:
Faerbit 2017-02-23 12:51:41 +01:00
parent e979735005
commit c91d78985d

2
vimrc
View File

@ -73,7 +73,7 @@ au FileType python :map <F10> :Coveragepy show<cr>
au FileType python :imap <F10> <Esc><F10> au FileType python :imap <F10> <Esc><F10>
"Map <F9> on Latex files "Map <F9> on Latex files
au FileType tex :map <F9> :! if [ -f Makefile ]; then; make; else; pdflatex %:t; rm *.aux; rm *.log; fi<cr> au FileType tex :map <F9> :! if [ -f Makefile ]; then; make; else; latexmk -auxdir=build -outdir=build -pdf %:t; mv build/%:r.pdf .; fi<cr>
"Highlight chars after column 80 "Highlight chars after column 80
let s:activatedh=0 let s:activatedh=0