preview-latex is part of the auctex emacs mode for editing latex files, and lets you see your latex equations formated inside your emacs. You can toggle individual equations between latex source and compiled image.

Add the following to your .emacs:

(push "/usr/grads/share/emacs/site-lisp/" load-path)
(load "auctex.el")
(load "preview-latex.el" nil t t)

Set the environment variable

export TEXINPUTS=.::/usr/grads/share/texmf/tex//

before you start emacs (so latex can find the preview package when it is called by emacs). Then fire up emacs and open a latex file. You will see a "Preview" menu item, and a TeX icon - move the cursor to an equation and click on the TeX icon to toggle preview/source.

-- DanGildea - 25 Feb 2006

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2006-02-25 - DanGildea
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback