SCRIPT (markup)

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

SCRIPT,[1] any of a series of text markup languages starting with Script[2][3] under Control Program-67/Cambridge Monitor System (CP-67/CMS) and Script/370[4] under Virtual Machine Facility/370 (VM/370); the current version, SCRIPT/VS,[5][6][7] is part of IBM's Document Composition Facility (DCF)[8] for IBM z/VM and z/OS systems. SCRIPT was developed for CP-67/CMS by Stuart Madnick[1][9] at MIT, succeeding CTSS RUNOFF.

SCRIPT is a procedural markup language. Inline commands called control words, indicated by a period in the first column of a logical line, describe the desired appearance of the formatted text. SCRIPT originally provided a 2PASS option to allow text to refer to variables defined later in the text, but subsequent versions allowed more than two passes.

Native SCRIPT control words[edit]

SCRIPT allows space units in control words to be specified in a number of units including inches, centimeters, millimeters, picas, ciceros, m-spaces, or device units (pels at the current device resolution). Vertical space units are assumed to be lines unless otherwise specified.

control word function example
.sp Inserts blank vertical space .sp 1 Inserts one blank line
.ce Centers following lines .ce 2 Centers the following two lines on the current page or column
.ez Controls EasyScript .ez P foo bar Starts paragraph with text foo bar; equivalent to &P.foo bar after .ez on
.im Imbeds a file at the current location .im BLRPLT Inserts the file 'BLRPLT SCRIPT'
.ju Turn on/off justify mode .ju on Requests that subsequent lines be justified
until .ju off is encountered
.rh Specify running head information .rh Identify following lines as running head
until .rh off is encountered
.df Define a named font .df examp type('Century Schoolbook' 10 light) Specifies attributes for font named 'examp'.
.bf Specify font for following text .bf title 'title' is the name of a font identified by a .df control word.
.se Assigns a value to a variable symbol .se month = January Assigns a value to the variable &month that will replace every subsequent occurrence of &month in the input text until &month is redefined.

Generalized Markup Language[edit]

IBM's Generalized Markup Language (GML) Starter Set[10][11][12] 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 the GML Starter Set are part of IBM's Document Composition Facility (DCF), used in the System/370 platform and successors. The tag sets of the BookMaster[13][14] and BookManager BUILD/MVS[15] products are built on a foundation of the GML Starter Set syntax and implementation.

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.

EasyScript[edit]

EasyScript is a set of macro definitions and profiles include with Script/370[16] Version 3[17][18] that implements a primitive version of GML. Tags are variables whose values have been set to control words, allowing multiple tags in a single line.

.ez on
&P.This is a paragraph.
&N1.First item
&N2.First subitem
&N2.Second subitem
&N1.Second item

is roughly equivalent to

This is a paragraph

  1. First item
    1. First subitem
    2. Second subitem
  2. Second item

GML Starter Set (GMLSS)[edit]

The GML Starter Set (GMLSS)[19][20] is a set of macro definitions and profiles that implements a set of tags that has more of a semantic orientation than the raw Script/VS control words. Tags begin with a colon and end with a period, and may contain attributes between the name and the closing period; a line may contain multiple tags.

BookMaster[edit]

Bookmaster is an IBM product, "designed for high-volume in-house publishing applications", that extends the GML Starter Set of DCF.[21] 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.

Bookmanager[edit]

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 BookMaster and can run on z/VM, z/OS, Windows or OS/2.[22] 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."[23]

See also[edit]

References[edit]

  1. ^ a b Stuart E. Madnick and Allen G. Moulton (1968) "SCRIPT, An Online Manuscript Processing System". Retrieved 2012-09-12.  IEEE Transactions on Engineering Writing and Speech, Vol. EWS-11, No. 2, pp. 92-100.
  2. ^ IBM, CMS SCRIPT User's Manual, IBM, GH20-0860. 
  3. ^ IBM (October 1970), Control Program-67/Cambridge Monitor System (CP-67/CMS) Version 3 Program Number 3600-05.2.005 User's Guide (PDF), First Edition, IBM, pp. 143[127]–177[163], GH20-0859-0. 
  4. ^ IBM (November 1972), SCRIPT/370 Text Processing Facility Under Virtual Machine Facility/370 (VM/370) Program Description/Operations Manual Program Number 5796-PAF (PDF), First Edition, IBM, SH20-1114-0. 
  5. ^ IBM (May 1999), DCF V1R4.0: SCRIPT/VS User's Guide, Third Edition, IBM, S544-3191-02. 
  6. ^ IBM (September 1998), DCF: SCRIPT/VS Language Reference, Eighth Edition, IBM, SH35-0070-07. 
  7. ^ IBM (August 1999), DCF V1R4.0: SCRIPT/VS Text Programmer's Guide, Eighth Edition, IBM, SH35-0069-07. 
  8. ^ IBM (January 1991), Document Composition Facility and Document Library Facility General Information Program Numbers 5748-XX9 5748-XXE, Eleventh Edition, IBM, GH20-9158-10. 
  9. ^ Charles F. Goldfarb (1996). "The Roots of SGML - A Personal Recollection". Retrieved 2012-02-26. 
  10. ^ "IBM Document Composition Facility: Generalized Markup Language Starter Set User's Guide", SH20-9186
  11. ^ "IBM Document Composition Facility: Generalized Markup Language Starter Set Reference", SH20-9187
  12. ^ "DCF V1R4.0: GML Implement. Gde ", SH35-0050-05
  13. ^ 5688-015 IBM Host Publishing Systems BookMaster R4
  14. ^ BookMaster V1R4.0 Bookshelf product on Printing and Publishing CD
  15. ^ BookManager READ/MVS and BUILD/MVS V1R3.0 Bookshelf
  16. ^ IBM (November 1972), SCRIPT/370 Text Processing Facility Under Virtual Machine Facility/370 (VM/370) Program Description/Operations Manual Program Number 5796-PAF (PDF), First Edition, IBM, SH20-1114-0. 
  17. ^ IBM (September 1976), SCRIPT/370 Version 3 User's Guide Program Number: 5796úPHL (PDF), First Edition, IBM, SH20-1857-0. 
  18. ^ IBM, SCRIPT/370 Text Processing Facility Under Virtual Machine Facility/370 (VM/370) Systems Guide Program Number 5796-PAF (PDF), IBM, LY20-0762-0. 
  19. ^ IBM (January 1991), GML Starter Set User's Guide, Eighth Edition, IBM, SH20-9186-07. 
  20. ^ IBM (January 1991), GML Starter Set Reference, Seventh Edition, IBM, SH20-9187-06. 
  21. ^ IBM Corporation (1996). "5688-015 IBM Host Publishing Systems BookMaster R4". Retrieved 2012-02-27. 
  22. ^ IBM Corporation (2011). "z/OS V1R10.0-V1R12.0 Library Server Getting Started". Retrieved 2012-02-27. 
  23. ^ 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". Retrieved 2012-02-27. 

External links[edit]