2017-04-11 21:13:36 +00:00
|
|
|
: nokill_bogus_lines ;
|
|
|
|
|
|
|
|
: ENDDD
|
|
|
|
skip_past_newline
|
|
|
|
;
|
|
|
|
|
|
|
|
: TABLE
|
|
|
|
skip_past_newline
|
|
|
|
"@table @code\n" catstr
|
|
|
|
;
|
|
|
|
|
|
|
|
: ENDTABLE
|
|
|
|
skip_past_newline
|
|
|
|
"@end table\n"
|
|
|
|
catstr
|
|
|
|
;
|
|
|
|
|
|
|
|
: QUICKREF
|
|
|
|
skip_past_newline
|
2018-12-28 15:30:48 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
: MATHREF
|
|
|
|
skip_past_newline
|
2017-04-11 21:13:36 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
: EXAMPLE
|
|
|
|
skip_past_newline
|
|
|
|
|
|
|
|
get_stuff_in_command nokill_bogus_lines translatecomments
|
|
|
|
courierize catstr
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
: INODE
|
|
|
|
"@node " catstr skip_past_newline copy_past_newline catstr
|
|
|
|
;
|
|
|
|
|
|
|
|
: CODE_FRAGMENT
|
|
|
|
EXAMPLE
|
|
|
|
;
|
|
|
|
|
|
|
|
: SYNOPSIS
|
|
|
|
skip_past_newline
|
|
|
|
"@strong{Synopsis}\n" catstr
|
|
|
|
"@example\n" catstr
|
|
|
|
get_stuff_in_command
|
|
|
|
do_fancy_stuff
|
|
|
|
nokill_bogus_lines
|
|
|
|
indent
|
|
|
|
catstr
|
|
|
|
"@end example\n" catstr
|
|
|
|
|
|
|
|
;
|
|
|
|
|
|
|
|
: ANSI_SYNOPSIS
|
|
|
|
skip_past_newline
|
|
|
|
"@strong{Synopsis}\n" catstr
|
|
|
|
"@example\n" catstr
|
|
|
|
get_stuff_in_command
|
|
|
|
do_fancy_stuff
|
|
|
|
nokill_bogus_lines
|
|
|
|
indent
|
|
|
|
catstr
|
|
|
|
"@end example\n" catstr
|
2018-12-28 15:30:48 +00:00
|
|
|
"ANSI_SYNOPSIS is deprecated, use SYNOPSIS instead" warn
|
2017-04-11 21:13:36 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
: TRAD_SYNOPSIS
|
|
|
|
skip_past_newline
|
2018-12-28 15:30:48 +00:00
|
|
|
"TRAD_SYNOPSIS is obsolete and ignored" warn
|
2017-04-11 21:13:36 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
: INDEX
|
|
|
|
"@findex " skip_past_newline copy_past_newline catstr catstr
|
|
|
|
;
|
|
|
|
|
|
|
|
: FUNCTION
|
|
|
|
"@node " - a
|
|
|
|
skip_past_newline
|
|
|
|
copy_past_newline
|
|
|
|
dup - a x x
|
|
|
|
get_stuff_in_angle -a x y
|
|
|
|
swap
|
|
|
|
do_fancy_stuff
|
|
|
|
"@section " - a x x b
|
|
|
|
swap
|
|
|
|
remchar
|
|
|
|
"\n" - a x b x c
|
|
|
|
catstr catstr catstr catstr catstr
|
|
|
|
;
|
|
|
|
|
|
|
|
: bodytext
|
|
|
|
get_stuff_in_command
|
|
|
|
bulletize
|
|
|
|
courierize
|
|
|
|
do_fancy_stuff
|
|
|
|
catstr
|
2017-10-07 00:16:47 +00:00
|
|
|
"@sp 1\n" catstr
|
2017-04-11 21:13:36 +00:00
|
|
|
;
|
|
|
|
|
|
|
|
: asection
|
|
|
|
skip_past_newline
|
|
|
|
catstr
|
|
|
|
copy_past_newline
|
|
|
|
do_fancy_stuff catstr
|
|
|
|
bodytext
|
|
|
|
;
|
|
|
|
|
|
|
|
: SECTION
|
|
|
|
"@section " asection ;
|
|
|
|
|
|
|
|
: SUBSECTION
|
|
|
|
"@section " asection ;
|
|
|
|
|
|
|
|
: SUBSUBSECTION
|
|
|
|
"@subsection " asection ;
|
|
|
|
|
|
|
|
: subhead
|
|
|
|
skip_past_newline
|
|
|
|
bodytext
|
|
|
|
;
|
|
|
|
|
|
|
|
: DESCRIPTION
|
|
|
|
"@strong{Description}@*\n" catstr subhead ;
|
|
|
|
|
|
|
|
: RETURNS
|
|
|
|
"@strong{Returns}@*\n" catstr subhead ;
|
|
|
|
|
|
|
|
: ERRORS
|
|
|
|
"@strong{Errors}@*\n" catstr subhead ;
|
|
|
|
|
|
|
|
: PORTABILITY
|
|
|
|
"@strong{Portability}@*\n" catstr subhead ;
|
|
|
|
|
|
|
|
: BUGS
|
|
|
|
"@strong{Bugs}@*\n" catstr subhead ;
|
|
|
|
|
|
|
|
: WARNINGS
|
|
|
|
"@strong{Warnings}@*\n" catstr subhead ;
|
|
|
|
|
|
|
|
: SEEALSO
|
|
|
|
"@strong{See Also}@*\n" catstr subhead ;
|
|
|
|
|
2018-12-28 15:30:48 +00:00
|
|
|
: NOTES
|
|
|
|
"@strong{Notes}@*\n" catstr subhead ;
|
|
|
|
|
2017-04-11 21:13:36 +00:00
|
|
|
: INTERNAL_FUNCTION
|
2017-10-07 00:16:47 +00:00
|
|
|
;
|
2017-04-11 21:13:36 +00:00
|
|
|
|
2017-10-07 00:16:47 +00:00
|
|
|
: INTERNAL_DEFINITION
|
|
|
|
;
|
2017-04-11 21:13:36 +00:00
|
|
|
|
|
|
|
: INTERNAL
|
2017-10-07 00:16:47 +00:00
|
|
|
;
|
2017-04-11 21:13:36 +00:00
|
|
|
|
|
|
|
: TYPEDEF
|
|
|
|
FUNCTION ;
|
|
|
|
|
|
|
|
: NEWPAGE
|
|
|
|
"@page\n" catstr subhead ;
|