|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T t
Length: 3268 (0xcc4) Types: TextFile Names: »tangle.1«
└─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦c319c2751⟧ »unix3.0/TeX3.0.tar.Z« └─⟦036c765ac⟧ └─⟦this⟧ »TeX3.0/Man-pages/other-manuals/tangle.1« └─⟦this⟧ »TeX3.0/Man-pages/tangle.1« └─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89 └─⟦this⟧ »./tex82/Man-pages/tangle.1« └─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦63303ae94⟧ »unix3.14/TeX3.14.tar.Z« └─⟦c58930e5c⟧ └─⟦this⟧ »TeX3.14/Man-pages/other-manuals/tangle.1« └─⟦this⟧ »TeX3.14/Man-pages/tangle.1«
.TH TANGLE 1L 12/4/83 .SH NAME tangle, weave \- translate WEB to Pascal and/or TeX .SH SYNOPSIS .B tangle webfile[.web] [changefile[.ch]] .br .B weave [ .B \-x ] webfile[.web] [changefile[.ch]] .SH DESCRIPTION The .I tangle program converts a WEB source document into a Pascal program that may be compiled in the usual way with the on-line Pascal compiler (e.g., .IR pc (1)). The output file is all in lower case and packed into lines of 72 characters or less, with the only concession to readability being the terminatation of lines at semicolons when this can be done conveniently. .PP WEB is a new language that Don Knuth has created, that language allows one to prepare a single document that contains all the information that is needed both to produce a compilable Pascal program and to produce a well-formatted document describing the program in as much detail as the writer may desire. The user of WEB must be familiar with both TeX and Pascal. .PP WEB provides a relatively simple, although adequate, macro facility that permits a Pascal program to be written in small easily-understood modules. The .I tangle program assembles these modules into a usable Pascal program. The command line should have either one or two names on it. The first is taken as the WEB file (and .web is added if there is no extension). If there is another name, it is a change file (and .ch is added if there is no extension). The change file overides parts of the WEB file, as described in the documentation. .PP The output files are a Pascal file and a string pool file, whose names are formed by adding .p and .pool respectively to the root of the WEB file name. .PP The .I weave program is used to create a TeX file for viewing the 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. The command line arguments are the same as for .I tangle except for the options. The .B \-x option says to omit the index, module name list, and table of contents pages. (A CONTENTS.tex file will still be written, however, unless some default macros are redefined.) .PP The output TeX file name is formed by using .tex as the extension of the WEB file name. .PP There are several macros in webmac.tex that probably should be redefined by the user 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). .PP .SH FILES /usr/local/lib/tex/inputs/webmac.tex TeX macros used by weave output. .SH "SEE ALSO" .I The WEB System of Structured Documentation and .br .I Literate Programming by D.E. Knuth. .br tex(1), pc(1) .br pxp(1) (for formatting tangle output when debugging) .br .I TeX: The Program .br .I Metafont: The Program are by far the largest extant examples of WEB programs. .br .SH "AUTHORS" WEB was designed by Donald E. Knuth, based on an earlier system called DOC (implemented by Ignacio Zabbala). He implemented it using itself. It was ported to Unix at Stanford by Howard Trickey, and at Cornell by Pavel Curtis. This version combines their work.