.aux — Auxiliary File
Various (often associated with TeX/LaTeX) · 1980s
An AUX file is a supporting file used by LaTeX and TeX to manage cross-references, tables of contents, and other navigational elements during document compilation.
Key Features
- Stores intermediate data for document compilation.
- Facilitates cross-referencing and navigation.
- Essential for generating tables of contents and indices.
- Typically a plain text format, but structured for machine processing.
Best For
- Storing intermediate data for LaTeX document compilation.
- Enabling complex referencing in academic papers.
- Supporting the generation of navigational elements in long documents.
Less Ideal For
- Storing final document content for general viewing.
- Sharing documents with non-technical users.
- Replacing primary document formats like PDF or DOCX.
- Storing images or multimedia content.
Common Use Cases
- Compiling LaTeX documents with cross-references.
- Generating tables of contents automatically.
- Creating indices and glossaries.
- Managing citations for bibliographies.
How to Open It
- Open with a plain text editor like Notepad (Windows), TextEdit (macOS), or gedit (Linux).
- LaTeX distributions (e.g., TeX Live, MiKTeX) automatically process AUX files during compilation.
- Avoid direct manual editing unless you are intimately familiar with TeX/LaTeX internal structures.
What is a .aux file?
An AUX file is a supplementary file that holds auxiliary information for a primary document, most commonly generated by the TeX and LaTeX typesetting systems. It stores data like table of contents entries, cross-references, index terms, and citations that are needed to generate the final output. While not directly readable by humans in a meaningful way, it's crucial for the compilation process of documents that require complex structuring and referencing. It's part of the larger ecosystem of files used to produce professional-looking documents, especially in academic and technical fields.
Programs That Open .aux Files
| Platform | Program | ||
|---|---|---|---|
| Windows | TeX Live | Free | Official |
| MiKTeX | Free | Official | |
| Notepad++ | Free | ||
| macOS | MacTeX | Free | Official |
| TextEdit | Free | Official | |
| Linux | TeX Live | Free | Official |
| gedit | Free | Official |
Common Problems with .aux Files
Frequently Asked Questions
An AUX file is used by TeX/LaTeX to store auxiliary information needed for document compilation, such as cross-references, table of contents entries, and index data.
You can open it with a text editor, but the content is primarily machine-readable control sequences for LaTeX, not easily understandable by humans.
Yes, AUX files are typically required for subsequent compilations of your LaTeX document to ensure cross-references and navigation elements are correctly updated.
Technical Details
AUX files are typically plain text files, although their internal structure is specific to the program that generated them, primarily TeX-based systems. They contain control sequences and data used by the typesetter to build indices, bibliographies, and tables of contents in the final output document. The content is machine-readable for the typesetting engine but not intended for direct human interpretation.