[Vim-latex-devel] F9 completion problem in vim7
Brought to you by:
srinathava,
tmaas
From: ahmet n. <ahm...@ya...> - 2007-11-05 12:00:34
|
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 __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |