# -*- tcl -*- # rules/manpage.api # # (c) 2001 Andreas Kupries # 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 __ {}