Improve Latex2PDF vim command
Switch from `latex` to `pdflatex` for last step of the export command to allow using images in PNG and JPEG format.
This commit is contained in:
parent
a68c62e75f
commit
144fd0fd6a
1 changed files with 1 additions and 1 deletions
2
vimrc
2
vimrc
|
@ -953,4 +953,4 @@ endfunction
|
||||||
|
|
||||||
" --- LaTeX Stuff ---
|
" --- LaTeX Stuff ---
|
||||||
|
|
||||||
command Latex2PDF call Async([ 'latex '.expand('%'), 'bibtex '.expand('%:r'), 'latex '.expand('%'), 'latex '.expand('%'), 'dvipdfm '.expand('%:r').'.dvi', ['/bin/bash', '-c', 'rm *.{aux,bbl,dvi,log,blg}'] ])
|
command Latex2PDF call Async([ 'pdflatex -draftmode '.expand('%'), 'bibtex '.expand('%:r'), 'pdflatex -draftmode '.expand('%'), 'pdflatex '.expand('%'), ['/bin/bash', '-c', 'rm *.{aux,bbl,dvi,log,blg}'] ])
|
||||||
|
|
Loading…
Reference in a new issue