unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* dvi file help
@ 2003-08-27 14:35 pravin.futane
  0 siblings, 0 replies; only message in thread
From: pravin.futane @ 2003-08-27 14:35 UTC (permalink / raw)


Hi there!
Well I am preety new to emacs and latex.
My problem is I am not getting or emacs is not
making this dvi file. I have some errors in my latex
code. But still emacs should generate .dvi file.
Also the "view# command to see .dvi file is not activated.
Please let me know what to do.

I have added these lines to my .emacs file.

===========================================
(setq tex-dvi-print-command "dvips")
(setq tex-dvi-view-command
(if (eq window-system 'x) "xdvi -bg white -nopostscript -s 8 " "dvi2tty * | cat -s")
)
(setq tex-default-mode 'latex-mode)
(add-hook 'tex-mode-hook 'turn-on-font-lock t)
(add-hook 'tex-mode-hook (function (lambda() (local-set-key [C-return] 'tex-file))))
(add-hook 'tex-mode-hook (function (lambda() (local-set-key [f6] 'comment-region))))
(add-hook 'bibtex-mode-hook 'turn-on-font-lock t)
=============================================
Also let me know if this email id is right one
for any help.

Pravin

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-27 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-27 14:35 dvi file help pravin.futane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).