The principal customisations for Fortran documents are to do with the definition of `short references' for certain tags, to help you `hide' SGML within Fortran comments.
The string *+
coming at the beginning of the line, is
equivalent to the func
start-tag, and *-
at the
beginning of the line is recognised as the codebody
start-tag.
Within the func
element, a *
at the beginning of the
line is ignored. Further, within the parameter
element, an
equals sign, =
, is recognised as a type
start-tag, and
within that element, end-of-line and :
are recognised as a
description
start-tag.
All together, this means that, as trailed in Section 5.1.1, the code fragment
is interpreted as*+ * <routinename>helloworld * <description>Greets the world with a sunny hello * <returnvalue type=string>Suitably formatted greeting * <parameter given> * language = enumerated list * Selects the language to use. * Allowed values are english and sanskrit. * <authorlist><authorref id=ng> *- (function source code goes here)
<func> <routinename>helloworld <description>Greets the world with a sunny hello <returnvalue type=string>Suitably formatted greeting <parameter given>language <type>enumerated list<description>Selects the language to use. Allowed values are english and sanskrit. <authorlist><authorref id=ng> <codebody> (function source code goes here)