This module implements transformation from stexi
to HTML. Note
that the output of stexi->shtml
is actually SXML with the HTML
vocabulary. This means that the output can be further processed, and
that it must eventually be serialized by sxml->xml
.
See Reading and Writing XML.
References (i.e., the @ref
family of commands) are resolved by a
ref-resolver. See add-ref-resolver!.
Add proc to the head of the list of ref-resolvers. proc will
be expected to take the name of a node and the name of a manual and
return the URL of the referent, or #f
to pass control to the next
ref-resolver in the list.
The default ref-resolver will return the concatenation of the manual
name, #
, and the node name.
Transform the stexi tree into shtml, resolving references via ref-resolvers. See the module commentary for more details.