[Vim-latex-devel] Using biblatex with and multiple compilation with pdflatex
Brought to you by:
srinathava,
tmaas
|
From: Auguste O. <aug...@gm...> - 2013-03-30 21:49:57
|
Hello,
I've started using latex-suite and I like it very much, but I am getting
some issues.
I'm using Arch Linux with the last vim-latexsuite build (2013-01-26).
1) I am using biblatex with biber (g:Tex_BiberFlavour = "biber") and
latex-suite doesn't handle it, because it decides whether to launch bibtex
or not based on the .aux file, which is not used by biber (it generates a
.bcf file instead). I have found a way to fix this by modifying the line
if runCount == 0 && Tex_IsPresentInFile('\\bibdata',
mainFileName_root.'.aux' )
in compiler.vim with
if runCount == 0 && (Tex_IsPresentInFile('\\bibdata',
mainFileName_root.'.aux') || filereadable(mainFileName_root.'.bcf') )
to test if there is a .bcf file in the directory.
2) The previous fix works nice with a dvi output, but when I try to
generate a pdf output with :TTarget pdf it doesn't work. I set
g:Tex_MultipleCompileFormat to "pdf,dvi" but the compiler is always ran
only one time.
When using dvi I get a message "ran latex n times" in vim statusbar at the
end, but not when using pdf, even when there isn't any error. So it seems
that the function Tex_CompileMultipleTimes is not even called and I can't
find any reason for this.
Thank you in advance
Auguste
PS : I apologize for my approximate English
|