.TH TEX 1 "Apr 9, 1997" "Web2C 7.0" \" -*- nroff -*- .SH NAME tex \- TeX, a language for text formatting and typesetting .SH SYNOPSIS .B tex [OPTION]\|.\|.\|. [TEXNAME[.tex]] [COMMANDS] .br .B tex [OPTION]\|.\|.\|. \\FIRST-LINE .br .B tex [OPTION]\|.\|.\|. &FMT ARGS .br .SH WARNING This manual page is no longer being maintained and may be inaccurate or incomplete. It was generated automatically from the output of .RB "`\|" "tex \-\-help" "\|'" and .RB "`\|" "tex \-\-version" "\|'." .PP For complete and current documentation, refer to the Info file .RB "`\|" web2c "\|'" or the manual .IR "Web2C: A TeX implementation" . Both are made from the Texinfo source file .RB "`\|" web2c.texi "\|'," which is now the authoritative documentation source. .PP .SH DESCRIPTION Run TeX on TEXNAME, usually creating TEXNAME.dvi. Any remaining COMMANDS are processed as TeX input, after TEXNAME is read. If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file, use it; %&ini means initex. Else use `NAME.fmt', where NAME is the program invocation name, most commonly `tex'. .PP Alternatively, if the first non-option argument begins with a backslash, interpret all non-option arguments as a line of TeX input. .PP Alternatively, if the first non-option argument begins with a &, the next word is taken as the FMT to read, overriding all else. Any remaining arguments are processed as above. .PP If no arguments or options are specified, prompt for input. .PP .SH OPTIONS Try .RB "`\|" "tex \-\-help" "\|'" for a summary of available options. .PP .TP .B \-extend-jobname=WHEN remove suffix from \\jobname (WHEN=always/never) .TP .B \-fmt=FMTNAME use FMTNAME instead of program name or a %& line .TP .B \-ini be initex, for dumping formats; this is implicitly true if the program name is `initex' .TP .B \-kpathsea-debug=NUMBER set path searching debugging flags according to the bits of NUMBER .TP .B [-no]-maketex=FMT disable/enable MakeTeXFMT generation (FMT=tex/tfm) .TP .B \-mltex enable MLTeX extensions such as \\charsubdef .TP .B \-output-comment=STRING use STRING for DVI file comment instead of date .TP .B \-progname=STRING set program (and fmt) name to STRING .TP .B \-shell-escape enable \\write18{SHELL COMMAND} .TP .B \-help display this help and exit .TP .B \-version output version information and exit .PP .SH "SEE ALSO" .RB "`\|" kpathsea "\|', " .RB "`\|" web2c "\|', " .RB "`\|" dvips "\|', " .RB "`\|" fontname "\|'" and .RB "`\|" tds "\|', " entries in .BR info(1) . .PP .I "Kpathsea: A library for path searching" .RB ( kpathsea.texi ), .br .I "Web2c: A TeX implementation" .RB ( web2c.texi ), .br .I "Dvips: A DVI driver" .RB ( dvips.texi ), .br .I "Filenames for TeX fonts" .RB ( fontname.texi ), .br .I "A Directory Structure for TeX files" .RB ( tds.texi ). .PP URL: .B http://www.tug.org/web2c/ .PP .SH BUGS Email bug reports to .BR tex-k@mail.tug.org . .PP .SH AUTHORS Try .RB "`\|" "tex \-\-version" "\|'" for author and version information. .PP Primary author of TeX: D.E. Knuth; Web2c maintainer: K. Berry. .PP .SH COPYING Copyright (C) 1997 D.E. Knuth. .PP There is NO warranty. You may redistribute this software under the terms of the GNU General Public License and the TeX copyright. .PP For more information about these matters, see the files named COPYING and the TeX source. .PP