tex_compile.vim : A compile plugin for LaTeX
script karma |
Rating 0/0,
Downloaded by 280 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Yangqin Fang |
|
script type |
ftplugin |
|
description |
Usage:
In you tex source file, in noraml mode, press <F2> to run pdflatex, press <F6> to run xelatex, press <F8> to compile bibtex or biblatex.
In case you split your project with several chapters, for example, chapter1.tex, chapter2.tex, ..., in any chapter, you press the shortcuts, it will find the main tex file automatically.
https://github.com/fangyq09/VimTeXtric |
|
install details |
Put the latexmk.vim in the dir ~/.vim/compiler/, and put the compiler.vim in the dir ~/.vim/ftplugin/tex/
On linux, you need zathura pdf to be installed, and for the backward search, you should put the following two commands into ~/.config/zathura/zathurarc:
set synctex true
set synctex-editor-command "gvim --servername GVIM10000 --remote-silent +exec\ %{line} %{input}"
On windows you need SumatraPDF to be installed, and it should be in PATH environment variable, or you alter the SumatraSynctexForward(file) function in the vimscript. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 3.17.79.195
|