Xref: utzoo comp.emacs:7009 comp.text:5264 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!bloom-beacon!eru!luth!sunic!mcsun!ukc!inmos!des From: des@yatton.inmos.co.uk (David Shepherd) Newsgroups: comp.emacs,comp.text Subject: Re: TeX mode in GNU-Emacs Message-ID: <2557@ganymede.inmos.co.uk> Date: 16 Oct 89 12:27:54 GMT References: <1109@mtung.ATT.COM> Sender: news@inmos.co.uk Reply-To: des@inmos.co.uk (David Shepherd) Organization: INMOS Limited, Bristol, UK. Lines: 31 In article <1109@inmos.co.uk (S. Luke Jones) writes: >I just started using LaTeX, and I really like the LaTeX mode on >GNU-Emacs. (How does it know whether I'm using LaTeX or plain >TeX, anyhow?) I think it assumes the file is TeX unless it sees a \documentstyle (or perhaps a \begin{document}) at which it asssumes its LateX >I have a slight minor neglible problem, though, which is that when >I auto-fill in either TeX or LaTeX mode, the \ (space) that I use >in places like "Learning \LaTeX\ is neat" is not protected if it >ends a line. Is there a simple hack to LaTeX mode to make that >terminal \ (space) construct safe from being auto-filled away? There's actually no problem -- TeX translates into so to the innards of TeX Learning \LaTeX\ is neat appears as Learning\LaTeXis The real pain comes if the auto-fill routine splits on `-`s on the assumtion that they're hyphens -- but Emacs LaTeX mode doesn't do this so you're ok. david shepherd INMOS ltd