SCRIPT (markup)

From Wikipedia, the free encyclopedia
  (Redirected from SCRIPT)
Jump to: navigation, search

SCRIPT[1][2][3], also called Document Composition Facility or DCF, is a text markup language for IBM z/VM and z/OS systems. SCRIPT was developed for CP-67/CMS by Stuart Madnick[4] at MIT, succeeding CTSS RUNOFF. The current version is called SCRIPT/VS.

SCRIPT is a procedural markup language. Inline commands indicated by a period in the first column of a logical line describe the desired appearance of the formatted text. Examples of such commands are .ce to center a piece of text, or .sp 3 to add three lines of vertical space.

Contents

[edit] Generalized Markup Language

IBM's Generalized Markup Language (GML)[5][6][7] is a macro language encapsulating a set of SCRIPT commands. GML is a descriptive markup layer describing the logical structure of a document. Both SCRIPT/VS and GML are part of IBM's Document Composition Facility (DCF), used in the System/370 platform and successors. The tag sets of the BookMaster and BookManager BUILD/MVS products are built on a foundation of GML.

The Standard Generalized Markup Language (SGML) is a descendant of GML. While DCF does not directly handle SGML, there is an SGML translator available as a separate product.

[edit] IBM Bookmaster

Bookmaster is an IBM application layered on top of SCRIPT "designed for high-volume in-house publishing applications."[8] It consists of "a rich set of GML vocabulary for creating complex document layouts." Bookmaster runs under the z/VM and z/OS operating systems.

[edit] IBM Bookmanager

Bookmanager is a family of products for producing and reading online books. Bookmanager Build products for generating text are layered on top of SCRIPT and can run on z/VM, z/OS, Windows or OS/2.[9] Bookmanager Read products for viewing text run on a variety of systems. Bookmanager Book Server is a multi-platform system to "serve your electronic books to HTML browsers."[10]

[edit] Formatting command examples

  • .sp - space

Inserts blank lines
Syntax - .SP <No of blank lines needed>
Example - .SP 1 ---> To print one blank line.

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

Selects the font in which subsequent text is to be printed
Syntax - .BF
Example - .BF tiger

  • .se - set

Assigns value to a variable.
Syntax - .SE <Variable Name> = <value>
Example - .SE #999000. = 1 ---> Sets the value of variable #999000 to 1.

[edit] See also

[edit] References

  1. ^ "IBM Document Composition Facility: SCRIPT/VS User's Guide", S544-3191
  2. ^ "IBM Document Composition Facility: SCRIPT/VS Language Reference", SH35-0070
  3. ^ "Document Composition Facility V1R4.0: SCRIPT/VS Text Programmer's Guide", SH35-0069-07
  4. ^ Charles F. Goldfarb (1996). "The Roots of SGML - A Personal Recollection". http://www.sgmlsource.com/history/roots.htm. Retrieved 2012-02-26. 
  5. ^ "IBM Document Composition Facility: Generalized Markup Language Starter Set User's Guide", SH20-9186
  6. ^ "IBM Document Composition Facility: Generalized Markup Language Starter Set Reference", SH20-9187
  7. ^ "DCF V1R4.0: GML Implement. Gde ", SH35-0050-05
  8. ^ IBM Corporation (1996). "5688-015 IBM Host Publishing Systems BookMaster R4". http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?infotype=dd&subtype=sm&appname=ShopzSeries&htmlfid=897/ENUS5688-015. Retrieved 2012-02-27. 
  9. ^ IBM Corporation (2011). "z/OS V1R10.0-V1R12.0 Library Server Getting Started". http://publib.boulder.ibm.com/infocenter/zos/v1r13/index.jsp?topic=%2Fcom.ibm.zos.r13.bkma900%2Fw3bib.htm. Retrieved 2012-02-27. 
  10. ^ IBM Corporation (2001). "IBM BookManager BookServer for Windows V2.3, IBM BookManager BookServer for AIX and Linux V2.3, and IBM BookManager Build for Windows V2.3 Increases Ease of Use". http://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&appname=iSource&supplier=897&letternum=ENUS201-273. Retrieved 2012-02-27. 

[edit] External links

Personal tools
Namespaces
Variants
Actions
Navigation
Interaction
Toolbox
Print/export
Languages