Go back to Alan's home page

Install AUCTEX

These are the steps to install AUCTEX in Windows.

  1. Install MikTeX.
  2. Install Ghostscript and GSview for Windows.
  3. Download and install the precompiled bundle of AUCTEX.
  4. Configure path.
  5. Configure Emacs. Create a file .emacs with the following contents:

    ;; the wrapping up of the two loads make sure
    ;; auctex is loaded only when editing tex files.
    (eval-after-load "tex-mode" '(progn
    (load "auctex.el" nil nil t)
    (load "preview-latex.el" nil nil t)))

    ;; ACUTeX replaces latex-mode-hook with LaTeX-mode-hook
    (add-hook 'LaTeX-mode-hook
    (lambda ()
    (setq TeX-auto-save t)
    (setq TeX-parse-self t)
    ;; (setq-default TeX-master nil)
    (reftex-mode t)
    (TeX-fold-mode t)))

  6. Customize varibles in Emacs (M-x customize-variable). The changes will be automatically saved into your .emacs file.
  7. Problems you might run into: