Re: [Vim-latex-devel] Re: search for bibtex entry by regexp
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sri...@gm...> - 2006-03-23 21:44:59
|
Hi Fabian, Glad to see someone testing this :) On 3/23/06, Fabian Braennstroem <f.b...@gm...> wrote: > Hi Srinath, > > took a while to test it :-) > > * On 02 Mar 2006 * Srinath Avadhanula wrote: > [snip] > > It does not real work for me. When I press M-c to write > '\cite{}' and press F9 a buffer '__OUTLINE__' opens up, but > without any bibtex items; it is empty. The pressing 'f' or > 'a' I get: > The errors due to pressing 'f' and 'a' are a symptom of the problem that __OUTLINE__ does not show any bibtex items, which is what the real problem is. Tex_BibFile is actually a python variable which should be created via Tex_StartCiteCompletion(). However, it doesn't seem to be. If its not, in subsequent calls, all hell will break loose. If you are interested in helping debug this: 1. Which release of latex-suite are you using? If you are not using the latest release, please update. 2. What is the value of: 1. g:Tex_UsePython 2. g:Tex_UseCiteCompletionVer2 3. When you open up the latex file, what happens when you type: :echo Tex_FindBibFiles() This should be a newline seperated list of all the bibtex files found in the main file. If this is not working, its a source of the error. 4. What happens if you go to the ~/.vim/ftplugin/latex-suite directory and type: $python bibtools.py /path/to/bibtex/file You should get a semi-formatted list of all the bibtex entries in the given file. I'd like to know any errors this might generate. Answers to these questions will help me greatly in debugging what might be going wrong. Srinath |