LLMpediaThe first transparent, open encyclopedia generated by LLMs

AUCTeX

Generated by DeepSeek V3.2
Note: This article was automatically generated by a large language model (LLM) from purely parametric knowledge (no retrieval). It may contain inaccuracies or hallucinations. This encyclopedia is part of a research project currently under review.
Article Genealogy
Parent: LaTeX Hop 4
Expansion Funnel Raw 56 → Dedup 25 → NER 16 → Enqueued 16
1. Extracted56
2. After dedup25 (None)
3. After NER16 (None)
Rejected: 9 (not NE: 9)
4. Enqueued16 (None)
AUCTeX
NameAUCTeX
DeveloperKresten Krab Thorup, Per Abrahamsen, David Kastrup, Arash Esbati, Mosè Giordano, Uwe Brauer, Ikumi Keita, Tassilo Horn
Released0 1991
Latest release version13.2
Latest release date10 December 2023
Programming languageEmacs Lisp
Operating systemCross-platform
GenreIntegrated development environment, TeX
LicenseGNU General Public License

AUCTeX is a comprehensive, extensible integrated development environment for authoring LaTeX documents within the GNU Emacs text editor. It provides sophisticated tools for writing, formatting, previewing, and compiling documents written in the TeX typesetting system and its derivatives. Developed as an Emacs Lisp package, it integrates deeply with the editor's ecosystem, offering features like syntax highlighting, command completion, and interactive previews to streamline the document creation process. The project is maintained by a global community of developers and is distributed under the GNU General Public License.

Overview

AUCTeX transforms GNU Emacs into a powerful front-end for the TeX system, which was originally created by Donald Knuth. It is particularly designed to support the LaTeX document preparation system developed by Leslie Lamport. By leveraging Emacs's extensibility, it provides a unified environment for managing complex documents, including books, academic articles, and presentations using classes like Beamer (LaTeX). Its design philosophy emphasizes tight integration with the underlying typesetting engine, allowing users to insert macros, manage bibliographies via BibTeX, and navigate through complex document structures without leaving the editor. This approach has made it a preferred tool for many in the scientific and academic communities who regularly publish in fields like mathematics, computer science, and physics.

Features

The software offers a rich set of features to assist in LaTeX document preparation. Key functionalities include sophisticated syntax highlighting and font-locking for TeX, LaTeX, ConTeXt, and docTeX modes, which help in visually distinguishing commands, environments, and mathematical notation. It provides intelligent completion for commands, environments, and citations, including support for BibTeX database entries. A major feature is preview-latex, which can embed typeset snippets of mathematics or graphics directly within the editing buffer. Other notable tools include integrated access to TeX's error parser, a multifile document management system for handling large projects like theses, and support for various TeX engines like pdfTeX, LuaTeX, and XeTeX. It also includes utilities for inserting LaTeX environments, cross-references, and labels, and can interact with external programs like Ghostscript for preview generation.

Installation and Configuration

AUCTeX is typically installed via GNU Emacs's built-in package manager, ELPA, or through system package managers on Unix-like operating systems such as GNU/Linux distributions and BSD variants. Users of Microsoft Windows can install it as part of distributions like MiKTeX or via Cygwin. Basic configuration involves adding lines to the Emacs initialization file, often called `.emacs` or `init.el`, to load the package and set preferred options. Users can customize numerous variables to control behavior, such as the default TeX engine, the viewer for compiled documents, or the style of automatic indentation. Advanced configuration may involve writing Emacs Lisp code to tailor keybindings, integrate with version control systems like Git, or work with specific LaTeX packages like PGF/TikZ for graphics.

Integration with Emacs

The integration with GNU Emacs is fundamental, as AUCTeX extends the editor's core text manipulation capabilities. It works seamlessly with other Emacs Lisp packages, such as RefTeX for managing references, CDLaTeX for fast mathematics input, and company-mode or auto-complete for enhanced completion. It hooks into Emacs's standard mechanisms for compiling documents, allowing output to be displayed in buffers like `*compilation*`. The environment supports Emacs's major modes for editing BibTeX files and DocTeX source, and can utilize features like imenu for navigation and flyspell for spell-checking. This deep integration allows users to combine AUCTeX with general Emacs workflows for project management, remote editing via TRAMP, and interaction with shells.

History and Development

The initial version of AUCTeX was written by Kresten Krab Thorup in 1991, inspired by earlier TeX modes for GNU Emacs. Significant early development was continued by Per Abrahamsen, who added many core features. Since the late 1990s, primary maintenance and development have been led by David Kastrup, with substantial contributions from developers like Arash Esbati, Mosè Giordano, and Uwe Brauer. The project has evolved through collaboration on platforms like Savannah (software) and GitHub, responding to the growing complexity of the LaTeX ecosystem and new engines like XeTeX. It has been included in major TeX distributions such as TeX Live and is a standard component in GNU Emacs distributions. The development community follows the open-source model, with discussions often occurring on mailing lists and at events related to GNU Emacs and TeX user groups.

Category:TeX editors Category:Emacs Category:Free software programmed in Emacs Lisp Category:Free text editors Category:Integrated development environments