🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #1855

Outline mode with latex

#1855
From: rkc
Date: Mon, 23 Nov 1992 20:29
16 lines
1034 bytes
I am trying to get outline-mode to work with latex.  The manual describes how
to use levels with a formatter that uses @chap and @section, but not other
notations like latex's \chap and \section.  After reading the regexp part of
the manual, I decided the correct magic should be:

(setq outline-regexp '"\\chap\\|\\\\(sub\\)*section")

But this doesn't seem to work with gnuemacs v. 18.55.8 running on a
sparstation 1+.  Specifically, when I use this to try and hide (C-c C-h)
levels, I get the error: "Unmatched \\)".  I've played around with a dozen
varients, but can't get this to work.

Am I making a mistake, or is this simply a matter of an old
version of emacs? 

			-Rob
Technical Details
Message-ID: <1992Nov23.202937.2860@xn.ll.mit.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!micro-heart-of-gold.mit.edu!xn.ll.mit.edu!rkc

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!rutgers!micro-heart-of-gold.mit.edu!xn.ll.mit.edu!rkc
From: rkc@xn.ll.mit.edu
Newsgroups: gnu.emacs.help
Subject: Outline mode with latex
Message-ID: <1992Nov23.202937.2860@xn.ll.mit.edu>
Date: 23 Nov 92 20:29:37 GMT
Organization: MIT Lincoln Laboratory
Lines: 16