up-translate program contains an
external-text-entity #document rule, there is no automatic
#main-input. You can submit it yourself if you need to. The
external-text-entity #document rule is used for processing the SGML document entity.
external-text-entity #document rule is different from other kinds of
#documentcan't be mixed with entity names or with the keywords
#syntaxin the header of the rule.
external-text-entity #documentrules in the program, one must be selected to provide the SGML document. (Having more than one or none that is selectable causes an error.)
external-text-entity #documentrule must not contain any
find-endrules, because there is no reason for them ever to be performed.
external-text-entity #documentrule only applies to the main SGML document, and not to documents whose parsing was initiated by a
do sgml-parse. Thus, the
#current-outputinherited by an
external-text-entity #documentrule is always the
#sgmlstream created by
external-text-entity #documentrule because such a text entity does not have a name.