{
    "content": [
        {
            "type": "text",
            "text": "# xetex (man)\n\n## NAME\n\nxetex - extended TeX with native support for Unicode, OpenType, system fonts\n\n## SYNOPSIS\n\nxetex [options] [&format] [file|\\commands]\n\n## DESCRIPTION\n\nXeTeX (xetex) is a TeX engine with native support for Unicode, OpenType, and system-installed\nfonts, using third-party libraries (such as ICU, HarfBuzz, and Freetype). It was developed by\nJonathan Kew for SIL.\n\n## TLDR\n\n> Compile a PDF document from XeTeX source files.\n\n- Compile a PDF document:\n  `xetex {{source.tex}}`\n- Compile a PDF document, specifying an output directory:\n  `xetex -output-directory={{path/to/directory}} {{source.tex}}`\n- Compile a PDF document, exiting if errors occur:\n  `xetex -halt-on-error {{source.tex}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (3 subsections)\n- **SEE ALSO**\n- **AUTHORS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "xetex",
        "section": "",
        "mode": "man",
        "summary": "xetex - extended TeX with native support for Unicode, OpenType, system fonts",
        "synopsis": "xetex [options] [&format] [file|\\commands]",
        "tldr_summary": "Compile a PDF document from XeTeX source files.",
        "tldr_examples": [
            {
                "description": "Compile a PDF document",
                "command": "xetex {{source.tex}}"
            },
            {
                "description": "Compile a PDF document, specifying an output directory",
                "command": "xetex -output-directory={{path/to/directory}} {{source.tex}}"
            },
            {
                "description": "Compile a PDF document, exiting if errors occur",
                "command": "xetex -halt-on-error {{source.tex}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Generate XeTeX's extended DVI (.xdv) output instead of pdf."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Run cmd instead of xdvipdfmx to translate xdv to pdf."
            },
            {
                "flag": "",
                "long": null,
                "arg": null,
                "description": "Set pdf media size to string. Removals: -draftmode, -enc, -ipc, -ipc-start, -translate-file."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "tex",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/tex/1/json"
            },
            {
                "name": "etex",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/etex/1/json"
            },
            {
                "name": "latex",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/latex/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 4,
                "subsections": [
                    {
                        "name": "-no-pdf",
                        "lines": 2
                    },
                    {
                        "name": "-output-driver",
                        "lines": 2
                    },
                    {
                        "name": "-papersize",
                        "lines": 4
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 9,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "xetex - extended TeX with native support for Unicode, OpenType, system fonts\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "xetex [options] [&format] [file|\\commands]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "XeTeX (xetex) is a TeX engine with native support for Unicode, OpenType, and system-installed\nfonts, using third-party libraries (such as ICU, HarfBuzz, and Freetype). It was developed by\nJonathan Kew for SIL.\n\nXeTeX includes the e-TeX extensions and many extensions from pdfTeX, sometimes with different\nprimitive names.\n\nXeTeX is now released as part of TeX Live <https://tug.org/texlive>.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "XeTeX's handling of its command-line arguments is similar to that of the other  TeX  programs\nin  the  Web2C implementation.  Here we list only additions/deletions of command line options\nwhich are specific to XeTeX; see etex(1) for common options. Additions:\n",
                "subsections": [
                    {
                        "name": "-no-pdf",
                        "content": "Generate XeTeX's extended DVI (.xdv) output instead of pdf.\n"
                    },
                    {
                        "name": "-output-driver",
                        "content": "Run cmd instead of xdvipdfmx to translate xdv to pdf.\n"
                    },
                    {
                        "name": "-papersize",
                        "content": "Set pdf media size to string.\n\nRemovals: -draftmode, -enc, -ipc, -ipc-start, -translate-file.\n"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "tex(1), etex(1), latex(1).\nHome page: <https://tug.org/xetex>\nCTAN page: <https://ctan.org/pkg/xetex>\nReference manual: <https://ctan.org/pkg/xetexref>\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "XeTeX is maintained by Jonathan Kew and others.\nPublic discussion list: <http://lists.tug.org/xetex>\nBug reports: <http://sourceforge.net/p/xetex/bugs/>\n\nThis manual page was written by Karl Berry. It is released to the public domain.\n\n\n\nWeb2C 2022/dev                              10 July 2018                                    XETEX(1)",
                "subsections": []
            }
        }
    }
}