Thread: [Vim-latex-devel] Cite+F9 completion problem
Brought to you by:
srinathava,
tmaas
From: ahmet n. <ahm...@ya...> - 2008-01-14 12:40:59
|
Hi, I am sorry to repeat my problem again because this bug is still persistent. I submitted this bug to the list before but I think nobody except me has a problem with it. I am explaining the problem briefly. In the vim-latex suite manual, it says that: # If a \bibliography command is not found, then Latex-Suite tries to scan the present file for a \begin{thebibliography} environment. If found, Latex-Suite searches the present file for bib-keys of the form \bibitem. # The above explanation doesn't work for me. \cite{+f9 doesn't bring any bibitem. It happens nothing. But \ref{+f9 works. I wonder someone advise me a workaround. > > Hi, > > I have been getting this recent error with a vim7.1. > It is not happening with vim6.4. > > The problem is that \cite{} command doesn't search > through \begin{thebibliography} environment.(It is > strange that when I type "\cite" , its color becomes > blue.) > > My tex file(try.tex) is something like: > -------------------------------------> > \documentclass{article} > \usepackage{color} > \usepackage{listings} > \begin{document} > try try try > > \cite{}<++> > > \begin{thebibliography}{99} > \bibitem{goossens93} Michel Goossens, The Latex > Book > \end{thebibliography} > \end{document} > ---------------------------------------------< > > when the cursor positions itself into the \cite{}, > pressing F9 brings no action. > > This problem doesn't arise if I prepare a bib > file(trybib.bib) and put my bibliography index into > it. For example, > > my_Directory/ > try.tex > trybib.bib > -------------------------------------------------> > \documentclass{article} > \usepackage{color} > \usepackage{listings} > \begin{document} > try try try > > \cite{}<++> > \bibliographystyle{plain} > \bibliography{trybib} > > \end{document} > > I am using vim-latexsuite(debian/unstable). Any > suggestions? > > Regards, > Ahmet ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping |
From: Vaidotas Z. <ze...@gm...> - 2008-01-15 08:44:33
|
Hi, Le lundi 14 janvier 2008 à 04:40 -0800, ahmet nurlu a écrit : > Hi, > I am sorry to repeat my problem again because this bug > is still persistent. I submitted this bug to the list > before but I think nobody except me has a problem with > it. > I am explaining the problem briefly. In the vim-latex > suite manual, it says that: > > # > > If a \bibliography command is not found, then > Latex-Suite tries to scan the present file for a > \begin{thebibliography} environment. If found, > Latex-Suite searches the present file for bib-keys of > the form \bibitem. > # > > The above explanation doesn't work for me. \cite{+f9 > doesn't bring any bibitem. It happens nothing. But > \ref{+f9 works. > > I wonder someone advise me a workaround. What version of latex-suite do you use? Try the latest and install vim-python. Also try opening tex file with gvim or vim from the terminal. Vaidotas Zemlys |
From: ahmet n. <ahm...@ya...> - 2008-01-17 08:16:48
|
Hi, I am using debian/testing and corresponding vim-latexsuite from debian repository. I have also the latest version of gvim and vim-python installed. The strange thing that the problem which I explained below, is not existent in gvim6.4. I think newer version of gvim in future bring some more inconsistencies with vim-latexsuite. So I abondened using gvim 7.1 with vim-latexsuite. Regards, Ahmet --- Vaidotas Zemlys <ze...@gm...> wrote: > Hi, > > Le lundi 14 janvier 2008 à 04:40 -0800, ahmet nurlu > a écrit : > > Hi, > > I am sorry to repeat my problem again because this > bug > > is still persistent. I submitted this bug to the > list > > before but I think nobody except me has a problem > with > > it. > > I am explaining the problem briefly. In the > vim-latex > > suite manual, it says that: > > > > # > > > > If a \bibliography command is not found, then > > Latex-Suite tries to scan the present file for a > > \begin{thebibliography} environment. If found, > > Latex-Suite searches the present file for bib-keys > of > > the form \bibitem. > > # > > > > The above explanation doesn't work for me. > \cite{+f9 > > doesn't bring any bibitem. It happens nothing. But > > \ref{+f9 works. > > > > I wonder someone advise me a workaround. > > What version of latex-suite do you use? Try the > latest and install > vim-python. Also try opening tex file with gvim or > vim from the > terminal. > > Vaidotas Zemlys > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Vim-latex-devel mailing list > Vim...@li... > https://lists.sourceforge.net/lists/listinfo/vim-latex-devel > ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs |