Giovanni,

Thanks for the tip. I do need biber, but I think I got it to work. What I
did was in latex-suite/texrc around line 235 I set:
TexLet g:Tex_BibtexFlavor = 'biber'

And then in latex-suite/compiler.vim around line 567, I changed the first
few lines to:
if runCount == 0 && Tex_IsPresentInFile('bibdata',
mainFileName_root.'.bcf')
   let bibFileName = mainFileName_root.'.bbl'

   let biblinesBefore = Tex_CatFile(bibFileName)

This checks for bibliography info in the bcf file. I set it to run biber
just on the root filename, and biber is smart enough to look for the bcf
extension, This seemed to work. The main change was telling biber to look
in the bcf instead of the aux file for the bib info. The only downside is
I think it runs biber every time you have any bibliography info in your
tex file, since bibdata is always in the bcf, even if it has not changed.
But it does not run if you do not have any bibliography info.

The problem is that I cannot get updates to vim-latex without losing these
changes. So I would like to see some sort of option for choosing bibtex or
biber. As you can see, the code change is small, so it would be easy
enough to associate different file extensions with different bibliography
backends. 

Thanks
paul





On 6/14/13 7:25 AM, "vim-latex-devel-requ...@lists.sourceforge.net"
<vim-latex-devel-requ...@lists.sourceforge.net> wrote:

>Send Vim-latex-devel mailing list submissions to
>       vim-latex-devel@lists.sourceforge.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>or, via email, send a message with subject or body 'help' to
>       vim-latex-devel-requ...@lists.sourceforge.net
>
>You can reach the person managing the list at
>       vim-latex-devel-ow...@lists.sourceforge.net
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Vim-latex-devel digest..."
>Today's Topics:
>
>   1. Biblatex (Paul Gesting)
>   2. Re: Biblatex (Giovanni Luca Ciampaglia)
>   3. [PATCH] Proper python shebang for outline.py (Christian Ebert)
>   4. compile bibtex (Rudra Banerjee)
>   5. Re: compile bibtex (Alessandro Pezzoni)
>   6. Re: compile bibtex (Rudra Banerjee)
>   7. Re: Multiple file latex projects,        finds correct filename but
>      doesn't compile in right directory? (Wei Qiu)
>--------------------------------------------------------------------------
>----
>This SF.net email is sponsored by Windows:
>
>Build for Windows Store.
>
>http://p.sf.net/sfu/windows-dev2dev_______________________________________
>________
>Vim-latex-devel mailing list
>Vim-latex-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/vim-latex-devel



------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to