Article View: comp.text.tex
Article #627Re: Lightning TeXtures !!!
From: Tim Bradshaw
Date: Fri, 31 Jul 1992 20:45
Date: Fri, 31 Jul 1992 20:45
27 lines
1926 bytes
1926 bytes
>>>>> On 31 Jul 92 02:15:45 GMT, epstein@sparc9.cs.uiuc.edu (Milt Epstein) said: > Currently, I use (Ed Reingold's) tex-mode in emacs, so while I'm > editing, I have xdvi running, and periodically run latex on the file > from within emacs (xdvi automatically looks at the new .dvi file). > I was thinking of writing some emacs code that automatically runs > latex on the file every so often (perhaps when it auto-saves). The > above situation seemed like it would cause problems, though (e.g. if > when it runs latex, I am in the middle of entering a block, so I might > not have the appropriate \end or whatever, and latex -- and probably > xdvi -- will barf). It should (he said) be relatively easy to write something that runs TeX on the file and doesn't kick the previewer (I think xdvi listens to some signal doesn't it?) until the TeX job finishes, and also checks whether it's got an error and stop TeX in that case. At least AUC-TeX has error parsing anyway I think so it could live on top of that quite easily. Actually what you probably *really* want to do is just point TeX at some region around point, which should also be easy in AUC-TeX... Perhaps it might be necessary to modify xdvi so it optionally doesn't listen to anything *but* some signal or some explicit key to prevent it trying to read the 1/2-finished dvi file. --tim
Technical Details
Message-ID:
<TFB.92Jul31214554@eagle.aisb.ed.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uknet!edcastle!aifh!aifh!tfbReferences:
<l7e56tINN880@utkcs2.cs.utk.edu> <1992Jul31.021545.6738@sunb10.cs.uiuc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uknet!edcastle!aifh!aifh!tfb From: tfb@aisb.ed.ac.uk (Tim Bradshaw) Newsgroups: comp.text.tex Subject: Re: Lightning TeXtures !!! Message-ID: <TFB.92Jul31214554@eagle.aisb.ed.ac.uk> Date: 31 Jul 92 20:45:54 GMT References: <l7e56tINN880@utkcs2.cs.utk.edu> <1992Jul31.021545.6738@sunb10.cs.uiuc.edu> Sender: news@aifh.ed.ac.uk (Network News Administrator) Organization: Not Lines: 27 In-Reply-To: epstein@sparc9.cs.uiuc.edu's message of 31 Jul 92 02:15:45 GMT