1: nokill_bogus_lines ;
2
3: ENDDD
4	skip_past_newline
5	;
6
7: TABLE
8	skip_past_newline
9	"@table @code\n" catstr
10	;
11
12: ENDTABLE
13	skip_past_newline
14	"@end table\n"
15	catstr
16	;
17
18: QUICKREF
19	skip_past_newline
20	;
21
22: MATHREF
23	skip_past_newline
24	;
25
26: EXAMPLE
27	skip_past_newline
28
29	get_stuff_in_command nokill_bogus_lines translatecomments
30	courierize catstr
31
32	;
33
34: INODE
35	"@node " catstr skip_past_newline copy_past_newline catstr
36	;
37
38: CODE_FRAGMENT
39	EXAMPLE
40	;
41
42: SYNOPSIS
43	skip_past_newline
44	"@strong{Synopsis}\n" catstr
45	"@example\n" catstr
46	get_stuff_in_command
47	do_fancy_stuff
48	nokill_bogus_lines
49	indent
50	catstr
51	"@end example\n" catstr
52
53	;
54
55: ANSI_SYNOPSIS
56	skip_past_newline
57	"@strong{Synopsis}\n" catstr
58	"@example\n" catstr
59	get_stuff_in_command
60	do_fancy_stuff
61	nokill_bogus_lines
62	indent
63	catstr
64	"@end example\n" catstr
65	"ANSI_SYNOPSIS is deprecated, use SYNOPSIS instead" warn
66	;
67
68: TRAD_SYNOPSIS
69	skip_past_newline
70	"TRAD_SYNOPSIS is obsolete and ignored" warn
71	;
72
73: INDEX
74	"@findex " skip_past_newline copy_past_newline catstr catstr
75	;
76
77: FUNCTION
78	"@node "	- a
79	skip_past_newline
80	copy_past_newline
81	dup		- a x x
82	get_stuff_in_angle -a x y
83	swap
84	do_fancy_stuff
85	"@section " - a x x b
86	swap
87	remchar
88	"\n" - a x b x c
89	catstr  catstr 	catstr 	catstr 	catstr
90	;
91
92: bodytext
93	get_stuff_in_command
94	bulletize
95	courierize
96	do_fancy_stuff
97	catstr
98	"@sp 1\n" catstr
99	;
100
101: asection
102	skip_past_newline
103	catstr
104	copy_past_newline
105	do_fancy_stuff catstr
106	bodytext
107	;
108
109: SECTION
110	"@section " asection  ;
111
112: SUBSECTION
113	"@section " asection  ;
114
115: SUBSUBSECTION
116	"@subsection " asection  ;
117
118: subhead
119	skip_past_newline
120	bodytext
121	;
122
123: DESCRIPTION
124	"@strong{Description}@*\n" catstr subhead ;
125
126: RETURNS
127	"@strong{Returns}@*\n" catstr subhead ;
128
129: ERRORS
130	"@strong{Errors}@*\n" catstr subhead ;
131
132: PORTABILITY
133	"@strong{Portability}@*\n" catstr subhead ;
134
135: BUGS
136	"@strong{Bugs}@*\n" catstr subhead ;
137
138: WARNINGS
139	"@strong{Warnings}@*\n" catstr subhead ;
140
141: SEEALSO
142	"@strong{See Also}@*\n" catstr subhead ;
143
144: NOTES
145	"@strong{Notes}@*\n" catstr subhead ;
146
147: INTERNAL_FUNCTION
148	;
149
150: INTERNAL_DEFINITION
151	;
152
153: INTERNAL
154	;
155
156: TYPEDEF
157	FUNCTION ;
158
159: NEWPAGE
160	"@page\n" catstr subhead ;
161