MIKTEX-PDFTEX(1)
β¨ miktex-pdftex β¨
okay so real talk: this is the MIKTEX-PDFTEX(1) page, straight out of the User Commands section β the manual for miktex-pdftex, the MiKTeX build of pdfTeX. it's a lot of options, but like, so is your skincare routine, and you handle that fine. let's go π
πΈ NAME πΈ
miktex-pdftex β DVI/PDF output from TeX. that's it, that's the whole job, and it ate π
π¦ SYNOPSIS π¦
miktex-pdftex [option...] [[file] | [\command...]]
π DESCRIPTION π
ngl, this man page is an adaption of the corresponding TeX Live man page. so credit where credit is due π«Ά
so you run the pdfTeX typesetter on file, and it usually creates file.pdf. if the file argument has no extension, .tex gets appended to it β the tool just assumes, lowkey helpful. π
instead of a file name, you can hand it a set of pdfTeX commands, and the first of those must start with a backslash \. no exceptions, that's the rule.
with a &format argument, pdfTeX uses a different set of precompiled commands, contained in format.fmt β but honestly it's usually better to use the --undump=format option instead. iykyk.
pdfTeX is a version of TeX, with the eTeX extensions, that can create PDF files as well as DVI files. two icons, one engine. β
in DVI mode, pdfTeX can be used as a complete replacement for the TeX engine. periodt.
the typical use of pdfTeX is with pregenerated formats for which PDF output has been enabled. the miktex-pdftex command uses the equivalent of the plain TeX format, and the miktex-pdflatex command uses the equivalent of the LaTeX format. want to generate formats yourself? use the --initialize switch. π₯
in PDF mode, pdfTeX can natively handle the PDF, JPG, JBIG2 and PNG graphics formats. it cannot include PostScript or Encapsulated PostScript (EPS) graphics files β first convert them to PDF using miktex-epstopdf(1), no cap. pdfTeX's handling of its command-line arguments is similar to that of the other TeX programs in the MiKTeX implementation.
π OPTIONS π
so many options. all iconic, none skippable. π
--alias=nameβ pretend to be program name, i.e. set the 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.--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.--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. π--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.--disable-8bit-charsβ make only 7-bit characters printable.--disable-installerβ disable automatic installation of packages. specifying this option overrules settings in the MiKTeX configuration data store.--disable-write18β disable the\write18{command}construct.--dont-parse-first-lineβ disable checking whether the first line of the main input file starts with%&.--draftmodeβ sets\pdfdraftmodeso it doesn't write a PDF and doesn't read any included images, thus speeding up execution. speedrun vibes πββοΈ--enable-8bit-charsβ make all characters printable.--enable-enctexβ enable encTeX extensions such as\mubyte.--enable-etexβ enable eTeX extensions.--enable-installerβ enable automatic installation of packages. specifying this option overrules settings in the MiKTeX configuration data store.--enable-mltexβ enable MLTeX extensions such as\charsubdef.--enable-write18β fully enable the\write18{command}construct. it's 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.--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. dramatic, but valid π--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.--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.--include-directory=dirβ add the directory dir to the head of the list of directories to be searched for input files.--initializeβ become the INI variant of the program.--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.--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.--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-format=formatβ set the output format mode, where format must be eitherdviorpdf. this also influences the set of graphics formats understood by pdfTeX.--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. π€«--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.--restrict-write18β partially enable the\write18{command}construct.--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 with gzip and the.gzfile name extension is added. furthermore, n is interpreted as a bit field:- 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.
- Bit 1 (
--tcx=tcxnameβ use the tcxname translation table to set the mapping of input characters and re-mapping of output characters.--time-statisticsβ show processing time statistics. β±οΈ--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.
π§ FILES π§
π 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.TEXINPUTSβ extra paths to locate TeX\inputand\openinfiles. (yep, it's listed twice in the original. we don't make the rules, we just report them π)TFMFONTSβ extra paths to locate TeX font metric files
β SEE ALSO β
miktex-epstopdf(1)
the full pdfTeX manual can be accessed from the home page or CTAN page. go read it bestie, it's giving main character energy π
so that's the whole page π it's MiKTeX 25.12, dated December 29, 2025 β the MIKTEX-PDFTEX(1) manual, rewritten with love, zero facts dropped, all vibes intact. now go compile something gorgeous π¦β¨
π¦ 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