Hi, I didn't get any response to the mail below. I would love to hear whether other people are experiencing the same problem with double section headings in Taglist when Vim-Latex is used -- and if my patch is helpful.
-- Dan Michael Den 16. feb. 2010 kl. 16.16 skrev Dan Michael Olsen Heggø: > Hi, > > I had issues with some section headings showing up twice in Taglist. I > use exuberant ctags 5.8, which have some limited native tex support > (see output from --list-kinds=tex below). Therefore, the tex language > is already defined, and when Vim-Latex tries to define it again on > line 899 in main.vim, it results in "ctags: Warning: Language "tex" > already defined". > > Regexps for e.g sections are thus defined twice (both natively by > ctags and by Vim-Latex). As far as I can see, the regexps of Vim-Latex > appear to be more robust than the native implementation, so I simply > modified main.vim to use an unused character ("d") instead of "s" for the > all the section-related regexps and modified tlist_tex_settings to just > ignore the native implementation. My patch against trunk can be found here: > > http://heggoe.net/various/taglist.patch > > I kept "--langdef=tex" in the patch for users of ctags versions without native > tex-support. While this will trigger an error (in the background), it seems > like it doesn't do any harm. My patch is just a quick fix, but it seems to > work > fine. Any comments or suggestions are welcome. > > -- Dan Michael > > > ctags --list-kinds=tex > c chapters > s sections > u subsections > b subsubsections > p parts > P paragraphs > G subparagraphs ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel