🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #3515

Re: Problem with outline mode

#3515
From: Kresten Krab Thorup
Date: Wed, 26 Jun 1991 20:56
29 lines
1633 bytes
Here's  an outline-regexp that works  fine for LaTeX.  I use  it in my
`auc-tex'  Emacs  mode for LaTeX.  Following  this  mode, is   also an
outline-minor mode written by Per Abrahamsen  <abraham@hugin.dk>, that
lets  you use  outline  mode together with   a  major  mode like  e.g.
tex-mode (or auc-tex not to forget!)...

The auc-tex distribution package may be  picked up by anonymous ftp at
iesd.auc.dk:/pub/emacs-lisp/auc-tex.3.0.tar.Z.  There's  also an  beta
release there, but it's not fully working.

Anyway - here's the regexp:

   (defvar LaTeX-outline-regexp
     (concat "[ \t]*"
	     "\\\\"
             "\\(appendix\\|documentstyle\\|part\\|chapter\\|section"
   	     "\\|subsection\\|subsubsection\\|paragraph\\|subparagraph\\)")
     "Regular expresion to use for outlines.")

The outline-minor mode itself may also be picked up there, but then
you should need those two files:

	iesd.auc.dk:/pub/emacs-lisp/outline-m.el
	iesd.auc.dk:/pub/emacs-lisp/minor-map.el

Happy LaTeX'in !

/Kresten
Technical Details
Message-ID: <KRAB.91Jun26215625@eos.iesd.auc.dk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!rutgers!cmcl2!uupsi!sunic!dkuug!iesd!iesd.auc.dk!krab
References: <2146@uqcspe.cs.uq.oz.au>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!rutgers!cmcl2!uupsi!sunic!dkuug!iesd!iesd.auc.dk!krab
From: krab@iesd.auc.dk (Kresten Krab Thorup)
Newsgroups: comp.emacs
Subject: Re: Problem with outline mode
Message-ID: <KRAB.91Jun26215625@eos.iesd.auc.dk>
Date: 26 Jun 91 20:56:25 GMT
References: <2146@uqcspe.cs.uq.oz.au>
Sender: news@iesd.auc.dk
Organization: Mathematics and Computer Science, University of Aalborg
Lines: 29
In-Reply-To: anthony@cs.uq.oz.au's message of 26 Jun 91 02:59:42 GMT