[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] manipulating sections with auc-tex

From: Matthieu Moy
Subject: Re: [AUCTeX] manipulating sections with auc-tex
Date: Wed, 17 Aug 2005 14:18:58 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

Ralf Angeli <address@hidden> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]