Generated by DeepSeek V3.2| XeTeX | |
|---|---|
| Name | XeTeX |
| Developer | Jonathan Kew |
| Released | April 2004 |
| Latest release version | 0.99999 |
| Latest release date | 12 January 2019 |
| Programming language | C++, Web2C |
| Operating system | Cross-platform |
| Genre | Typesetting |
| License | MIT License |
XeTeX. It is a TeX typesetting engine that incorporates modern Unicode and font technologies, notably Apple Advanced Typography and OpenType. Initially created for macOS, it is now a core component of major TeX distributions like TeX Live and MiKTeX. By natively supporting system fonts and complex writing systems, it bridges the gap between traditional TeX and contemporary digital publishing workflows.
The engine was conceived and primarily developed by Jonathan Kew, who announced its first alpha release in April 2004. Its creation was motivated by the limitations of traditional TeX engines, such as pdfTeX, in handling Unicode input and modern font formats directly. A significant milestone was its integration into the TeX Live 2007 distribution, which greatly expanded its user base beyond the macOS community. Development has been closely aligned with the evolution of the XƎTEX project and has benefited from contributions within the broader TeX Users Group ecosystem.
A primary feature is its native support for Unicode, allowing users to input text in numerous languages and scripts without pre-processing. It provides direct access to system OpenType and TrueType fonts, enabling advanced typographic features like ligatures, swash alternates, and small caps through the fontspec package. The engine also supports Apple Advanced Typography features on macOS and integrates with Graphite technology for complex writing systems. Furthermore, it produces PDF output with correct hyperlink and metadata support.
Users typically invoke the engine from the command line or through integrated development environments like TeXstudio or Overleaf. A document is processed with the `xelatex` command, which combines the capabilities with the LaTeX format. The fontspec package is almost indispensable for font management, allowing declarations for specific OpenType features. For complex right-to-left scripts such as Arabic or Hebrew, packages like polyglossia and bidi are commonly employed. The engine is implemented in C++ and is built within the Web2C framework, ensuring compatibility with existing TeX macro packages.
Compared to pdfTeX, the most direct predecessor, it excels in Unicode and modern font handling, whereas pdfTeX is limited to 8-bit encodings and traditional TeX fonts. The LuaTeX engine, another modern extension, also supports Unicode and OpenType but embeds the Lua scripting language for programmable typesetting, offering a different approach to extensibility. While XeTeX is often praised for its straightforward font support, LuaTeX provides deeper control over the typesetting process through Lua callbacks. Both engines represent significant advancements over the older TeX and pdfTeX systems.
It is included as a standard component in all major TeX distributions, including TeX Live, MiKTeX, and MacTeX. Most contemporary LaTeX editors, such as TeXmaker, TeXworks, and Visual Studio Code with the LaTeX Workshop extension, offer built-in support for compiling documents. The CTAN repository hosts numerous packages designed for or compatible with it, particularly for linguistics and multilingual typesetting. Its output is widely compatible with other PDF processing tools and adheres to standards expected by academic publishers and digital library systems.
Category:Free typesetting software Category:TeX