auctex-devel
[Top][All Lists]

## Re: [AUCTeX-devel] Wrong heading with outline-regexp

 From: Ralf Angeli Subject: Re: [AUCTeX-devel] Wrong heading with outline-regexp Date: Sat, 29 Nov 2008 17:26:09 +0100

* Leo (2008-11-27) writes:

> Let's assume the following sentences is in the LaTeX source file:
>
> "To use bibliography in your \LaTeX{} document, add the following at the
> end but before \verb|\end{document}|:"
>
> Now if you use outline mode, you can see the line with
> \verb|\end{document}| also becomes a heading, which is undesired.

You could change LaTeX-trailer-start' in a way that it matches
"\end{document}" only at the beginning of a line.  I don't know if
people often have stuff in front of "\end{document}" on the same line,
so I don't know if it is a good idea to change the default.

--
Ralf

`