Hi,

I have had some problems with citation completion which I just got
around to fixing.

The first is that when using taglist latex-suite attempts to complete
in the (unmodifiable) taglist window. I found a simple fix in the vim
wiki:
http://vim.wikia.com/wiki/Use_Taglist_with_LaTeX_files
which is to add the following as the first line Tex_CompleteWord in
texviewer.vim
exe s:winnum.' wincmd w'

The second was that when field names in the bib file are capitalised
(ie Author vs author) as BibDesk seems to do they weren't being
extracted and displayed in the completion window (only the cite key
was visible).
This is fixed by the following addition of .lower() to the field name:
===================================================================
--- bibtools.py (revision 48)
+++ bibtools.py (working copy)
@@ -43,7 +43,7 @@
             if not m:
                 break

-            field = m.group(1)
+            field = m.group(1).lower()

             body = body[(m.start(2)+1):]
             if m.group(2) == '{':

Finally, an unrelated thing that was needed to stop taglist displaying
everything twice was the patch in this message to use latex-suite
ctags definitions rather than the latex ones that ship with newer
versions of ctags.
http://www.mail-archive.com/vim-latex-devel@lists.sourceforge.net/msg00682.html

I wonder if theres any chance of getting these changes comitted to
latex-suite? I don't think they should mess anything up and I don't
think it is a particularly obscure usecase (using bibdesk + taglist +
latexsuite).

Thanks

Robin

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to