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
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex