[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 10:59:47
|
Hi Srinath, took a while to test it :-) * On 02 Mar 2006 * Srinath Avadhanula wrote: > Hi, > > On 3/2/06, Fabian Braennstroem <f.b...@gm...> wrote: > > Hi Srinath, > > > > > something like this while accounting for the fact that there could be > > > multiple bibtex files will be a little hard. > > > > little bit late, but as you see, I can wait ... but not too > > long ;-) > > > > :) So I can give you what you want on one condition. There is almost no > documentation for this feature written yet. This means that I am not > ready to make a release yet. But I commited to CVS already, so if you > wish, update to the latest CVS. (See the download section of > vim-latex.sf.net for instructions). Then when you press <F9> after > \cite, you will see a completely different screen. Something like: > > -----------------------------------%<----------------------------------- > Masters [avadhanula:ms:01] > TI "The Design and fabrication of a dynamically tuned {MFI} thorax" > AU S. Avadhanula > IN In University of California, Berkeley, 2001 > > Conference [avadhanula:icra:02] > TI "Dynamically tuned design of the {MFI} thorax" > AU S. Avadhanula and R. J. Wood and D. Campolo and R. S. Fearing > IN In Proc. IEEE Int. Conf. on Robotics and Automation, 2002 > > Conference [avadhanula:iros:03] > TI "Lift Force improvements for the Micromechanical Flying Insect" > AU S. Avadhanula and R. J. Wood and E. Steltz and J. Yan and R. S. Fearing > IN In IEE Conf. on Intelligent Robots and Systems, 2003 > -----------------------------------%<----------------------------------- > > Note that syntax highlighting will hide some of these. Once in this > screen, you can use <n>, <p> to move back and forth. Press <enter> once > you are on the required entry. To filter, press <f>. This allows you to > specify a "filter". A filter is basically a string like "a ellington". > This filters out all results where the author field matches the string > ellington. (You can ofcourse use partial words). Press <a> to show all > results. You can also sort by pressing <s>. > > Note that this whole functionality although algorithmically stable is > still a little raw around the edges. Unfortunately, I cannot take a look > at this for at least 20 days or so because I am _really_ busy with > something else. > > Oh! You will need Vim with python support builtin to use this. Doing > this in Vim-script would have doubled my work. > > Let me know how it goes. 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: Error detected while processing function Tex_HandleBibShortcuts: line 37: Traceback (most recent call last): File "<string>", line 1, in ? NameError: name 'Tex_BibFile' is not defined line 38: Traceback (most recent call last): File "<string>", line 1, in ? NameError: name 'Tex_BibFile' is not defined Error detected while processing function Tex_HandleBibShortcuts..Tex_DisplayBibList: line 22: Traceback (most recent call last): File "<string>", line 1, in ? NameError: name 'Tex_BibFile' is not defined (a) all (f) filter (s) sort (n) next (p) previous (q) quit (<CR>) choose Hit ENTER or type command to continue It seems that the Bibtexfile is not found. I include it in the latex code with: \bibliographystyle{plain} %jfm plain, dinat %\bibliography{biballsed} \bibliography{/home/fab/HOME/Dissertation/TeX/Bibliography/biballsed} I tried it with vim 6.3 and vim 7.something. Do you have an idea? Greetings! Fabian |