{
    "mode": "man",
    "parameter": "weave",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/weave/1/json",
    "generated": "2026-06-16T05:03:17Z",
    "synopsis": "weave [-x] webfile[.web] [changefile[.ch]]",
    "sections": {
        "NAME": {
            "content": "weave - translate WEB to TeX\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "weave [-x] webfile[.web] [changefile[.ch]]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "This  manual page is not meant to be exhaustive.  The complete documentation for this version\nof TeX can be found in the info file or manual Web2C: A TeX implementation.\n\nThe weave program is used to create a TeX file for viewing a Web program.  It takes appropri‐\nate  care  of typographic details like page layout and the use of indentation, italics, bold‐\nface, etc., and it supplies extensive cross-index information that it gathers  automatically.\nThe  command line arguments are the same as for tangle except for the option: -x says to omit\nthe index, module name list, and table of contents pages.  (A CONTENTS.tex file will still be\nwritten  when  the TeX file is processed, however, unless some macros in webmac.tex are rede‐\nfined.)\n\nThe output TeX file name is formed by adding .tex to the root of the Web file name.\n\nThere are several macros that probably should be redefined by the programmer at the beginning\nof  the Web file.  It is a good idea to set \\title to the name of the program.  And, to cause\noutput of only changed modules, one can say \\let\\maybe=\\iffalse (usually as the first  change\nin the change file).\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "The  environment  variable WEBINPUTS is used to search for the input files, or the system de‐\nfault if WEBINPUTS is not set.  See tex(1) for the details of the searching.\n",
            "subsections": []
        },
        "FILES": {
            "content": "$TEXMFMAIN/tex/plain/base/webmac.tex\nTeX macros used by weave output.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "tangle(1) for references, authors, and other information.\n\n\n\nWeb2C 2022/dev                              16 June 2015                                    WEAVE(1)",
            "subsections": []
        }
    },
    "summary": "weave - translate WEB to TeX",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "tangle",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/tangle/1/json"
        }
    ]
}