[Vim-latex-devel] Re: search for bibtex entry by regexp
Brought to you by:
srinathava,
tmaas
From: Fabian B. <f.b...@gm...> - 2006-03-23 22:39:22
|
Hi Srinath, * On 23 Mar 2006 * Srinath Avadhanula wrote: > 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. I forgot to mention that after pressing 'f' it takes a while until the 'filter menu' pops up; but this should not be the problem. > > 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. Just updated using svn. > > 2. What is the value of: > 1. g:Tex_UsePython 1 > 2. g:Tex_UseCiteCompletionVer2 1 > > 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. This works: /home/fab/HOME/Dissertation/CFD/Projects/Building_airflow/Paper/Vergleich_RANS-LES/biballsed.bib > > 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. I get: `--> python bibtools.py /home/fab/HOME/Dissertation/CFD/Projects/Building_airflow/Paper/Ve rgleich_RANS-LES/biballsed.bib Traceback (most recent call last): File "bibtools.py", line 218, in ? bf = BibFile(sys.argv[1]) File "bibtools.py", line 165, in __init__ self.addfile(f) File "bibtools.py", line 180, in addfile b = Bibliography('@' + f, self.macros) File "bibtools.py", line 83, in __init__ raise "Only completely numeral fields can be left unquoted" Only completely numeral fields can be left unquoted Hope this helps! Greetings! Fabian |