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

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

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


From: Ryan Krauss
Subject: Re: [h-e-w] Re: easy install of auctex with emacsw32
Date: Sun, 21 Jan 2007 08:57:07 -0600

Thanks for all your help Brian.  I am up and running now.

On 1/21/07, Brian Elmegaard <address@hidden> wrote:
"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]