Re: Availability of sectioning commands in menu
Ralf Angeli <[email protected]> Thu, 17 Mar 2005 10:06:00 +0100
| Newsgroups | gmane.emacs.auc-tex |
|---|---|
| Message-ID | <[email protected]> |
* David Kastrup (2005-03-17) writes: > Ralf Angeli <[email protected]> writes: > >> 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. Ah, yes, this could have been the reason for not using it for `LaTeX-largest-level'. Fixing this should be fairly easy by changing (>= level LaTeX-largest-level)))) in `LaTeX-section-enable' to (or (= level 0) (>= level LaTeX-largest-level))))) With this information the necessary changes regarding the menus are nearly done. I just need to change some style files and will check the stuff in after some testing. This will finally get rid of `activate-menubar-hook' and give use dynamic menus based on :filter. -- Ralf