WEAVE(1)
π WEAVE(1) β the weave girlie's guide π
okay so bestie, welcome to weave, the manual page, manual name and all β she's the icon who translates a literate programming WEB into TeX β¨
πΈ NAME πΈ
weave β translate a literate programming WEB to TeX π§
π SYNOPSIS π
weave [-p] [-x] webfile[.web] [{changefile[.ch]|-} [outfile[.tex]]]
β¨ DESCRIPTION β¨
So like, the weave program creates a TeX file for viewing a literate program written in WEB. That's the whole assignment and she ate π
She takes appropriate care of typographic details like page layout and the use of indentation, italics, boldface, etc., and she supplies extensive cross-index information that she gathers automatically. no cap, she just does all that π«Ά
The output TeX file name is formed by adding .tex to the root of the WEB file name, or from the third argument. In this case you can specify - as an empty change file. These non-option command line arguments are handled in the same way as tangle(1). periodt.
There are several macros that probably should be redefined by the programmer at the beginning of the WEB file. It is a good idea to set \title to the name of the program. To output only those modules which are changed, one can say \let\maybe=\iffalse, usually as the first change in the change file. lowkey genius π
π OPTIONS π
See tex(1) for details of command-line parsing. (yes bestie, the parsing lore lives over there π«‘)
-pβ says to\input pwebmac.tex, a variant on the defaultwebmac.texwhich is more suited for PDF output. very PDF-pilled of her π¦-xβ says to omit the index, module name list, and table of contents pages. (ACONTENTS.texfile will still be written when the TeX file is processed, however, unless some macros inwebmac.texare redefined.) so like, the pages dip but the file stays π
The standard -help and -version options are also supported. we love a supportive queen π
πΌ ENVIRONMENT πΌ
The programs look for the input files using the environment variable WEBINPUTS. If it is not set, it uses the system default. See the Kpathsea manual at https://tug.org/kpathsea for the details of the searching. iykyk π
π BUGS π
The table of contents appears at the end of the output.
not me putting the table of contents at the END π it's giving "chaotic but we respect it"
π FILES π
$TEXMFMAIN/tex/plain/knuth-lib/webmac.texβ TeX macros used byweaveoutput. the default bestie π$TEXMFMAIN/tex/plain/pwebmac/pwebmac.texβ Alternative TeX macros used for PDF output. the PDF-era glow-up β¨CONTENTS.texβ Temporary file created byweavefor the table of contents. she's temporary but she's main character energy π
π¦ SEE ALSO π¦
tangle(1)for references, authors, and other information. go read her sister's page fr fr π«Ά- Public discussion list and bug reports:
https://lists.tug.org/tex-kβ come chat with the girlies π₯
okay that's the whole page, you're so welcome π slay responsibly πβ
this cutie was brought to you by Web2C, dated 2 February 2026 β mwah, drink some water, and go weave something iconic ππ
π¦ where this page comes from
- alpine 3.24: texmf-dist-binextra-doc 2026.0-r0 Β· LPPL-1.0 AND LPPL-1.1 AND LPPL-1.2 AND LPPL-1.3a AND LPPL-1.3c AND GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms