|
|
1.1 root 1: .\" Copyright (c) 1980 Regents of the University of California.
2: .\" All rights reserved. The Berkeley software License Agreement
3: .\" specifies the terms and conditions for redistribution.
4: .\"
5: .\" @(#)tmacs 6.2 (Berkeley) 5/14/86
6: .\"
7: ." @(#)lmacs 34.4 3/23/82
8: ." $Header: lmacs 1.2 83/07/01 11:21:33 sklower Exp $
9: ."""""""
10: ." macros for the Franz Lisp Manual
11: ."
12: ." first we set these global me variables
13: .""""""""
14: .nr ss 3v \" space 4v between sections
15: ."" comment:
16: .nr si 3n \" section indent
17: .""""""""
18: ." the following two lines are for larger type font
19: ." .nr pp 12
20: ." .nr sp 12
21: ." If we are making an on line manual, include the line below:
22: .if 0 .ll 7.5i \" extra wide for nroff, DISABLED
23: ."""""""""""""""
24: ." A chapter is begun by
25: ." .Lc chaptertitle number
26: ."
27: ." a function is introduced by a
28: ." .Lf functionname arglist
29: ." where the arglist must be one string, use "'s if necessary.
30: ." if there are two names for a function then the first is called with
31: ." .Lf and subsequent ones with .Lx
32: ." then there are these macros to begin text describing what the function
33: ." does:
34: ." .Wh
35: ." <text> says "WHERE" allowing you to give more
36: ." details on a function.
37: ." .Re
38: ." <text> tells what value the function returns
39: ."
40: ." .No
41: ." <text> begins a note, giving more detail on the fcn
42: ."
43: ." .Se
44: ." <text> describes a size effect of a function.
45: ."
46: ." .Im
47: ." <text> note to implementor. this will only be
48: ." printed out in the implementors version of
49: ." the manual.
50: ." .Rm prints a message about this function being
51: ." likely to disappear
52: ."
53: ." .Ex begin a short example
54: ."
55: ." .Eb begin an large offset example
56: ." .Ee end an example
57: ."
58: ." .Fb begin a large offset example but don't
59: ." try to keep it on one page.
60: ." .Fe end what .Fb started
61: ."
62: ." useful macros
63: ." .Fr rest prints out Franz Lisp and appends rest
64: ." to it.
65: ."
66: ." used in creating the index, table of contents and appendicies
67: ."
68: ." .Ib begin index
69: ." .In ch# pg# fcn-name fcn-args this isnt inserted by hand, but
70: ." is generated by the index program. it indicates
71: ." where a function begins.
72: ."
73: ." .Ap c T begin appendix c with title T
74: ."
75: .""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
76: .de Lc
77: ." .in 0
78: .nr ch \\$2-1
79: .+c \\$1
80: ..
81: .de Lf
82: .sp 1v
83: .ne 11
84: .Lx \\$1 "\\$2"
85: ..
86: .de Lx
87: .in 0
88: .ie '\\$2'' \fB(\\$1)\fP
89: .el \fB(\\$1\fP \\$2\fB)\fP
90: .br
91: .nr $i 5n
92: ." if troff, then put nice index entry, if nroff then we are making an
93: ." online manual so put out a cryptic lisp expression. If you want to
94: ." make an nroff version of the manual with index, then you will have
95: ." to alter the lines below: replace .if t with .if 1 and .if n with .if 0
96: .if t .tm .In \\n% \\$1 "\\$2"
97: .if n .tm (\\$1 ch\\n(ch.r)
98: ..
99: .de Re
100: .ip \s-2RETURNS\s0: 9
101: ..
102: .de Ex
103: .ip \s-2EXAMPLE\s0: 9
104: ..
105: .de No
106: .ip \s-2NOTE\s0: 6
107: ..
108: .de Eq
109: .ip \s-2EQUIVALENT\ TO\s0: 15
110: ..
111: .de Im
112: .ip \s-2IMPLEMENTATION\s0: 20
113: ..
114: .de Se
115: .ip \s-2SIDE\ EFFECT\s0: 13
116: ..
117: .de Wh
118: .ip \s-2WHERE\s0: 9
119: ..
120: .de Rm
121: .No
122: this function will most likely disappear in future releases.
123: ..
124: .de Fr
125: F\s-2RANZ\s0 L\s-2ISP\s0\\$1
126: ..
127: .de Ib \" beginning of index
128: .pn 158
129: .He
130: .Ap 1 Index\ to\ F\s-2RANZ\s0\ L\s-2ISP\s0\ Functions
131: .ta 6i \" set tab stop for location column
132: .tc . \" generate dots to line up page numbers
133: .nf
134: ..
135: .de In
136: .ie '\\$3'' (\\fB\\$2\\fR)\t\\$1
137: .el (\\fB\\$2\\fR\ \\$3)\t\\$1
138: ..
139: .de Eb
140: .in 0
141: .(b
142: .sp 1v
143: .hl
144: .sz -2
145: ..
146: .de Ee
147: .sz +2
148: .hl
149: .sp 1v
150: .)b
151: ..
152: .de Fb
153: .in 0
154: .sp 1v
155: .ne 1i
156: .hl
157: .sz -2
158: ..
159: .de Fe
160: .sz +2
161: .hl
162: .sp 1v
163: ..
164: .de Ap \" appendix n title (n is 1 2 3 4 for A B C D etc)
165: .++ A
166: .nr ch \\$1-1
167: .+c \\$2
168: ..
169: .de He
170: .oh 'The Franz Lisp Manual''PS2:9-%'
171: .eh 'PS2:9-%''The Franz Lisp Manual'
172: ..
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.