Next: , Previous: Input files, Up: Files


3.2 Output files

Fweave writes a variety of output files.

name.tex — Woven output to be processed with LaTeX.

CONTENTS.tex — Temporary file that accumulates Table-of-Contents information. (For LaTeX, the aux file is used instead.) INDEX.tex — Temporary file that stores indexing information. MODULES.tex — Temporary files that stores module list.

The names of the three temporary files can be changed with style-file parameters (see Style). Commonly, one may put into the style file fweb.sty commands such as

     index.tex "#.ndx"
     modules.tex "#.mds"
     contents.tex "#.cts"

The ‘#’ is replaced by the root name of the web file.

Ftangle writes files of the form

name.ext — Compilable output file.
The extensions for the compilable output file(s) have certain defaults, but can be changed by style-file parameters according to the following table:

Language Style-file entry unix default non-unix default
C suffix.C c c
C++ suffix.Cpp C C
Fortran–77 suffix.N f for
Fortran–90 suffix.N90 f90 for90
Ratfor–77 suffix.R r rat
Ratfor–90 suffix.R90 r90 rat90
TeX suffix.X sty sty
VERBATIM suffix.V mk mk

For example, to change the default extension for a C++ file from ‘C’ to ‘c++’, put into fweb.sty the line
     suffix.C = "c++"