all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

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.