Xref: utzoo comp.windows.x:36622 gnu.emacs.help:2098 comp.text.tex:7576 Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!oskar.uchicago.edu!ppalmer From: ppalmer@oskar.uchicago.edu (Patrick Palmer) Newsgroups: comp.windows.x,gnu.emacs.help,comp.text.tex Subject: Re: xdvi in emacs Summary: can xdvi stay alive in the background? Keywords: xdvi, emacs Message-ID: <1991May21.045416.18056@midway.uchicago.edu> Date: 21 May 91 04:54:16 GMT References: <1991May16.152416.17303@unibi.uni-bielefeld.de> Sender: news@midway.uchicago.edu (NewsMistress) Organization: Department of Astronomy and Astrophysics Lines: 20 In article adrianho@barkley.berkeley.edu (Adrian J Ho) writes: >In article bob@MorningStar.Com (Bob Sutterfield) writes: >>I prefer to have -print-command actually put the document on >>paper, and use compile-command for the previewer. > >Why not have _both_? All you have to do is edit tex-mode.el, copy the >code for (TeX-print) to, say, (TeX-preview), change all references to > .... >Isn't Emacs _great_? 8-) If you run xdvi from the TeX shell, can you run it in the background so that you can let it stay active as you revise the file? I don't see how myself. If not, isn't it easier to run xdvi from another window so that you immediately see the revised .dvi file without having to start xdvi again? (That is one of the nice things about xdvi - it knows when the dvi file changes and redisplays it automatically.) But, I don't understand the TeX shell, and am always searching for enlightenment about it. Pat Palmer (email: ppalmer@oskar.uchicago.edu)