: nokill_bogus_lines ;
|
: nokill_bogus_lines ;
|
|
|
: ENDDD
|
: ENDDD
|
skip_past_newline
|
skip_past_newline
|
;
|
;
|
|
|
: TABLE
|
: TABLE
|
skip_past_newline
|
skip_past_newline
|
"@table @code\n" catstr
|
"@table @code\n" catstr
|
;
|
;
|
|
|
: ENDTABLE
|
: ENDTABLE
|
skip_past_newline
|
skip_past_newline
|
"@end table\n"
|
"@end table\n"
|
catstr
|
catstr
|
;
|
;
|
|
|
: QUICKREF
|
: QUICKREF
|
skip_past_newline
|
skip_past_newline
|
get_stuff_in_command
|
get_stuff_in_command
|
"&&~&&~&&\cr\tablerule\n"
|
"&&~&&~&&\cr\tablerule\n"
|
quickref
|
quickref
|
;
|
;
|
|
|
|
|
: ITEM
|
: ITEM
|
"@item " catstr ;
|
"@item " catstr ;
|
|
|
: EXAMPLE
|
: EXAMPLE
|
skip_past_newline
|
skip_past_newline
|
|
|
get_stuff_in_command nokill_bogus_lines translatecomments
|
get_stuff_in_command nokill_bogus_lines translatecomments
|
courierize catstr
|
courierize catstr
|
|
|
;
|
;
|
|
|
: INODE
|
: INODE
|
"@node " catstr skip_past_newline copy_past_newline catstr
|
"@node " catstr skip_past_newline copy_past_newline catstr
|
;
|
;
|
|
|
: CODE_FRAGMENT
|
: CODE_FRAGMENT
|
EXAMPLE
|
EXAMPLE
|
;
|
;
|
|
|
: SYNOPSIS
|
: SYNOPSIS
|
skip_past_newline
|
skip_past_newline
|
"@strong{Synopsis}\n" catstr
|
"@strong{Synopsis}\n" catstr
|
"@example\n" catstr
|
"@example\n" catstr
|
get_stuff_in_command
|
get_stuff_in_command
|
do_fancy_stuff
|
do_fancy_stuff
|
nokill_bogus_lines
|
nokill_bogus_lines
|
indent
|
indent
|
catstr
|
catstr
|
"@end example\n" catstr
|
"@end example\n" catstr
|
|
|
;
|
;
|
|
|
|
|
: ANSI_SYNOPSIS
|
: ANSI_SYNOPSIS
|
skip_past_newline
|
skip_past_newline
|
"@strong{Synopsis}\n" catstr
|
"@strong{Synopsis}\n" catstr
|
"@example\n" catstr
|
"@example\n" catstr
|
get_stuff_in_command
|
get_stuff_in_command
|
do_fancy_stuff
|
do_fancy_stuff
|
nokill_bogus_lines
|
nokill_bogus_lines
|
indent
|
indent
|
catstr
|
catstr
|
"@end example\n" catstr
|
"@end example\n" catstr
|
|
|
;
|
;
|
|
|
: OLDTRAD_SYNOPSIS
|
: OLDTRAD_SYNOPSIS
|
skip_past_newline
|
skip_past_newline
|
"@strong{Traditional Synopsis}\n" catstr
|
"@strong{Traditional Synopsis}\n" catstr
|
"@example\n" catstr
|
"@example\n" catstr
|
get_stuff_in_command
|
get_stuff_in_command
|
do_fancy_stuff
|
do_fancy_stuff
|
nokill_bogus_lines
|
nokill_bogus_lines
|
indent
|
indent
|
catstr
|
catstr
|
"@end example\n" catstr
|
"@end example\n" catstr
|
|
|
;
|
;
|
|
|
: TRAD_SYNOPSIS
|
: TRAD_SYNOPSIS
|
skip_past_newline
|
skip_past_newline
|
|
|
;
|
;
|
|
|
: INDEX
|
: INDEX
|
"@findex " skip_past_newline copy_past_newline catstr catstr
|
"@findex " skip_past_newline copy_past_newline catstr catstr
|
;
|
;
|
|
|
: FUNCTION
|
: FUNCTION
|
"@node " - a
|
"@node " - a
|
skip_past_newline
|
skip_past_newline
|
copy_past_newline
|
copy_past_newline
|
dup - a x x
|
dup - a x x
|
get_stuff_in_angle -a x y
|
get_stuff_in_angle -a x y
|
swap
|
swap
|
do_fancy_stuff
|
do_fancy_stuff
|
"@section " - a x x b
|
"@section " - a x x b
|
swap
|
swap
|
remchar
|
remchar
|
"\n" - a x b x c
|
"\n" - a x b x c
|
catstr catstr catstr catstr catstr
|
catstr catstr catstr catstr catstr
|
;
|
;
|
|
|
: bodytext
|
: bodytext
|
get_stuff_in_command
|
get_stuff_in_command
|
bulletize
|
bulletize
|
courierize
|
courierize
|
do_fancy_stuff
|
do_fancy_stuff
|
catstr
|
catstr
|
"@*\n" catstr
|
"@*\n" catstr
|
;
|
;
|
|
|
: asection
|
: asection
|
skip_past_newline
|
skip_past_newline
|
catstr
|
catstr
|
copy_past_newline
|
copy_past_newline
|
do_fancy_stuff catstr
|
do_fancy_stuff catstr
|
bodytext
|
bodytext
|
;
|
;
|
|
|
: SECTION
|
: SECTION
|
"@section " asection ;
|
"@section " asection ;
|
|
|
: SUBSECTION
|
: SUBSECTION
|
"@section " asection ;
|
"@section " asection ;
|
|
|
: SUBSUBSECTION
|
: SUBSUBSECTION
|
"@subsection " asection ;
|
"@subsection " asection ;
|
|
|
: subhead
|
: subhead
|
skip_past_newline
|
skip_past_newline
|
bodytext
|
bodytext
|
;
|
;
|
|
|
|
|
|
|
: DESCRIPTION
|
: DESCRIPTION
|
"@strong{Description}@*\n" catstr subhead ;
|
"@strong{Description}@*\n" catstr subhead ;
|
|
|
: RETURNS
|
: RETURNS
|
"@strong{Returns}@*\n" catstr subhead ;
|
"@strong{Returns}@*\n" catstr subhead ;
|
|
|
: ERRORS
|
: ERRORS
|
"@strong{Errors}@*\n" catstr subhead ;
|
"@strong{Errors}@*\n" catstr subhead ;
|
|
|
|
|
: PORTABILITY
|
: PORTABILITY
|
"@strong{Portability}@*\n" catstr subhead ;
|
"@strong{Portability}@*\n" catstr subhead ;
|
|
|
|
|
: WARNINGS
|
: WARNINGS
|
"@strong{Warnings}@*\n" catstr subhead ;
|
"@strong{Warnings}@*\n" catstr subhead ;
|
|
|
|
|
|
|
: INTERNAL_FUNCTION
|
: INTERNAL_FUNCTION
|
func ;
|
func ;
|
|
|
|
|
: INTERNAL_DEFINITION
|
: INTERNAL_DEFINITION
|
func ;
|
func ;
|
|
|
|
|
: INTERNAL
|
: INTERNAL
|
func ;
|
func ;
|
|
|
: TYPEDEF
|
: TYPEDEF
|
FUNCTION ;
|
FUNCTION ;
|
|
|
|
|
|
|
: NEWPAGE
|
: NEWPAGE
|
"@page\n" catstr subhead ;
|
"@page\n" catstr subhead ;
|
|
|