tex — TeX
file] | [\
TeX formats the interspersed text and commands contained in the named files and outputs a typesetter independent file (called DVI, which is short for DeVice Independent). TeX's capabilities and language are described in The TeXbook. TeX is normally used with a large body of precompiled macros, and there are several specific formatting systems, such as LaTeX, which require the support of several macro files.
TeX looks at its command-line to see what name it was called
under. Both initex and virtex
are linked to the tex executable. When called as
initex (or when the
option is given) it can be used to precompile macros into a
.fmt file. When called as
virtex it will use the plain format. When called
under any other name, TeX will use that name as the name of the
format to use. For example, when called as tex the
tex format is used, which is identical to the plain format. The
commands defined by the plain format are documented in The
TeXbook. Other formats that are often available include
latex and amstex.
The commands given on the command-line to the TeX program are
passed to it as the first input line. (But it is often easier to type
extended arguments as the first input line, since shells tend to
gobble up or misinterpret TeX's favorite symbols, like backslashes,
unless you quote them.) As described in The
TeXbook, that first line should begin with a file name,
a \controlsequence, or a
The normal usage is to say
to start processing
paper.tex. The name
“paper” will be the “job name”, and is used
in forming output file names. If TeX doesn't get a file name in the
first line, the job name is
texput. When looking
for a file, TeX looks for the name with and without the default
.tex) appended, unless the name
already contains that extension. If paper is the
“job name”, a log of error messages, with rather more
detail than normally appears on the screen, will appear in
paper.log, and the output file will be in
TeX will look in the first line of the file
paper.tex to see if it begins with the magic
%&. If the first line begins with
%&format --translate-file tcxname, then
TeX will use the named format and transation table
tcxname to process the source file. Either
the format name or the
may be omitted, but not both.
e response to TeX's error prompt
causes the default editor to start up at the current line of the
current file. The configuration value
Editor can be used to change the editor
used. It may contain a string with
where the file name goes and
%l indicating where
the decimal line number (if any) goes.
A convenient file is
nothing. When TeX can't find a file it thinks you want to input, it
keeps asking you for another file name; responding
null gets you out of the loop if you don't want
to input anything. You can also type your EOF
character (usually Control-Z).
Pretend to be
set program (and memory dump) name to
This may affect the search paths and other values used. Using this
option is equivalent to copying the executable file to
Set the the maximum number of characters simultaneously present in current lines of open files and in control sequences between \csname and \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.
Disable automatic installation of missing packages. Specifying this option overwrites the global configuration setting in MiKTeX Options (see the section called “Automatic Package Installation”).
Enable encTeX extensions such as \mubyte.
Enable automatic installation of missing packages. Specifying this option overwrites the global configuration setting in MiKTeX Options (see the section called “Automatic Package Installation”).
Enable MLTeX extensions such as \charsubdef.
Fully enable the
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
\output time or right away, according to the
absence or presence of the \immediate
Give help and exit.
Suppress all output, except errors.
Partially enable the
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 than
but doesn't need to be nearly that large.
Process the TCX table
Enable trace messages.
tracestreams argument, if speciefied, is a
comma-separated list of trace
stream names (Chapter 9, Trace Streams).
Show version information and exit.
See texify(1), for an alternative way to invoke TeX.