[comp.text.tex] Improvements on TEX-MODE.EL

luj@gus19.ecn.purdue.edu (Jun Lu) (04/02/91)

Hello, everyone,

I like emacs tex-mode to have following capabilities:

	. have a TeX-view function so that one can preview .dvi file
by using appropriate command specified by TeX-view-command var.(I add
this to my own tex-mode.el by following TeX-print, even though I'm 
lisp-illiterate :-)
	. Have a TeX-tmp directory in addition to TeX-directory, so
that TeX working directory is default-directory, but tmp files(#tz*)
are created in the tmp-dir.(Of course a user can specify his
preference using mode-hook). This way TeX-mode can work correctly even
if the working TeX-file have inputs from other subdirectories.

I tried to hack this out on my own, but my lisp-illiteracy presents quite a
big challenge to me in adding a TeX-tmp directory. After working for
10 min., I guess that maybe the net could help. Does anyone care to
fix this ? 

Thank you for your help.
-- Jun

P.S. I did manage to set the TeX-directory to the current
default-directoy. But I don't like to see those tmp files(#tz*) there.
I prefer to put them the directory specified by an var(say TeX-tmp).
--
-- Jun Lu                          Internet:luj@ecn.purdue.edu          --
-- Aeronautics & Astronautics      Bitnet:  luj%ecn.purdue.edu@purccvm  --
-- Purdue University               UUCP:    pur-ee!luj                  -- 
-- W. Lafayette, IN 47907          Phone:317-494-9410  Fax:317-494-0307 --