tower@prep.ai.mit.edu (01/07/86)
From: tower@prep.ai.mit.edu (Leonard H. Tower Jr.)
Path: mit-eddie!think!harvard!seismo!columbia!garfield!agw
From: agw@garfield.columbia.edu (Art Werschulz)
Newsgroups: net.emacs,net.text
Date: Mon, 6-Jan-86 10:16:26 EST
Organization: Columbia University
Xref: think net.emacs:1160 net.text:826
Apparently-To: emacs-netnews-distribution@mit-prep
A TECO version of a TeX mode for DECsystem-20 EMACS exists.
According to its documentation, it is maintained by DCB@AI and KMP@MC.
It has a number of nifty features, such as automatic flashing of matching
dollar signs, brackets, braces, parens (with a "Feep" in the event of
a mismatch ).
Does anybody know of something analogous for GNU Emacs?
See ../emacs/lisp/tex-mode.el , which is invoked by M-X tex-mode RET .
This mode is new in Version 17.
Here's the C-H M on it:
----------------------------------------------------------------------
TeX Mode:
Major mode for editing files of input for TeX.
Makes $ and } display the characters they match.
Makes " insert `` when it seems to be the beginning of a quotation,
and '' when it appears to be the end; it inserts " only after a \.
Use M-x validate-TeX-buffer to check buffer for paragraphs containing
mismatched $'s or braces.
Use C-c C-r to run TeX on the current region, plus a "header"
copied from the top of the file (containing macro definitions, etc.),
running TeX under a special subshell. C-c C-b does the whole buffer.
C-c C-p prints the .dvi file made by either of those.
Special commands:
C-c Prefix Command
" TeX-insert-quote
ESC Prefix Command
LFD TeX-terminate-paragraph
C-c C-p TeX-print
C-c C-b TeX-buffer
C-c C-r TeX-region
ESC } up-list
ESC { TeX-insert-braces
Entering TeX mode calls the value of text-mode-hook,
and then the value of TeX-mode-hook.
----------------------------------------------------------------------