I have use vim latex-suite to typeset scientific paper for several
monthes. Recently, I encounter one IMPORTANT problem. When there
are bibliorgraphy in the *.tex file, I have to run
:!bibtex filename
to generate the correct reference messages.
It should be emphisized that the following lines has been added to _vimrc
----------------------------------------
let g:Tex_DefaultTargetFormat = 'pdf'
let g:Tex_MultipleCompileFormats = 'pdf'
let g:Tex_ViewRule_pdf = 'SumatraPDF -reuse-instance -inverse-search "gvim -c \":RemoteOpen+\%l \%f\""'
let g:Tex_CompileRule_pdf = 'xelatex --synctex=-1 -src-specials -interaction=nonstopmode $*'
let g:Tex_Folding=0
----------------------------------------
Now, I have to compile the *.tex as follows,
\ll
:!bibtex filename
\ll
But in the latex-suite reference chapter 6.3, I have found that when g:Tex_MultipleCompileFormats has
been set as the target format, latex-suite will call bibtex when necessary, but it appear to fail now.
How can I do? thank you in advance.
yakex |