[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX] Re: reftex toc + beamer + \begin{frame}{Title}
From: |
Malte Helmert |
Subject: |
[AUCTeX] Re: reftex toc + beamer + \begin{frame}{Title} |
Date: |
Tue, 11 Nov 2008 17:39:32 +0100 |
User-agent: |
Thunderbird 1.5.0.14ubu (X11/20080925) |
Ralf Angeli wrote:
> * Malte Helmert (2008-10-27) writes:
>
>> I'd like to teach reftex (4.31) to add frame titles to the TOC in beamer
>> documents. The frames are written like this:
>>
>> \begin{frame}{Frame title}
>> Frame text. More frame text.
>> \end{frame}
>>
>> I tried adding "begin{frame}" to reftex-section-levels, and indeed this
>> adds the frames to the TOC. However, instead of the expected TOC entry
>> * Frame: Frame title
>> I get
>> * Frame: Frame title} Frame text. More frame text.
>
> Yes, this is a feature. In case of an environment the full contents are
> used for the string to be displayed in the TOC.
I see. Is there a particular reason why the initial "{" is swallowed?
The string "Frame title}" is quite ugly; "{Frame title}" whould look
much nicer.
> So it looks as if there are environments which are used
> for sectioning. Does anybody know such an environment?
Apart from Beamer's frame environment, I can't think of any at the moment.
Malte