The command sgml2hlp
can be used to process an SGML document
conforming to the programcode DTD,
which will typically contain the marked up prologues of a set of
user-level tasks in a package,
into a .hlp
file, which can be processed into a Starlink help library
using the HLIB
program documented in
SUN/124.
The program takes as arguments the name of any file(s) consituting the SGML programcode document, and writes the resulting help text to standard output. There are no options. Invoking it is therefore very straightforward:
sgml2hlp routines.sgml >package.hlp
See also the code documentation for sgml2hlp.