Re: [Vim-latex-devel] BibTex Macros
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2003-06-24 23:01:11
|
> I have been using your LaTex Suite for Vim for a little while now and > have found some of the features quite handy. However, I'm having > trouble with the BibTex macros. They don't seem to be properly > recognized when I'm editing a .tex or .bib file. IOW, typing BBB does > nothing. Any ideas? BBB works for me when I open up a .bib file. It will not work in .tex files... Make sure that when you open a .bib file &ft is set to bib. IOW, :set ft? should say "bib". If it doesn't the problem is outside of latex-suite. You might be having a missing autocommand or something. Try putting au BufEnter *.bib :set ft=bib in your ~/.vimrc and retry. > Also, there is a nice command to compile the file with latex. Is there > anything similar for compiling with BibTex? As of now, latex-suite doesn't compile bib files OOTB. This will involve writing a new compiler/bib.vim file which recognizes errors from bib files and tweaks to compiler.vim. So this might have to wait a bit while we work on a few pending bugs. Thanks, Srinath |