[Vim-latex-devel] Re: search for bibtex entry by regexp
Brought to you by:
srinathava,
tmaas
From: Fabian B. <f.b...@gm...> - 2006-03-24 11:10:04
|
Hi Srinath, * On 24 Mar 2006 * Srinath Avadhanula wrote: > Hi Fabian, > > On 3/23/06, Fabian Braennstroem <f.b...@gm...> wrote: > > > > `--> python bibtools.py /home/fab/HOME/Dissertation/CFD/Projects/Building_airflow/Paper/Vergleich_RANS-LES/biballsed.bib > > Traceback (most recent call last): > > File "bibtools.py", line 227, in ? > > bf = BibFile(sys.argv[1]) > > File "bibtools.py", line 174, in __init__ > > self.addfile(f) > > File "bibtools.py", line 189, in addfile > > b = Bibliography('@' + f, self.macros) > > File "bibtools.py", line 86, in __init__ > > value = m.group(2) + mn.group(0) > > AttributeError: 'NoneType' object has no attribute 'group' > > > Okay, I relaxed the parsing pretty much the whole way... Hopefully > things work now. Try the attached file... It works for me, thanks :-) ... but when I try to display all entries after I used the filter, I get: Error detected while processing function Tex_HandleBibShortcuts..Tex_DisplayBibList: line 22: Traceback (most recent call last): File "<string>", line 1, in ? File "/home/fab/.vim/ftplugin/latex-suite/bibtools.py", line 198, in __str__ if b['key'] and b.satisfies(self.filters): File "/home/fab/.vim/ftplugin/latex-suite/bibtools.py", line 152, in satisfies for field, regexp in filters: ValueError: need more than 1 value to unpack (a) all (f) filter (s) sort (n) next (p) previous (q) quit (<CR>) choose Hit ENTER or type command to continue and one small feature request :-) When I use the filter like 'a Searched_Author <CR>', I get and have to press <CR> again to display the results: (a) all (f) filter (s) sort (n) next (p) previous (q) quit (<CR>) choose Hit ENTER or type command to continue Would that work without a second <CR>,too? Thanks! Fabian -- |