Warning: This is the manual of the legacy Guile 2.2 series. You may want to read the manual of the current stable series instead.

Next: , Previous: , Up: Texinfo Processing   [Contents][Index]


7.21.3 (texinfo html)

7.21.3.1 Overview

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!.

7.21.3.2 Usage

Function: add-ref-resolver! proc

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.

Function: stexi->shtml tree

Transform the stexi tree into shtml, resolving references via ref-resolvers. See the module commentary for more details.

Function: urlify str