File: fweb.sty

package info (click to toggle)
fweb 1.60beta-11
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 4,348 kB
  • ctags: 5,018
  • sloc: ansic: 38,347; makefile: 393; sh: 163
file content (66 lines) | stat: -rw-r--r-- 2,105 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
% --- SAMPLE STYLE FILE fweb.sty ---

% NOTE:  If you are not using this file to typeset the FWEB sources,
% comment out the next command!!!

% Include typesetting and page-layout macros for FWEB sources.
limbo.begin "\\input fweb" % Input fweb.tex automatically.
	
% Get LaTeX2e to include the optional file `twoside.sty'.
LaTeX.class.options "twoside"

% Activate several packages.  Multicol is used for the Index.
LaTeX.package "indentfirst,multicol"

% Here's how to get the entire document in two-column format.  (One must
% include `multicol' in `LaTeX.package'.)
% limbo.end "\\def\\beforeindex{\\end{multicols}\\newpage}\n\
%\\begin{multicols}{2}\n\
%\\raggedcolumns"

% Use the following for two-column format, or for generally tightening up
% the manuscript.
% doc.preamble "\\secpenalty0"

% Trial extensions.  To activate these, put `-e' into .fweb.
ext.web "web wb"
ext.hweb "hwb"

% Pretty up the documentation.
named.preamble "\\7" % Empty line after module name.

% Non-default names for the TeX output files.
index.tex "#.ndx"
modules.tex "#.mds"
contents.tex "#.cts"

% Separate index entries by \letter{...}. See `fweb.tex' for a sample
% definition of \letter.
lethead.prefix "\\letter{" 
lethead.suffix "}\n"
lethead.flag -1 % Use lower case letters.

% Starting stuff for compiler directives.  (This is an example; you'll
% probably want to change it for your system.)
cdir_start.N "*VOCL" % Fortran-77 compiler directives will start with ``*VOCL''
cdir_start.N90 "CMF$"

% Subscript symbols with the section number where they were defined.  With
% this setting, function names will be subscripted with cross-reference
% information.  To turn off all such subscripting, use the command-line
% option `-f'.
mark_defined.fcn_name 1
mark_defined.WEB_macro 0
mark_defined.outer_macro 0 
mark_defined.exp_type 0
mark_defined.typedef_name 0

% It may no longer be necessary to use the following.
% format.identifier "\\\\"
% format.WEB_macro "\\>"
% format.keyword "\\?"
% format.typewriter "\\YYY"

% Example of a tricky thing for Fortran.
% dot_constant.begin '['
% dot_constant.end ']'