1WEAVE(1)                    General Commands Manual                   WEAVE(1)
2
3
4

NAME

6       weave - translate WEB to TeX
7

SYNOPSIS

9       weave [-x] webfile[.web] [ { changefile[.ch] |-} [ outfile[.tex] ] ]
10

DESCRIPTION

12       This  manual page is not meant to be exhaustive.  The complete documen‐
13       tation for this version of TeX can be found in the info file or  manual
14       Web2C: A TeX implementation.
15
16       The  weave  program is used to create a TeX file for viewing a Web pro‐
17       gram.  It takes appropriate care of typographic details like page  lay‐
18       out  and  the  use of indentation, italics, boldface, etc., and it sup‐
19       plies extensive cross-index information that it gathers  automatically.
20       The  command  line  arguments are the same as for tangle except for the
21       option: -x says to omit the index, module name list, and table of  con‐
22       tents  pages.   (A CONTENTS.tex file will still be written when the TeX
23       file is processed, however, unless some macros in webmac.tex are  rede‐
24       fined.)
25
26       The  output  TeX  file name is formed by adding .tex to the root of the
27       Web file name or from the third argument.  In this case you can specify
28       '-' as an empty change file.
29
30       There  are several macros that probably should be redefined by the pro‐
31       grammer at the beginning of the Web file.  It is a  good  idea  to  set
32       \title  to  the  name  of  the  program.   And, to cause output of only
33       changed modules, one can say \let\maybe=\iffalse (usually as the  first
34       change in the change file).
35

ENVIRONMENT

37       The  environment  variable  WEBINPUTS  is  used to search for the input
38       files, or the system default if WEBINPUTS is not set.  See  tex(1)  for
39       the details of the searching.
40

FILES

42       $TEXMFMAIN/tex/plain/knuth-lib/webmac.tex
43           TeX macros used by weave output.
44

SEE ALSO

46       tangle(1) for references, authors, and other information.
47
48
49
50Web2C 2022                       02 March 2022                        WEAVE(1)
Impressum