{
    "mode": "info",
    "parameter": "weave",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/weave/json",
    "generated": "2026-06-02T17:49:58Z",
    "sections": {
        "File: web2c.info,  Node: weave invocation,  Next: pooltype invocation,  Prev: tangle invocation,  Up: WEB": {
            "content": "9.2 Weave: Translate WEB to TeX\n===============================\n\nWeave creates a TeX document from a WEB source file (*note WEB::),\nassuming various macros defined in 'webmac.tex'.  It takes care of\ntypographic details such as page layout, indentation, and italicizing\nidentifiers.  It also automatically gathers and outputs extensive\ncross-reference information.  Synopsis:\n\nweave [OPTION]... WEBFILE[.web] [CHANGEFILE[.ch]]\n",
            "subsections": []
        },
        "The output is to the basename of WEBFILE extended with '.tex'; for": {
            "content": "example, 'weave /wherever/foo.web' creates './foo.tex'.  Weave applies\nCHANGEFILE to WEBFILE before writing the output; by default, there is no\nchange file.\n\nThe program accepts the following option, as well as the standard\n'-verbose', '-help' and '-version' (*note Common options::):\n'-x'\nOmit the cross-reference information: the index, the list of WEB\nmodule names, and the table of contents (an empty 'CONTENTS.tex'\nfile will still be written when the Weave output file is processed\nby TeX using the default 'webmac.tex', though).\n\nConventionally, WEB programmers should define the TeX '\\title' macro\nat the beginning of the source file.  Also, to get output of only\nchanged modules, one can say '\\let\\maybe=\\iffalse' (usually as the first\nchange in the change file).\n",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}