[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compile/view document in LaTex mode??

From: Kevin Rodgers
Subject: Re: How to compile/view document in LaTex mode??
Date: Wed, 30 Mar 2005 11:57:46 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]