help-gnu-emacs
[Top][All Lists]
Advanced

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

headings for texinfo-mode using outline-minor-mode


From: pietru
Subject: headings for texinfo-mode using outline-minor-mode
Date: Wed, 12 May 2021 04:16:44 +0200

I want to use my own heading levels in texinfo as I also have
my own sectioning macros @uchap, @usec, @usubsec, @usubsubsec.

But I require some help setting things up.

(defun outline-mesh-texinfo ()
   "todo"

   (setq outline-heading-alist
         '(("@chapter" . 2)
           ("@section" . 3)
           ("@subsection" . 4)
           ("@subsubsection" . 5)
           ;; ---------------------------------------------------
           ("@unnumbered" . 2)
           ("@unnumberedsec" . 3)
           ("@unnumberedsubsec" . 4)
           ("@unnumberedsubsubsec" . 5)
           ;; ---------------------------------------------------
           ("@appendix" . 2)
           ("@appendixsec" . 3)...
           ("@appendixsubsec" . 4)
           ("@appendixsubsubsec" . 5)
           ;; ---------------------------------------------------
           ("@chap" . 2)
           ("@usec" . 3)
           ("@usubsec" . 4)
           ("@usubsubsec" . 5) ))

   (add-hook 'texinfo-mode-hook #'???)

   )





> Sent: Wednesday, May 12, 2021 at 4:43 AM
> From: pietru@caramail.com
> To: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: headings for texinfo-mode using outline-minor-mode
>
> What do headings start with for texinfo-mode, when using outline-minor-mode?
>
>
>
>



reply via email to

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