"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