1WEAVE(1) General Commands Manual WEAVE(1)
2
3
4
6 twill - translate WEB to TeX
7
9 twill [-x] webfile[.web] [{changefile[.ch]|-} [outfile[.tex]]]
10
12 The twill program is used to create a TeX file for viewing a Web pro‐
13 gram. It takes appropriate care of typographic details like page lay‐
14 out and the use of indentation, italics, boldface, etc., and it sup‐
15 plies extensive cross-index information in the form of 'mini-indexes'
16 for each spread of pages and a 'master index' at the end that it gath‐
17 ers automatically.
18
19 The command line arguments are the same as for tangle except for the
20 option: -x says to omit the indexes, module name list, and table of
21 contents pages. (A CONTENTS.tex file will still be written when the
22 TeX file is processed, however, unless some macros in twimac-web.tex
23 are redefined.)
24
25 The output TeX file name is formed by adding .tex to the root of the
26 Web file name.
27
28 There are several macros that probably should be redefined by the pro‐
29 grammer at the beginning of the Web file. It is a good idea to set
30 \title to the name of the program. And, to cause output of only
31 changed modules, one can say \let\maybe=\iffalse (usually as the first
32 change in the change file).
33
35 The environment variable WEBINPUTS is used to search for the input
36 files, or the system default if WEBINPUTS is not set. See tex(1) for
37 the details of the searching.
38
40 $TEXMFMAIN/tex/plain/knuth-lib/twimac-web.tex
41 TeX macros used by twill output.
42
44 tangle(1) for references, authors, and other information.
45
46
47
48Web2C 2023 02 April 2022 WEAVE(1)