Saturday, August 22, 2009

Re: tags for LaTeX

On 11/08/09 19:38, Robert Lamar wrote:
>
> Hello, vim users,
>
> I just joined this list today, but I searched through the archives and
> could not find any discussion on the question below.
>
> I am writing up my dissertation in LaTeX, editing with vim. I would
> like to generate a tags file to easily jump between files. The
> trouble is that exuberant ctags only seems to have superficial
> support, and the etags.emacs on my system does not (of course) output
> the proper file format. I have looked over the features of the vim
> latex suite (without installing it), but it does not seem to have this
> capability.
>
> To top it all off, it seems on the surface that tag names may only
> contain alpha(numeric?) characters, so I cannot create tags which will
> link from expressions like \include{chap-intro.inc} (which would
> hopefully open chap-intro.inc.tex). Am I asking too much, am I
> missing something, or is there a non-obvious method or tool?
>
> Thanks,
> Robert

In addition to all that has already been said, if your Vim version was
built with +emacs_tags compiled-in (which usually means a "Big" or
"Huge" Vim), it should be able to use "emacs-style" TAGS files, though
it will ignore lines longer than 510 characters. You say your emacs tags
generator "of course" doesn't produce the proper format. Have you tried it?

I think that a tag should be a "keyword" for the particular filetype
where it is found.

See
:help emacs-tags
:help 'tags'
:help 'iskeyword'


Best regards,
Tony.
--
If God had not given us sticky tape, it would have been necessary to
invent it.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

No comments: