Jürgen Spitzmüller wrote:
Edwin Leuven wrote:
i was thinking that if you create an LFUN_OUTLINE_IN action that you
then associate with the demote button it would automatically be disabled
when demoting is not possible. this way it would not be possible to
click the button "too many times"...
I think Ugras is correct. In the minibuffer, you can still promote/demote
headings that are not numbered anymore, it's just the dialog that doesn't
allow for this. So the lfun shouldn't be restricted.
It's not the dialog but the TocBackend that doesn't allow this.
Abdel.