* How to compile/view document in LaTex mode??
@ 2005-03-30 13:28 JS
2005-03-30 14:52 ` Phillip Lord
2005-03-30 18:57 ` Kevin Rodgers
0 siblings, 2 replies; 3+ messages in thread
From: JS @ 2005-03-30 13:28 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to compile/view document in LaTex mode??
2005-03-30 13:28 How to compile/view document in LaTex mode?? JS
@ 2005-03-30 14:52 ` Phillip Lord
2005-03-30 18:57 ` Kevin Rodgers
1 sibling, 0 replies; 3+ messages in thread
From: Phillip Lord @ 2005-03-30 14:52 UTC (permalink / raw)
>>>>> "JS" == JS <d44sf@44ada.com> writes:
JS> I have writtin a LaTex document in emacs. But how do I
JS> compile/view it??
JS> From the menu I chose Tex File and that seemed to compile it,
JS> but when I press Tex View in the new buffer that opens I get
JS> this error message:
JS> You must set 'tex-dvi-view-command'
JS> Does anyone how to get it to work?
My own advice is to install auctex
http://www.gnu.org/software/auctex/
Once you have done this, it all becomes easy. It integrates very
nicely with the various different tex's, so if you use more than one
(I use tetex and miktex), switching between them becomes easy.
Cheers
Phil
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to compile/view document in LaTex mode??
2005-03-30 13:28 How to compile/view document in LaTex mode?? JS
2005-03-30 14:52 ` Phillip Lord
@ 2005-03-30 18:57 ` Kevin Rodgers
1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2005-03-30 18:57 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-03-30 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-30 13:28 How to compile/view document in LaTex mode?? JS
2005-03-30 14:52 ` Phillip Lord
2005-03-30 18:57 ` Kevin Rodgers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.