XETEX(1)
π XETEX(1) β bestie's guide to the iconic Unicode TeX engine β¨
okay so you opened the General Commands Manual page for xetex and honestly? you're in for a treat π
πΈ NAME πΈ
xetex β extended TeX that natively supports Unicode, OpenType, and your system fonts. fr fr it's the glow-up version π
π¦ SYNOPSIS π¦
xetex [options] [&format] [file|\commands]
β¨ DESCRIPTION β¨
so XeTeX (aka the command xetex) is a TeX engine, and its whole main-character thing is native support for Unicode, OpenType, and fonts that are already installed on your system. it does this by leaning on third-party libraries like ICU, HarfBuzz, and FreeType β iykyk, those are the real MVPs π«Ά
it outputs an extended dvi format called xdv, and by default that gets translated into pdf by xdvipdfmx(1). slay.
XeTeX also includes the e-TeX extensions plus a whole bunch of extensions from pdfTeX β and ngl, sometimes it uses different primitive names for them, so don't come for me if a name looks familiar but isn't quite it π
π OPTIONS π
for the common TeX command-line options and how they're handled, go check tex(1). but these XeTeX-specific ones? also supported, bestie π
-no-pdfβ generate XeTeX's extended DVI (.xdv) output instead of pdf. lowkey handy when you want the middle step π₯-output-drivercmd β run cmd instead ofxdvipdfmxto translate xdv into pdf. choose your own fighter β¨-papersizestring β set the pdf media size to string. paper size? set. periodt π
β οΈ options that got removed:-draftmode,-enc,-ipc,-ipc-start,-translate-file. they're gone gone, no cap π don't try it.
π ENVIRONMENT π
see tex(1) and pdftex(1). they've got the lore π§
π FILES π
see tex(1). also, this one:
$TEXMFMAIN/tex/generic/tex-ini-files/xetex.iniβ the driver file that builds the plain format file for XeTeX,xetex.fmt, in TeX Live. it's giving "behind the scenes icon" π
π BUGS π
see tex(1). not me redirecting you again, but that's where the info lives π
π₯ SEE ALSO π₯
tex(1), dvipdfmx(1), etex(1), latex(1), luatex(1), pdftex(1).
TUGboat articles by Jonathan Kew: https://tug.org/TUGboat/listauthor.html#Kew,Jonathan
Home page: https://tug.org/xetex
XeTeX package page on CTAN: https://ctan.org/pkg/xetex
XeTeX reference manual: https://ctan.org/pkg/xetexref
Web2c manual: https://tug.org/web2c
Kpathsea manual: https://tug.org/kpathsea
Sources for the TeX-world literate programs, as pdf, including XeTeX: https://ctan.org/pkg/knuth-pdf
π AUTHORS π
XeTeX was created and is maintained by Jonathan Kew and others. it's released as part of TeX Live. this manual page was written by Karl Berry, and it's released to the public domain β absolutely iconic of them π
Bug reports: https://sourceforge.net/p/xetex/bugs/
Public discussion list for pdfTeX-specific issues: https://lists.tug.org/pdftex
Public discussion list for TeX Live: https://lists.tug.org/tex-live
Public discussion list for all things TeX: https://lists.tug.org/texhax
and that's the whole page, bestie π mwah π β brought to you by Web2C 2026, dated 1 February 2026, signing off β¨π¦π
π¦ where this page comes from
- alpine 3.24: texmf-dist-xetex-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms