WEAVE(1)
β¨ WEAVE(1) β¨
okay bestie, so like β weave is the glow-up queen that takes your WEB source and turns it into a TeX file. translating WEB to TeX, that's the whole job. π
NAME
weave β translate WEB to TeX π¦
SYNOPSIS
weave [-p] [-x] webfile[.web] [{changefile[.ch]|-} [outfile[.tex]]]
DESCRIPTION
ngl, this manual page is not meant to be exhaustive. the full complete documentation for this version of TeX lives in the info file or in the manual Web2C: A TeX implementation. so like, go read those if you want the whole lore π
The weave program is used to create a TeX file for viewing a Web program. It takes appropriate care of typographic details like page layout and the use of indentation, italics, boldface, etc., and it supplies extensive cross-index information that it gathers automatically β it's giving main character energy, honestly, it does all that by itself. π€β¨
The command line arguments are the same as for tangle, except for the options:
-pβ says to use alternative macros more suited for PDF output. π-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.) π«Ά
The output TeX file name is formed by adding .tex to the root of the Web file name, or it comes from the third argument. In this case you can specify - as an empty change file. π (yes, a literal dash, as the empty change file β iconic)
macros you probs wanna redefine bestie
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. And, to cause output of only changed modules, one can say \let\maybe=\iffalse (usually as the first change in the change file). πΈ
ENVIRONMENT
The environment variable WEBINPUTS is used to search for the input files, or the system default if WEBINPUTS is not set. See tex(1) for the details of the searching. π
FILES
$TEXMFMAIN/tex/plain/knuth-lib/webmac.texβ TeX macros used byweaveoutput. β¨$TEXMFMAIN/tex/plain/pwebmac/pwebmac.texβ alternative TeX macros used for PDF output. π
SEE ALSO
tangle(1)for references, authors, and other information. π«Ά
fr fr, that's the whole page β no cap. go weave something beautiful. π
and that's the vibe check, bestie β this page came from Web2C, dated 20 March 2024. periodt. ππ
π¦ where this page comes from
- alpine 3.24: texlive-doc 2026.0-r0 Β· GPL-2.0-or-later AND GPL-3.0-or-later
- fedora 44: texlive-web 12:svn77830-105.fc44 Β· Knuth-CTAN
- fedora 44: texlive-web 12:svn77830-111.fc44 Β· Knuth-CTAN
- opensuse-leap 16.0: texlive-web 2025.221.4.5svn73848-160000.3.1 Β· SUSE-TeX
- ubuntu resolute: texlive-binaries 2025.20250727.75242+ds-5build1 Β· TeX-Live
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms