Re: Availability of sectioning commands in menu

David Kastrup <[email protected]> Thu, 17 Mar 2005 09:51:41 +0100
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
Ralf Angeli <[email protected]> writes:

> In course of fixing the menu for sectioning commands (it does not
> work correctly across files with different document classes and does
> not get updated if new sectioning commands become available) I found
> an oddity concerning the available commands.  In none of the
> supported document classes it is possible to use \part via the menu.
> In style/book.el, for example, we can find
>
> (setq LaTeX-largest-level (LaTeX-section-level "chapter"))
>
> Does anybody understand the rationale here?
>
> Personally I'd use "part" instead of "chapter" (and in the style
> files for other such document classes as well).  The logic of having
> a largest level is flawed anyway because \part can be used even in
> an article class, but changing the respective definitions in the
> book- and report-like classes should improve the situation at least
> a bit.

I think \part should be out of the level comparison system altogether.
I have tried looking through older versions of latex.el, but it does
not appear like there ever has been a working version in history.


-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum