
.paragraph;This is a quick (and very dirty) procedure to generate everything
possible from a WEB source file.
.b

.literal
	$ WEB  name
.end literal

.paragraph;The input to this procedure is the file "name.WEB".

.hl Tools
.x	Tools>in WEB.COM

.paragraph;Lots of TeX related software tools are used.

.list '*'

.le;DVIALW

.le;DVILN03

.le;LINK

.le;LST

.le;PASCAL

.le;PASPRETTY

.le;TANGLE

.le;TEX

.le;WEAVE

.end list

.hl Files
.x	Files>in WEB.COM

.paragraph;The following input files are used.

.list '*'

.le;name.WEB	WEB source file.

.le;WEBMAC.TEX	from TEX_INPUTS directory.

.end list

.paragraph;Lots of TeX related output files are created.

.list '*'

.le;CONTENTS.TEX	WEAVE output file, for table of contents.

.le;name.DVI	TEX output, device independent file.

.le;name.DVI-ALW	DVIALW output file, Postcript.

.le;name.EXE	Tool executable.

.le;name.LIS	TEX listing file.

.le;name.LN3	DVILN03 output file, for printing on LN03 printer.

.le;name.LST	LST tool output file.

.le;name.OBJ	Object file created by PASCAL compiler.

.le;name.PAS	TANGLE output Pascal source file.

.le;name.PASPRETTY	PASPRETTY tool output file.

.le;name.TEX	WEAVE output file, and input to TEX.

.end list

.hl Examples
.x	Examples>in WEB.COM

.paragraph;The following builds everything possible from the PRIMES.WEB
sample program that is distributed with most TeX distributions
(in the [TEX.DOC] directory).  The PRIMES.WEB file must (of course)
be in the current default directory
.b

.literal
	$ WEB PRIMES
.end literal

.paragraph;The following is what happens if the WEB file that you specify does
not exist.
.b

.literal
	$ WEB XXX
	%WEB-F-FNF, file XXX.WEB not found
.end literal

.paragraph;The following is what happens if you neglect to specify the name
of a WEB file.
.b

.literal
	$ WEB
	%WEB-F-NOWEB, no WEB source file name was specified
.end literal

.hl Author
.x	Author>in WEB.COM

.literal
	Donald E. Amby
	Delco Systems Operations, Milwaukee, Wisconsin
.end literal

.hl Processing
.x	Processing>in WEB.COM

.list
.dle ll

.le;Define all of the local symbols, that will essentially be used as
constants, variables, and DCL commands within this procedure.

.le;Establish CONTROL/Y handler.

.le;Check to see if a WEB source name was entered.  If not go output
an error message and exit.

.le;Next check to see if the WEB file actually exists, if the user
gave the name.  If not, again just go output message and exit.

.le;See if there is a change file (name.CH).  If not, create an empty
one so that WEAVE and TANGLE can run without prompting user for
one.

.le;Now generate everything that is possible to build from the
input source file (name.WEB), using the tools listed.

.list

.le;weave

.le;tex

.le;dvialw

.le;dviln03

.le;tangle

.le;paspretty

.le;lst

.le;pascal

.le;link

.end list	.! end - list of tools invoked

.end list	.! end  - Processing
