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
|
# -*- tcl -*-
# rules/manpage.api
#
# (c) 2001 Andreas Kupries <andreas_kupries@sourceforge.net>
# Defines the procedures a manpage rules file has to support for good
# manpages. The procedures here return errors.
proc __ {command} {return "return -code error \"Unimplemented command $command\""}
################################################################
proc manpage_begin {command section version module shortdesc description} [__ manpage]
proc manpage_end {} [__ manpage_end]
proc require {pkg {version {}}} [__ require]
proc description {} [__ description]
proc section {name} [__ section]
proc para {} [__ para]
proc list_begin {what} [__ list_begin]
proc list_end {} [__ list_end]
proc lst_item {{text {}}} [__ lst_item]
proc call {cmd args} [__ call]
proc bullet {} [__ bullet]
proc enum {} [__ enum]
proc see_also {args} [__ see_also]
proc keywords {args} [__ keywords]
proc nl {} [__ nl]
proc arg {text} [__ arg]
proc cmd {text} [__ cmd]
proc opt {text} [__ opt]
proc emph {text} [__ emph]
proc strong {text} [__ strong]
################################################################
rename __ {}
|