|FWEB(1)||General Commands Manual||FWEB(1)|
ftangle,fweave - WEB processors for C, C++, Fortran, Ratfor, and TeX
| [[-option] ...] src_file[.web] [change_file[.ch]]
(This man page is obsolete and is no longer maintained; please see `info fweb' for up-to-date and detailed tree-structured information.)
FWEB is an extension of Knuth's WEB system to handle the languages C, C++, Fortran (both Fortran-77 and Fortran-90), Ratfor, and TeX. The philosophy of WEB and all details about using FWEB may be found in the user manual fweb.tex, available on-line as the texinfo (GNU hypertext system) entry `info FWEB'. See also
An initialization file named .fweb (Unix sytems) or fweb.ini (personal computers) may be placed in your home directory. (For Unix systems, that is the value of $HOME. The name can be overridden by the environment variable FWEB_INI.) In this file can be placed any option that is allowed on the command line (one option per line). If the option begins with a hyphen, it is processed before the command line; if it begins with an ampersand, it is processed after the command line (rarely necessary); if it begins with neither, it is interpreted as a file name and processed after the command line.
A style file patterned after the utility makeindex and named fweb.sty may be placed in your current directory. (The directory can be overridden by the environment variable FWEB_STYLE_DIR.) This file is used to customize the appearance of the index and many other parameters controlling the operation of the processors. See the documentation for detailed discussion.
The following list just provides a very brief summary of the command-line options. Please refer to the texinfo entry for more details.
- The first file name identifies the FWEB source file. (If the name does not contain a period, the extension .web is added automatically.) If a second file name is present, it identifies the change file. (If that name does not contain a period, the extension .ch is added automatically.) For an alternative approach to processing extensions, see the -e option.
- Turn on brief debugging mode for FWEAVE.
- Turn on verbose debugging mode for FWEAVE.
- Display information about control codes.
- Turn on ASCII translations.
- Turn off audible beeps.
- Number do and if blocks in woven Fortran and Ratfor output.
- Set the color mode to n, where n is 0 (no color), 1 (ANSI color), 2 (bilevel), 3 (trilevel), or 4 (user-defined).
- Set the global language to C.
- Set the global language to C++.
- Display information about reserved words of the current language (beginning with [letters] if present).
- Convert unnumbered do...enddo constructions to standard Fortran.
- Change the delimiter of a file-name extension to c.
- Turn on automatic file-name completion, using the style-file parameters ext.web, ext.ch, ext.hweb, and ext.hch.
- Compare output files with old versions.
- Turn off module references for functions, macro names, etc.
- Scan #include files for typedef and/or class declarations.
- A brief message about where to get help.
- Append a directory to the list of directories to be searched for include files.
- Read include files named by the @I command, but don't print contents.
- Don't even read include files named by the @I command.
- Inhibit multiple includes of the same file.
- Recognize lower-case versions of Fortran/Ratfor I/O keywords such as BLOCKSIZE.
- Select language l.
- Echo the input lines between mmm and nnn.
- Define an FWEB macro.
- Understand (for formatting purposes) the commands of the m4 preprocessor.
- Automatically append pseudo-semicolons to the end of WEB macro definitions. (Not recommended.)
- Set the global language to Fortran-77.
- Set the global language to Fortran-90.
- For Fortran-77, supply semicolons automatically (default).
- In Fortran, place statement labels on separate lines.
- Number the do's and if's in Fortran.
- Throw away all commet lines.
- Print semicolons in woven Fortran output.
- Use free-form syntax for Fortran-90; continue lines with backslashes.
- As above, but continue lines with ampersands.
- In Fortran, make '//' denote the start of a short comment instead of concatenation. (Use '' for concatenation.)
- In Fortran, make '!' denote the start of a short comment instead of the logical negation.
- In Fortran, reverse array indices.
- Turn off FWEAVE's mechanisms for overloading operators.
- Select the TeX processor, where letter is either 'T' for TeX or 'L' for LaTeX. The default is LaTeX. Note well that Plain TeX is no longer supported!
- Buffer up a style-file entry, to be processed just before the local style file is read.
- Set the global language to Ratfor-77.
- Set the global language to Ratfor-90.
- Number the do's and if's in Ratfor.
- Suppress comments about particular Ratfor statement expansions.
- Include comments about particular Ratfor statement expansions.
- For Ratfor, turn on the auto-semi mode and assume the ``obviously continued'' syntax. (Not recommended.)
- In Ratfor, make '//' denote the start of a short comment instead of concatenation. (Use '' for concatenation.)
- In Ratfor, make '!' denote the start of a short comment instead of the logical negation.
- In Ratfor, reverse array indices.
- Print statistics about memory usage.
- As above, but also display the dynamic memory allocations as they occur.
- Miscellaneous flag-setting commands for ftangle; see texinfo entry.
- Truncate identifiers of language l to be of length n, after optionally filtering out the characters listed between the braces.
- Convert reserved output tokens to lower case.
- Undefine a predefined or command-line macro.
- Make all comments verbatim.
- Set module warning flag [0 for no warnings, or the logical OR of 1 (never used) and/or 2 (multiple uses)].
- Completely cross-reference single-character identifiers.
- Turn on special processing of bracketed array indices.
- Turn on processing of bracketed array indices.
- Don't print @d or @D statements in woven output.
- Don't print @f statements in woven output.
- Don't print @F statements in woven output.
- Don't print @l statements in woven output.
- Don't print @m or @M statements in woven output.
- Don't print @v statements in woven output.
- Don't print @w or @W statements in woven output.
- Print `input file_name' instead of `input fwebmac.sty' at beginning of tex output file. With no argument, print nothing.
- Print selected cross-reference information; the opposite of '-x'.
- Reduce or eliminate cross-reference information. The optional letters can be one of 'c', 'i', 'm', or '*', referring respectively to the table of contents, index, module list, or all cross-reference information.
- Override default for dynamic memory allocation. If nnnn is omitted, then simply query the default. The command '-y' with no argument queries everything.
- Display default values of style-file parameters (starting with letters if present).
- Override default style-file name.
- Don't recognize dot constants in Fortran and Ratfor.
- Explicitly escape continued strings.
- Continue parenthesized strings with backslashes.
- Set the starting automatic statement number for rtran and
- Redirect output.
- Same as above (and easier to type).
- Turn off comments about line numbers and modules in woven output.
- Don't interpret the compound assignment operators in Fortran and Ratfor.
- In Fortran and Ratfor, make '//' denote the start of a short comment instead of concatenation. (Use '' for concatenation.)
- In Fortran and Ratfor, make '!' denote the start of a short comment instead of logical negation.
Further documentation can be obtained from texinfo, available online through the info browser, either via emacs or stand-alone (menu item fweb), by saying `ftangle -h' or in printed form by saying (from the top-level FWEB installation directory, if it is available) `lpr Manual/fweb.ps' or `texi2dvi Manual/fweb.texinfo'.
- - Optional initialization file (supplied by user).
- - Optional style file for configuring the style of an individual document (supplied by user).
Please send bug reports and suggestions to firstname.lastname@example.org. FWEB is a spare-time activity, so response may be slow and messages may not be acknowledged individually. However, your input is very useful and much appreciated.
FWEB was written by John A. Krommes, Princeton University. It is a substantial revision and update (more than 50% new) of version 0.5 of Silvio Levy's CWEB, which in turn was based on Donald Knuth's original Pascal WEB. The latter was designed for documenting and maintaining TeX.
|September 23, 1998||4th Berkeley Distribution|