Nuweb is invoked using the following command:
nuweb flags file-name...One or more files may be processed at a time. If a file name has no extension,
.w
will be appended. LaTeX suitable for
translation into HTML by LaTeX2HTML will be produced from
files whose name ends with .hw
, otherwise, ordinary LaTeX will be
produced. While a file name may specify a file in another directory,
the resulting documentation file will always be created in the current
directory. For example,
nuweb /foo/bar/quuxwill take as input the file
/foo/bar/quux.w
and will create the
file quux.tex
in the current directory.
By default, nuweb performs both tangling and weaving at the same time. Normally, this is not a bottleneck in the compilation process; however, it's possible to achieve slightly faster throughput by avoiding one or another of the default functions using command-line flags. There are currently three possible flags:
nuweb -to /foo/bar/quux
would simply scan the input and produce no output at all.
There are two additional command-line flags:
stderr
.