Generalized Markup Language (GML) is a set of macros that implement intent-based markup tags for the IBM text formatter, "SCRIPT". SCRIPT is the main component of IBM's Document Composition Facility (DCF). A starter set of tags in GML is provided with the DCF product.
GML simplifies the description of a document in terms of its format, organization structure, content parts and their relationship, and other properties. GML markup (or tags) describes such parts as chapters, important sections, and less important sections (by specifying heading levels), paragraphs, lists, tables, and so forth.
GML frees document creators from specific document formatting concerns such as font specification, line spacing, and page layout required by Script. Using GML, a document is marked up with tags that define what the text is, in terms of paragraphs, headers, lists, tables, and so forth. The document can then be automatically formatted for various devices simply by specifying a profile for the device. For example, it is possible to format a document for a laser printer or a line (dot matrix) printer or for a screen simply by specifying a profile for the device without changing the document itself.
A later and more extensive set of tags is provided by IBM's BookMaster product.
GML preceded and was one of the two sources that were used as the basis for the industry-developed Standard Generalized Markup Language (SGML), a set of rules for creating structured document description languages. The Extensible Markup Language (XML) was initially a streamlined and simplified development of SGML, but has outgrown its parent in terms of worldwide acceptance and support.
:h1.Chapter 1: Introduction
:p.GML supported hierarchical containers, such as
:li.Ordered lists (like this one),
:li.Unordered lists, and
as well as simple structures.
:p.Markup minimization (later generalized and formalized in SGML),
allowed the end-tags to be omitted for the "h1" and "p" elements.