Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!dkuug!iesd!iesd.auc.dk!abraham From: abraham@iesd.auc.dk (Per Abrahamsen) Newsgroups: comp.text.tex Subject: Re: Emacs-Latex: A little trick Message-ID: Date: 2 Jun 91 16:40:08 GMT References: <7719@rex.cs.tulane.edu> Sender: news@iesd.auc.dk Organization: HUGIN Expert A/S Lines: 58 In-reply-to: georgiou@rex.cs.tulane.edu's message of 1 Jun 91 07:24:07 GMT >>>>> On 1 Jun 91 07:24:07 GMT, georgiou@rex.cs.tulane.edu (George >>>>> Georgiou) said: George> Put in your .emacs file the line: George> (set-variable (quote page-delimiter) "^%%") George> I am using it and it's a woderful little trick. George> %% It sure sounds good. However, you might want to try the full generality of using outlines with your LaTeX document. Outline mode substitutes selected text with three dots, based on the structure of your document. Some example: Get overview of the document: \begin{document}... \chapter{one}... \chapter{two}... \chapter{three}... Examine the structure of chapter two: \begin{document}... \chapter{one}... \section{a}... \subsection{ax}... \subsection{ay}... \section{b}... \subsection{bx}... \chapter{two}... \chapter{three}... Start editing section ax: \begin{document}... \chapter{one}... \section{a}... \subsection{ax} bla bla bla bla; also blah blah and blah. \subsection{ay}... \section{b}... \subsection{bx}... \chapter{two}... \chapter{three}... You can open or close sections, get a list of subsections, etc. Outline mode also allows you to navigate in a LaTeX document based on the sections. You can move a level up, to next or previous section, or to next or previous section on the same level. An outline (minor) mode witch works well with LaTeX documents is a part of the AUC TeX distribution, and available for anonymous ftp at the site iesd.auc.dk (130.225.48.4) in the file /pub/emacs-lisp/auc-tex.3.0.tar.Z