JS wrote: > I have writtin a LaTex document in emacs. But how do I compile/view it?? > > From the menu I chose Tex File and that seemed to compile it, but when I > press Tex View in the new buffer that opens I get this error message: > > You must set 'tex-dvi-view-command' > > Does anyone how to get it to work?
,----[ C-h v tex-dvi-view-command RET ]
| tex-dvi-view-command's value is nil
|
| Documentation:
| *Command used by M-x tex-view to display a `.dvi' file.
| If this string contains an asterisk (`*'), that is replaced by the file name;
| otherwise, the file name, preceded by blank, is added at the end.
|
| This can be set conditionally so that the previewer used is suitable for the
| window system being used. For example,
|
| (setq tex-dvi-view-command
| (if (eq window-system 'x) "xdvi" "dvi2tty * | cat -s"))
|
| would tell M-x tex-view to use xdvi under X windows and to use dvi2tty
| otherwise.
|
| Defined in `loaddefs.el'.
`----
-- Kevin Rodgers _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs