| ; Top level functions
(manual-section
(section-title "Top level functions")
(section-body
"The important top level functions are manual-page and manual-section.
These are the most important functions from a manual writer's perspective."))
(manual-page
'manual-page
(title "manual-page")
(form '(manual-page id . elements))
(description "Defines a manual entry.")
(parameters
(parameter "id" "A symbol identifying the manual page")
(parameter "elements" "Zero, one or more title, form, pre-condition,
description, parameters, example, or misc elements")
)
)
(manual-page
'manual-section
(title "manual-section")
(form '(manual-section . element))
(description "Defines a new section of a manual.
The only forms allowed within a manual section are manual-title
and manual-body")
(parameters
(parameter "elements" "a list of manual-title and manual-body forms")
)
)
; End top level functions |
| | This shows an excerpt of a typical manual style LAML document.
Actually, the excerpt is taken from the manual which document the manual facility itself.
This is a little circular, but quite realistic. Using the nearby cross reference you can see
the resulting WWW page
|