help-emacs-windows
[Top][All Lists]
Advanced

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

[h-e-w] Re: easy install of auctex with emacsw32


From: Brian Elmegaard
Subject: [h-e-w] Re: easy install of auctex with emacsw32
Date: Sun, 21 Jan 2007 07:22:55 -0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (windows-nt)

"Ryan Krauss" <address@hidden> writes:

> automatically loading then I open a .tex file.  What am I doing wrong?

Sorry, you still need to do the last steps explained in
INSTALL.windows:
You should add the following to _emacs (or .emacs if that's what you have)

          (load "auctex.el" nil t t)
          (load "preview-latex.el" nil t t)
          (require 'tex-mik) ;if you use miktex
 
and then beware that there is a bug in the View command for
pdflatex. It is currently discussed in the auctex group.

You should add the following after tex-mik:
(unless (get 'TeX-print-command 'saved-value)
  (setq TeX-print-command
        "start \"\" %f"))

(unless (get 'TeX-view-style 'saved-value)
  (setq TeX-view-style '(("^epsf$" "start \"\" %f")
                         ("." "yap -1 %dS %d"))))

(unless (get 'TeX-output-view-style 'saved-value)
  (setq TeX-output-view-style
        '(("^dvi$" "^pstricks$\\|^pst-\\|^psfrag$" "dvips %d -o && start \"\" 
%f")
          ("^dvi$" "." "yap -1 %dS %d")
          ("^pdf$" "." "start \"\" %o")
          ("^html?$" "." "start \"\" %o"))))

-- 
Brian (remove the sport for mail)
http://www.et.web.mek.dtu.dk/Staff/be/be.html
http://www.rugbyklubben-speed.dk





reply via email to

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