xelatex
Unicode-aware LaTeX to PDF compiler
TLDR
Compile LaTeX document to PDF
SYNOPSIS
xelatex [options] [file]
DESCRIPTION
xelatex compiles LaTeX documents using the XeTeX engine, producing PDF output. It provides native Unicode (UTF-8) support and can use any system-installed OpenType or TrueType fonts directly.
Unlike pdfLaTeX, xelatex handles non-Latin scripts and complex typography without special encoding packages. The fontspec package provides high-level font selection. Documents can include characters from any writing system directly.
Multiple compilation passes may be needed for cross-references, bibliographies, and indices. Build systems like latexmk automate this process.
PARAMETERS
-output-directory dir
Write output files to directory.-jobname name
Set output file base name.-interaction mode
Set interaction mode: batchmode, nonstopmode, scrollmode, errorstopmode.-shell-escape
Enable \write18 shell commands.-no-shell-escape
Disable shell commands.-synctex n
Generate SyncTeX data for editor sync.-halt-on-error
Stop on first error.-file-line-error
Show file and line in error messages.--help
Display help.--version
Display version.
CAVEATS
Some packages designed for pdfLaTeX may be incompatible. Compilation is slightly slower than pdfLaTeX. Requires fontspec for advanced font features. Part of TeX Live distribution.
HISTORY
XeTeX was created by Jonathan Kew, initially for Mac OS X in 2004. It was ported to Linux in 2006 and included in TeX Live 2007. XeTeX brought modern font technology and Unicode support to TeX, making it practical for multilingual and professionally typeset documents.
