unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pravin.futane@se.abb.com
Subject: dvi file help
Date: Wed, 27 Aug 2003 16:35:08 +0200	[thread overview]
Message-ID: <OF2624C4E4.5F221B77-ONC1256D8F.004FB81D@seinf.abb.se> (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

                 reply	other threads:[~2003-08-27 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF2624C4E4.5F221B77-ONC1256D8F.004FB81D@seinf.abb.se \
    --to=pravin.futane@se.abb.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).