Difference between revisions of "AUCTeX"
Jump to navigation
Jump to search
(added some real info about AUCTeX) |
|||
Line 1: | Line 1: | ||
+ | {{Package | ||
+ | |name=AUCTeX | ||
+ | |description=LaTeX editing | ||
+ | |author=David Kastrup | ||
+ | |maintainer=David Kastrup | ||
+ | |source= http://www.gnu.org/software/auctex/ | ||
+ | }} | ||
+ | |||
+ | '''AUCTeX''' is an extensible package for writing and formatting TeX files in GNU Emacs and XEmacs. It supports many different TEX macro packages, including AMS-TEX, LaTeX, Texinfo, ConTEXt, and docTeX (dtx files). | ||
+ | AUCTeX includes [[preview-latex]] which makes LaTeX a tightly integrated component of your editing workflow by visualizing selected source chunks (such as single formulas or graphics) directly as images in the source buffer. | ||
+ | |||
+ | == Basic setup == | ||
+ | |||
+ | <source lang="lisp"> | ||
+ | (add-to-list 'load-path "~/.emacs.d/auctex") | ||
+ | (load "auctex.el" nil t t) | ||
+ | (load "preview-latex.el" nil t t) | ||
+ | </source> | ||
+ | |||
+ | == Helpful keybindings == | ||
+ | |||
+ | == Common Customization == | ||
+ | |||
+ | === Use pdflatex === | ||
+ | |||
+ | <source lang="lisp"> | ||
+ | (setq TeX-PDF-mode t) | ||
+ | </source> | ||
+ | |||
+ | === Configure view program === | ||
+ | |||
+ | <source lang="lisp"> | ||
+ | (setq TeX-view-program-selection | ||
+ | '((output-dvi "DVI Viewer") | ||
+ | (output-pdf "PDF Viewer") | ||
+ | (output-html "HTML Viewer"))) | ||
+ | ;; this example is good for OS X only | ||
+ | (setq TeX-view-program-list | ||
+ | '(("DVI Viewer" "open %o") | ||
+ | ("PDF Viewer" "open %o") | ||
+ | ("HTML Viewer" "open %o"))) | ||
+ | </source> | ||
+ | |||
+ | == See Also == | ||
+ | |||
+ | == Project Pages == | ||
+ | * [http://www.gnu.org/software/auctex/ Official Site] | ||
+ | * [http://www.gnu.org/software/auctex/manual/auctex.index.html Official Manual] | ||
+ | |||
+ | == Tutorial Pages == | ||
+ | |||
[[Category:Popular Package]][[Category:Document authoring]][[Category:LaTeX]] | [[Category:Popular Package]][[Category:Document authoring]][[Category:LaTeX]] |
Revision as of 13:41, 5 April 2012
Description | LaTeX editing |
---|---|
Author | David Kastrup |
Maintainer | David Kastrup |
Source | http://www.gnu.org/software/auctex/ |
AUCTeX is an extensible package for writing and formatting TeX files in GNU Emacs and XEmacs. It supports many different TEX macro packages, including AMS-TEX, LaTeX, Texinfo, ConTEXt, and docTeX (dtx files). AUCTeX includes preview-latex which makes LaTeX a tightly integrated component of your editing workflow by visualizing selected source chunks (such as single formulas or graphics) directly as images in the source buffer.
Basic setup
(add-to-list 'load-path "~/.emacs.d/auctex")
(load "auctex.el" nil t t)
(load "preview-latex.el" nil t t)
Helpful keybindings
Common Customization
Use pdflatex
(setq TeX-PDF-mode t)
Configure view program
(setq TeX-view-program-selection
'((output-dvi "DVI Viewer")
(output-pdf "PDF Viewer")
(output-html "HTML Viewer")))
;; this example is good for OS X only
(setq TeX-view-program-list
'(("DVI Viewer" "open %o")
("PDF Viewer" "open %o")
("HTML Viewer" "open %o")))