Forrest logo
back to the xetex tool

xetex:tldr:67997

xetex: Compile a PDF document.
$ xetex ${source-tex}
try on your machine

The command "xetex ${source-tex}" is used to compile a TeX document using the XeTeX engine.

Here's a breakdown of the command:

  • "xetex" is the name of the command or executable file that is used to run XeTeX.

  • "${source-tex}" is a placeholder for the name of the TeX source file that you want to compile. The "${source-tex}" syntax indicates that the actual source file name will be provided as an argument or variable when running the command.

When you run this command, the XeTeX engine will read the specified TeX source file and generate a compiled version, typically in PDF format. However, since "${source-tex}" is a placeholder, you need to replace it with the actual name of the TeX source file you want to compile.

For example, if you have a TeX source file named "mydocument.tex", you would run the command as follows:

  • xetex mydocument.tex

This would instruct the XeTeX engine to compile the "mydocument.tex" file.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the xetex tool