On 2009/8/11 David Fishburn wrote:
>
> On Tue, Aug 11, 2009 at 1:38 PM, Robert Lamar wrote:
> ...
>> 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 take it you are using exuberant tags 5.8 with the new latex support.
> I added that to ctags based on a previous thread on this list.
So I am. I did not intend to demean your work by calling it
superficial, but I will admit that I was surprised at what had been
implemented as a starting point. It makes perfect sense, though, if
you are not a regular LaTeX user.
> I myself do not use latex, but I am certainly willing to improve the
> latex support if the users on this list can agree on some well
> recommended improvements with _examples_. The more detailed your
> suggestions and examples the better for me to work from. Please show
> your latex code plus what tags you would expect to be generated.
That is very encouraging! I don't know why that previous thread does
not come up as a query in Google Groups; perhaps the particular
requests would have allowed me to focus my original question. Before
I give you examples, let me confirm the implementation that I see: for
each string \foo{bar}, where foo is chapter, section, subsection,
part, paragraph, or subparagraph (or the starred versions of these),
you create a tag named bar which runs the ex command to search for the
original \foo{bar}. Is that correct? Am I missing anything?
Robert
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---