| 1 |
Usage: pdftex [OPTION]... [TEXNAME[.tex]] [COMMANDS] |
| 2 |
or: pdftex [OPTION]... \FIRST-LINE |
| 3 |
or: pdftex [OPTION]... &FMT ARGS |
| 4 |
Run pdfTeX on TEXNAME, usually creating TEXNAME.pdf. |
| 5 |
Any remaining COMMANDS are processed as pdfTeX input, after TEXNAME is read. |
| 6 |
If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file, |
| 7 |
use it. Else use `NAME.fmt', where NAME is the program invocation name, |
| 8 |
most commonly `pdftex'. |
| 9 |
|
| 10 |
Alternatively, if the first non-option argument begins with a backslash, |
| 11 |
interpret all non-option arguments as a line of pdfTeX input. |
| 12 |
|
| 13 |
Alternatively, if the first non-option argument begins with a &, the |
| 14 |
next word is taken as the FMT to read, overriding all else. Any |
| 15 |
remaining arguments are processed as above. |
| 16 |
|
| 17 |
If no arguments or options are specified, prompt for input. |
| 18 |
|
| 19 |
-cnf-line=STRING parse STRING as a configuration file line |
| 20 |
-draftmode switch on draft mode (generates no output PDF) |
| 21 |
-enc enable encTeX extensions such as \mubyte |
| 22 |
-etex enable e-TeX extensions |
| 23 |
[-no]-file-line-error disable/enable file:line:error style messages |
| 24 |
-fmt=FMTNAME use FMTNAME instead of program name or a %& line |
| 25 |
-halt-on-error stop processing at the first error |
| 26 |
-ini be pdfinitex, for dumping formats; this is implicitly |
| 27 |
true if the program name is `pdfinitex' |
| 28 |
-interaction=STRING set interaction mode (STRING=batchmode/nonstopmode/ |
| 29 |
scrollmode/errorstopmode) |
| 30 |
-ipc send DVI output to a socket as well as the usual |
| 31 |
output file |
| 32 |
-ipc-start as -ipc, and also start the server at the other end |
| 33 |
-jobname=STRING set the job name to STRING |
| 34 |
-kpathsea-debug=NUMBER set path searching debugging flags according to |
| 35 |
the bits of NUMBER |
| 36 |
[-no]-mktex=FMT disable/enable mktexFMT generation (FMT=tex/tfm/pk) |
| 37 |
-mltex enable MLTeX extensions such as \charsubdef |
| 38 |
-output-comment=STRING use STRING for DVI file comment instead of date |
| 39 |
(no effect for PDF) |
| 40 |
-output-directory=DIR use existing DIR as the directory to write files in |
| 41 |
-output-format=FORMAT use FORMAT for job output; FORMAT is `dvi' or `pdf' |
| 42 |
[-no]-parse-first-line disable/enable parsing of first line of input file |
| 43 |
-progname=STRING set program (and fmt) name to STRING |
| 44 |
-recorder enable filename recorder |
| 45 |
[-no]-shell-escape disable/enable \write18{SHELL COMMAND} |
| 46 |
-shell-restricted enable restricted \write18 |
| 47 |
-src-specials insert source specials into the DVI file |
| 48 |
-src-specials=WHERE insert source specials in certain places of |
| 49 |
the DVI file. WHERE is a comma-separated value |
| 50 |
list: cr display hbox math par parend vbox |
| 51 |
-synctex=NUMBER generate SyncTeX data for previewers according to |
| 52 |
bits of NUMBER (`man synctex' for details) |
| 53 |
-translate-file=TCXNAME use the TCX file TCXNAME |
| 54 |
-8bit make all characters printable by default |
| 55 |
-help display this help and exit |
| 56 |
-version output version information and exit |
| 57 |
|
| 58 |
pdfTeX home page: <https://pdftex.org> |
| 59 |
|
| 60 |
Email bug reports to [email protected] (https://lists.tug.org/pdftex). |
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
pdfTeX 3.141592653-2.6-1.40.29 (TeX Live 2026) |
| 65 |
kpathsea version 6.4.2 |
| 66 |
Copyright 2026 Han The Thanh (pdfTeX) et al. |
| 67 |
There is NO warranty. Redistribution of this software is |
| 68 |
covered by the terms of both the pdfTeX copyright and |
| 69 |
the Lesser GNU General Public License. |
| 70 |
For more information about these matters, see the file |
| 71 |
named COPYING and the pdfTeX source. |
| 72 |
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al. |
| 73 |
Compiled with libpng 1.6.54; using libpng 1.6.54 |
| 74 |
Compiled with zlib 1.3.1; using zlib 1.3.1 |
| 75 |
Compiled with xpdf version 4.04 |