Re: [Vim-latex-devel] [Contact] Completion problems
Brought to you by:
srinathava,
tmaas
From: Srinath A. <sr...@fa...> - 2004-05-09 23:11:07
|
On Sun, 9 May 2004, Julien wrote: > 1) The completion for \\cite{} is not working anymore in the main file (I > get an empty buffer instead of the list of choices) > This is a bug which needs to be fixed. Can you do the following: 1. Put let Tex_Debug = 1 in your ~/.vim/ftplugin/tex.vim 2. Try the \cite{} completion again. After the empty quick-fix window appears, type silent! redir @a | call Tex_PrintDebug('view') | redir END 3. Open a temporary buffer and insert the contents of register a into it. (with "ap) This should tell us what latex-suite is trying to do. In addition, if you can give an idea of how your files are arranged, that will be great. > 2) The mapping <F9> does not work any more in the included files > (opened with \"gf\" in vim). > This bug has been fixed in the latest CVS. > I will finish by a small feature request: the completion for > \"\\ref{}\" only proposes references that were declared in the same > file. It would be great if the choice was globally over all the latex > project (ie if it was possible to reference to labels declared in > another file). > As of now, latex-suite tries to complete the \ref command from \label's found in *all* .tex files in the directory of the file being edited. If you put all the .tex files of a project in the same directory, then you should be all set. Otherwise, latex-suite currently doesn't complete \label's for all .tex files in the project. This is a useful thing to have, which I'll put on the TODO list. -- Srinath |