[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: speedbar + auctex (+ reftex?): show tables/figures/definitions
From: |
Eric Ludlam |
Subject: |
Re: speedbar + auctex (+ reftex?): show tables/figures/definitions |
Date: |
09 Apr 2003 13:11:51 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
>>> kai.grossjohann@gmx.net (Kai Großjohann) seems to think that:
>Eric Ludlam <eludlam@mathworks.com> writes:
>
>>>>> kai.grossjohann@gmx.net (Kai Großjohann) seems to think that:
>>>
>>>sb-texi.el doesn't do the labels thing, but I guess that could be
>>>added.
>>
>> What label thing?
>
>"Label" as in "\label" :-)
>
>/----
>| \section{Foo Bar}
>| \label{sec:foo-bar}
>|
>| Bla bla.
>|
>| \begin{definition}[Dummy title]
>| \label{def:dummy}
>| This is a dummy definition.
>| \end{definition}
>|
>| Bla bla.
>\----
>
>Speedbar will show the "Foo Bar" section title. I'm interested in
>seeing the labels sec:foo-bar and def:dummy, too.
Ah, righto then. Your original assessment that it could be added is
correct. It is a matter of parsing all the things you care about into
an ordered hierarchy as described by the variable
speedbar-dynamic-tags-function-list
and your insert method probably wants to use
speedbar-insert-generic-list
Though it doesn't seem too well documented. I'll have to fix that.
Eric
Re: speedbar + auctex (+ reftex?): show tables/figures/definitions, Brendan Halpin, 2003/04/15