Ralf Angeli <[EMAIL PROTECTED]> writes:

> * Matthieu Moy (2005-08-15) writes:
>
>> I wrote a piece of code allowing to easily promote/demote a section,
>
> There is already `outline-promote'/`outline-demote' in outline.el 

Nice. I didn't know this one.

It does what I want in theory, but doesn't seem to work with \chapter
and \paragraph :

outline-promote on a \section gives me "LaTeX-outline-level:
Unrecognized header" and doesn't change the outline.

outline-demote on a \subsubsection doesn't do anything.

(I don't know whether the bug is in auctex or in outline.el)

> Hm, I would have expected `LaTeX-mark-section' to already do this.
> Obviously it doesn't.

I would also ;-).

> Does anybody see a problem in extending `LaTeX-mark-section' like
> this?

Probably the right thing to do.

-- 
Matthieu


_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex

Reply via email to