MIKTEX-XETEX(1)
π miktex-xetex β the user-commands era π
okay bestie, buckle up β this is miktex-xetex(1), a User Commands page, and it's the whole entire Unicode-based TeX engine vibe. let's get into it β¨
πΈ NAME πΈ
miktex-xetex β the Unicode-based TeX engine π
π¦ SYNOPSIS π¦
miktex-xetex [option...] [[file] | [\command...]]
β¨ DESCRIPTION β¨
bestie, real talk: this man page is an adaption of the corresponding TeX Live man page. not me being transparent about my origins π
So what does it actually do? Run the XeTeX typesetter on file, usually creating file.pdf. If the file argument has no extension, .tex will be appended to it. And instead of a file name, you can hand it a set of XeTeX commands β the first of which must start with a backslash. periodt.
XeTeX has simple font installation, which is honestly iconic of it: it can use any installed fonts in the operating system without configuring TeX font metric. As a result β and this is the part where I'm obsessed β XeTeX can access font features such as special ligatures and variable font weights. the range. the versatility. π
π OPTIONS π
--alias=nameβ pretend to be program name, i.e. set program (and memory dump) name to name. This may affect the search paths and other values used. Using this option is equivalent to copying the program file to name and invoking name. catfish behavior, but make it TeX π--aux-directory=dirβ set dir as the directory to which auxiliary files are written. Also look for input files in dir first, before along the normal search path. she's organized π--buf-size=nβ set the maximum number of characters simultaneously present in current lines of open files and in control sequences between\csnameand\endcsname. TeX uses the buffer to contain input lines, but macro expansion works by writing material into the buffer and reparsing the line. As a consequence, certain constructs require the buffer to be very large, even though most documents can be handled with a small value. ngl, some of y'all are gonna need a big one π--c-style-errorsβ change the way error messages are printed. The alternate style looks like error messages from many compilers and is easier to parse for some editors. compiler-core errors, slay π§--disable-8bit-charsβ make only 7-bit characters printable. going vintage, no cap--disable-installerβ disable automatic installation of packages. Specifying this option overrules settings in the MiKTeX configuration data store. she said "I'll get it myself" π«Ά--disable-write18β disable the\write18{command}construct. locked down, as she should be π--dont-parse-first-lineβ disable checking whether the first line of the main input file starts with%&. no peeking π--enable-8bit-charsβ make all characters printable. everyone's invited to the party π--enable-etexβ enable eTeX extensions.--enable-installerβ enable automatic installation of packages. Specifying this option overrules settings in the MiKTeX configuration data store. she's thriving on convenience π--enable-mltexβ enable MLTeX extensions such as\charsubdef.--enable-write18β fully enable the\write18{command}construct. It is only partially enabled by default to avoid security problems. When fully enabled, the command (which undergoes the usual TeX expansions) is passed to the command interpreter. The output of the command is not diverted anywhere, so it will not appear in the log file. The command execution either happens at\outputtime or right away, according to the absence or presence of the\immediateprefix.
β οΈ bestie this one is the spicy one β it's only partially enabled by default to avoid security problems. when you fully enable it, you're handing real commands to the command interpreter. know what you're doing, fr fr π
--error-line=nβ set the width of context lines on terminal error messages.--extra-mem-bot=nβ set the extra size (in memory words) for large data structures like boxes, glue, breakpoints, et al. Relevant only after the memory dump file has been read.--extra-mem-top=nβ set the extra size (in memory words) for chars, tokens, et al. Relevant only after the memory dump file has been read.--font-max=nβ set the maximum internal font number. π’--font-mem-size=nβ set the size, in TeX memory words, of the font memory.--half-error-line=nβ set the width of first lines of contexts in terminal error messages.--halt-on-errorβ quit after the first error. no second chances, main character energy π€--hash-extra=nβ set the extra space for the hash table of control sequences (which allows 10K names as distributed).--helpβ give help and exit. hi bestie π--hhelpβ this option is only available on Windows systems: show the manual page in an HTML Help window and exit when the window is closed. windows girlies only πͺ--include-directory=dirβ add the directory dir to the head of the list of directories to be searched for input files. front of the line, VIP treatment π--initializeβ become the INI variant of the program. glow-up era π--interaction=modeβ set the interaction mode. Must be one ofbatchmode,scrollmodeanderrorstopmode. The meaning of these modes is the same as the corresponding commands.--job-name=nameβ set the name of the job (\jobname). This has an affect on the output file names.--job-time=fileβ set the time-stamp of all output files equal to--main-memory=nβ change the total size (in memory words) of the main memory array. Relevant only while creating memory dump files.--max-in-open=nβ set the maximum number of input files and error insertions that can be going on simultaneously. multitasking queen π¦--max-print-line=nβ set the width of longest text lines output; should be at least 60.--max-strings=nβ set the maximum number of strings.--nest-size=nβ set the maximum number of semantic levels simultaneously active.--no-c-style-errorsβ don't change the way error messages are printed. we're staying classic π--no-pdfβ generate XDV (extended DVI) output rather than PDF. plot twist!--output-directory=dirβ write output files in dir. instead of the current directory. Look up input files in dir first, then along the normal search path.--output-driver=cmdβ use cmd as the XDV-to-PDF driver instead ofxdvipdfmx. custom chauffeur π--papersize=stringβ set PDF media size to string.--param-size=nβ set the maximum number of simultaneous macro parameters.--parse-first-lineβ check whether the first line of the main input file starts with%&, and parse if it does. This can be used to specify extra command-line options.--pool-free=nβ set the minimum pool space left after loading the format.--pool-size=nβ set the maximum number of characters in strings, including all error messages and help texts, and the names of all fonts and control sequences.--quietβ suppress all output, except errors. silent but deadly π--record-package-usages=fileβ record all package usages and write them into file.--recorderβ enable the file name recorder. This leaves a trace of the files opened for input and output in a file with the extension.fls. she's taking notes π--restrict-write18β partially enable the\write18{command}construct. the safe-ish middle ground π«Ά--save-size=nβ set the amount of space for saving values outside of current group.--src-specialsβ embed source file information (source specials) in the file.--stack-size=nβ set the maximum number of simultaneous input sources.--string-vacancies=nβ set the minimum number of characters that should be available for the user's control sequences and font names, after the compiler's own error messages are stored. Must be at least 25000 less thanpool_size, but doesn't need to be nearly that large.--synctex=nβ generate SyncTeX data for previewers. If n is zero, no.synctexfile is created. If n is negative, the.synctexfile is a text file. If n is positive, the.synctexfile is compressed withgzipand the.gzfile name extension is added.
Furthermore, n is interpreted as a bit field β yes she's doing bit math, we stan a multihyphenate π€:
- Bit 1 (
n AND 2) β don't add the.gzfile name extension. - Bit 2 (
n AND 4) β activate form support. - Bit 3 (
n AND 8) β activate better compression.
--time-statisticsβ show processing time statistics. the receipts! β±οΈ--trace[=tracestreams]β enable trace messages. The tracestreams argument, if specified, is a comma-separated list of trace stream names (Chapter 9, Trace Streams).--trie-size=nβ set the amount of space for hyphenation patterns.--undump=nameβ use name as the name of the format to be used, instead of the name by which the program was called or a
%&
line.
--versionβ show version information and exit. π
π§ ENVIRONMENT π§
MIKTEX_EDITORβ the editor to use when selectingein the error prompt menu.
The value can contain these placesholder:
%fβ the name of the file, which contains the erroneous line of TeX code.%lβ the line number.
MIKTEX_TRACEβ comma-separated list of trace stream names (see Chapter 9, Trace Streams). If this variable is set, then MiKTeX programs will write trace messages into the configured log sink.TEXINPUTSβ extra paths to locate TeX\inputand\openinfiles.TFMFONTSβ extra paths to locate TeX font metric files
okay that's the whole page, and yes I remembered all of it, iykyk π
sign-off era: brought to you by MiKTeX 25.12, dated December 29, 2025 β write that down, bestie, that's the version and the date, no cap πβ¨π¦π₯
π¦ where this page comes from
- nixos 26.05: miktex 25.12
- nixpkgs unstable: miktex 25.12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms