IBM SCRIPT

From Wikipedia, the free encyclopedia

SCRIPT was an IBM text formatting language developed in the 1980s that used inline commands like .ce to center a piece of text or .sp 3 to add three lines of vertical space.

It was a predecessor to the widely-deployed PostScript known today, and the LaTeX language.[citation needed]

GML (Generalized Markup Language) was created as a macro language that encapsulate set of SCRIPT commands. While SCRIPT was used to describe physical formatting, GML was used to describe logical structure of a document. The Standard Generalized Markup Language, SGML, is a descendant of GML.

Both Script and GML were part of IBM's Document Composition Facility (DCF), used in the System/370 platform.


Nowadays, DCF/GML is commonly known as "IBM Bookmaster".

[edit] Some common formatting commands

  • .sp - space
  • .ce - center
  • .im - imbed media
  • .lf - left format
  • .ju - justify
  • .rh / R / C / L - running header
  • .rf " - running footer

[edit] See also