Typesetting
![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/ae/Metal_movable_type.jpg/300px-Metal_movable_type.jpg)
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/A_Specimen_by_William_Caslon.jpg/220px-A_Specimen_by_William_Caslon.jpg)
![](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e9/Metal_type.svg/220px-Metal_type.svg.png)
Typesettingis the composition oftextfor publication, display, or distribution by means of arrangingphysicaltype(orsort) in mechanical systems orglyphsin digital systems representingcharacters(letters and other symbols).[1]Stored types are retrieved and ordered according to a language'sorthographyfor visual display. Typesetting requires one or morefonts(which are widely but erroneously confused with and substituted fortypefaces). One significant effect of typesetting was that authorship of works could be spotted more easily, making it difficult for copiers who have not gained permission.[2]
Pre-digital era
[edit]Manual typesetting
[edit]During much of theletterpress era,movable type was composed by hand for eachpageby workers calledcompositors.A tray with many dividers, called a case, contained cast metalsorts,each with a single letter or symbol, but backwards (so they would print correctly). The compositor assembled these sorts into words, then lines, then pages of text, which were then bound tightly together by a frame, making up aformor page. If done correctly, all letters were of the same height, and a flat surface of type was created. The form was placed in a press and inked, and then printed (an impression made) on paper.[3]Metal type read backwards, from right to left, and a key skill of the compositor was their ability to read this backwards text.
Before computers were invented, and thus becoming computerized (or digital) typesetting, font sizes were changed by replacing the characters with a different size of type. In letterpress printing, individual letters and punctuation marks were cast on small metal blocks, known as "sorts," and then arranged to form the text for a page. The size of the type was determined by the size of the character on the face of the sort. A compositor would need to physically swap out the sorts for a different size to change the font size.
During typesetting, individual sorts are picked from a type case with the right hand, and set from left to right into acomposing stickheld in the left hand, appearing to the typesetter as upside down. As seen in the photo of the composing stick, a lower case 'q' looks like a 'd', a lower case 'b' looks like a 'p', a lower case 'p' looks like a 'b' and a lower case 'd' looks like a 'q'. This is reputed to be the origin of the expression "mind your p's and q's". It might just as easily have been "mind your b's and d's".[3]
A forgotten but important part of the process took place after the printing: after cleaning with a solvent the expensive sorts had to be redistributed into the typecase - calledsortingordissing- so they would be ready for reuse. Errors in sorting could later producemisprintsif, say, a p was put into the b compartment.
The diagram at right illustrates a cast metal sort:aface,bbody or shank,cpoint size,1shoulder,2nick,3groove,4foot.Wooden printing sortswere used for centuries in combination with metal type. Not shown, and more the concern of the casterman, is the "set", or width of each sort. Set width, like body size, is measured in points.
In order to extend the working life of type, and to account for the finite sorts in a case of type, copies of forms were cast when anticipating subsequent printings of a text, freeing the costly type for other work. This was particularly prevalent in book and newspaper work where rotary presses required type forms to wrap an impression cylinder rather than set in the bed of a press. In this process, calledstereotyping,the entire form is pressed into a fine matrix such asplaster of Parisorpapier mâchéto create aflong,from which a positive form is cast intype metal.
Advances such as thetypewriterandcomputerwould push the state of the art even farther ahead. Still, hand composition andletterpressprinting have not fallen completely out of use, and since the introduction of digital typesetting, it has seen a revival as anartisanalpursuit. However, it is a small niche within the larger typesetting market.
Hot metal typesetting
[edit]The time and effort required to manually compose the text led to several efforts in the 19th century to produce mechanical typesetting. While some, such as thePaige compositor,met with limited success, by the end of the 19th century, several methods had been devised whereby an operator working a keyboard or other devices could produce the desired text. Most of the successful systems involved the in-house casting of the type to be used, hence are termed "hot metal" typesetting. TheLinotype machine,invented in 1884, used a keyboard to assemble the casting matrices, and cast an entire line of type at a time (hence its name). In theMonotype System,a keyboard was used topunch a paper tape,which was then fed to control a casting machine. TheLudlow Typographinvolved hand-set matrices, but otherwise used hot metal. By the early 20th century, the various systems were nearly universal in large newspapers and publishing houses.
Phototypesetting
[edit]![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a3/Linotype_CRTronic_360.jpg/200px-Linotype_CRTronic_360.jpg)
Phototypesetting or "cold type"systems first appeared in the early 1960s and rapidly displaced continuous casting machines. These devices consisted of glass or film disks or strips (one perfont) that spun in front of a light source to selectively expose characters onto light-sensitive paper. Originally they were driven bypre-punched paper tapes.Later they were connected to computer front ends.
One of the earliest electronic photocomposition systems was introduced byFairchild Semiconductor.The typesetter typed a line of text on a Fairchild keyboard that had no display. To verify correct content of the line it was typed a second time. If the two lines were identical a bell rang and the machine produced a punched paper tape corresponding to the text. With the completion of a block of lines the typesetter fed the corresponding paper tapes into a phototypesetting device that mechanically set type outlines printed on glass sheets into place for exposure onto a negativefilm.Photosensitive paper was exposed to light through the negative film, resulting in a column of black type on white paper, or agalley.The galley was then cut up and used to create a mechanical drawing orpaste upof a whole page. A large film negative of the page is shot and used to makeplatesforoffset printing.
Digital era
[edit]The next generation of phototypesetting machines to emerge were those that generated characters on acathode ray tubedisplay. Typical of the type were the Alphanumeric APS2 (1963),[4]IBM 2680 (1967),I.I.I.VideoComp (1973?), Autologic APS5 (1975),[5]and Linotron 202 (1978).[6]These machines were the mainstay of phototypesetting for much of the 1970s and 1980s. Such machines could be "driven online" by a computer front-end system or took their data from magnetic tape. Type fonts were stored digitally on conventional magnetic disk drives.
Computers excel at automatically typesetting and correcting documents.[7]Character-by-character, computer-aided phototypesetting was, in turn, rapidly rendered obsolete in the 1980s by fully digital systems employing araster image processortorenderan entire page to a single high-resolutiondigital image,now known as imagesetting.
The first commercially successful laser imagesetter, able to make use of a raster image processor, was the Monotype Lasercomp. ECRM,Compugraphic(later purchased byAgfa) and others rapidly followed suit with machines of their own.
Earlyminicomputer-based typesetting software introduced in the 1970s and early 1980s, such asDatalogicsPager, Penta,Atex,Miles 33, Xyvision,trofffromBell Labs,and IBM'sScriptproduct with CRT terminals, were better able to drive these electromechanical devices, and used textmarkup languagesto describetypeand other page formatting information. The descendants of these text markup languages includeSGML,XMLandHTML.
The minicomputer systems output columns of text on film for paste-up and eventually produced entire pages andsignaturesof 4, 8, 16 or more pages usingimpositionsoftware on devices such as the Israeli-madeScitexDolev. The data stream used by these systems to drive page layout on printers and imagesetters, often proprietary or specific to a manufacturer or device, drove development of generalized printer control languages, such asAdobe Systems'PostScriptandHewlett-Packard'sPCL.
![](https://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Oscar_wilde_english_renaissance_of_art_2.png/200px-Oscar_wilde_english_renaissance_of_art_2.png)
Computerized typesetting was so rare thatBYTEmagazine (comparing itself to "the proverbial shoemaker's children who went barefoot" ) did not use any computers in production until its August 1979 issue used a Compugraphics system for typesetting and page layout. The magazine did not yet accept articles on floppy disks, but hoped to do so "as matters progress".[8]Before the 1980s, practically all typesetting for publishers and advertisers was performed by specialist typesetting companies. These companies performed keyboarding, editing and production of paper or film output, and formed a large component of the graphic arts industry. In the United States, these companies were located in rural Pennsylvania, New England or the Midwest, where labor was cheap and paper was produced nearby, but still within a few hours' travel time of the major publishing centers.
In 1985, with the new concept ofWYSIWYG(for What You See Is What You Get) in text editing and word processing on personal computers,desktop publishingbecame available, starting with theApple Macintosh,Aldus PageMaker(and laterQuarkXPress) and PostScript and on the PC platform with Xerox Ventura Publisher under DOS as well as Pagemaker under Windows. Improvements in software and hardware, and rapidly lowering costs, popularized desktop publishing and enabled very fine control of typeset results much less expensively than the minicomputer dedicated systems. At the same time, word processing systems, such asWang,WordPerfectandMicrosoft Word,revolutionized office documents. They did not, however, have the typographic ability or flexibility required for complicated book layout, graphics, mathematics, or advanced hyphenation and justification rules (H and J).
By 2000, this industry segment had shrunk because publishers were now capable of integrating typesetting and graphic design on their own in-house computers. Many found the cost of maintaining high standards of typographic design and technical skill made it more economical to outsource to freelancers and graphic design specialists.
The availability of cheap or free fonts made the conversion to do-it-yourself easier, but also opened up a gap between skilled designers and amateurs. The advent of PostScript, supplemented by thePDFfile format, provided a universal method of proofing designs and layouts, readable on major computers and operating systems.
QuarkXPress had enjoyed a market share of 95% in the 1990s, but lost its dominance toAdobe InDesignfrom the mid-2000s onward.[9]
SCRIPT variants
[edit]![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/a5/John_A_Prior_Health_Sciences_Library_Mural_Typesetter.jpg/220px-John_A_Prior_Health_Sciences_Library_Mural_Typesetter.jpg)
IBM created and inspired a family of typesetting languages with names that were derivatives of the word "SCRIPT". Later versions of SCRIPT included advanced features, such as automatic generation of a table of contents and index,multicolumnpage layout, footnotes, boxes, automatic hyphenation and spelling verification.[10]
NSCRIPT was a port of SCRIPT to OS and TSO from CP-67/CMS SCRIPT.[11]
Waterloo Script was created at the University of Waterloo (UW) later.[12]One version of SCRIPT was created at MIT and the AA/CS at UW took over project development in 1974. The program was first used at UW in 1975. In the 1970s, SCRIPT was the only practical way to word process and format documents using a computer. By the late 1980s, the SCRIPT system had been extended to incorporate various upgrades.[13]
The initial implementation of SCRIPT at UW was documented in the May 1975 issue of the Computing Centre Newsletter, which noted some the advantages of using SCRIPT:
- It easily handles footnotes.
- Page numbers can be in Arabic or Roman numerals, and can appear at the top or bottom of the page, in the centre, on the left or on the right, or on the left for even-numbered pages and on the right for odd-numbered pages.
- Underscoring or overstriking can be made a function of SCRIPT, thus uncomplicating editor functions.
- SCRIPT files are regular OS datasets or CMS files.
- Output can be obtained on the printer, or at the terminal…
The article also pointed out SCRIPT had over 100 commands to assist in formatting documents, though 8 to 10 of these commands were sufficient to complete most formatting jobs. Thus, SCRIPT had many of the capabilities computer users generally associate with contemporary word processors.[14]
SCRIPT/VSwas a SCRIPT variant developed at IBM in the 1980s.
DWScript is a version of SCRIPT for MS-DOS, named after its author, D. D. Williams,[15]but was never released to the public and only used internally by IBM.
Script is still available from IBM as part of theDocument Composition Facilityfor thez/OSoperating system.[16]
SGML and XML systems
[edit]The standard generalized markup language (SGML) was based upon IBMGeneralized Markup Language(GML). GML was a set of macros on top of IBM Script.DSSSLis an international standard developed to provide a stylesheets for SGML documents.
XMLis a successor of SGML.XSL-FOis most often used to generate PDF files from XML files.
The arrival of SGML/XML as the document model made other typesetting engines popular. Such engines include Datalogics Pager, Penta, Miles 33's OASYS, Xyvision'sXML Professional Publisher,FrameMaker,andArbortext.XSL-FO compatible engines includeApache FOP,Antenna House Formatter,andRenderX'sXEP. These products allow users to program their SGML/XML typesetting process with the help of scripting languages.
YesLogic'sPrinceis another one, which is based on CSS Paged Media.
Troff and successors
[edit]During the mid-1970s,Joe Ossanna,working atBell Laboratories,wrote the troff typesetting program to drive a Wang C/A/Tphototypesetterowned by the Labs; it was later enhanced byBrian Kernighanto support output to different equipment, such aslaser printers.While its use has fallen off, it is still included with a number ofUnixandUnix-likesystems, and has been used to typeset a number of high-profile technical and computer books. Some versions, as well as aGNUwork-alike calledgroff,are nowopen source.
TeX and LaTeX
[edit]![](https://upload.wikimedia.org/wikipedia/commons/thumb/0/01/AMS_Euler_sample_math.svg/200px-AMS_Euler_sample_math.svg.png)
TheTeXsystem, developed byDonald E. Knuthat the end of the 1970s, is another widespread and powerful automated typesetting system that has set high standards, especially for typesetting mathematics.LuaTeXand LuaLaTeX are variants of TeX and ofLaTeXscriptable inLua.TeX is considered fairly difficult to learn on its own, and deals more with appearance than structure. The LaTeX macro package, written byLeslie Lamportat the beginning of the 1980s, offered a simpler interface and an easier way to systematically encode the structure of a document. LaTeX markup is widely used in academic circles for published papers and books. Although standard TeX does not provide an interface of any sort, there are programs that do. These programs includeScientific WorkplaceandLyX,which are graphical/interactive editors;TeXmacs,while being an independent typesetting system, can also aid the preparation of TeX documents through its export capability.
Other text formatters
[edit]GNUTeXmacs(whose name is a combination of TeX andEmacs,although it is independent from both of these programs) is a typesetting system which is at the same time aWYSIWYGword processor.
SILEborrows some algorithms from TeX and relies on other libraries such asHarfBuzzandICU,with an extensible core engine developed inLua.[17][18] By default, SILE's input documents can be composed in a custom LaTeX-inspired markup (SIL) or in XML. Via the adjunction of 3rd-party modules, composition inMarkdownorDjotis also possible.[19]
A new typesetting systemTypsttries to combine a simple markup of the input and the possibility of using common programming constructs with a high typographical quality of the output. This system has been in beta testing since March 2023[20][21][22]and was presented in July 2023 at the Tex Users Group (TUG) 2023 conference.[23]
Several other text-formatting software packages exist—notably Lout, Patoline, Pollen, and Ant—but are not widely used.
See also
[edit]- Dingbat
- Formula editor
- History of Western typography
- Ligature (typography)
- The Long Short Cut
- Point (typography)
- Prepress
- Printing
- Printing press
- Sort (typesetting)
- Strut (typesetting)
- Symbols– Comprehensive list of typographical symbols
- Technical writing
References
[edit]- ^Dictionary Unabridged. Random House, Inc. 23 December 2009.Dictionary.reference
- ^Murray, Stuart A.,The Library: An Illustrated History,ALA edition, Skyhorse, 2009, page 131
- ^abLyons, M. (2001).Books: A Living History. (pp. 59–61).
- ^Encyclopedia of Computer Science and Technology,1976
- ^Encyclopedia of Computer Science and Technology
- ^Linotype History
- ^Petru-Ioan Becheru (Oct 2011)."Correcting Romanian typesetting mistakes by using regular expressions".An. Univ. Spiru Haret—ser. matemat.-inform.7(2): 31–36.ISSN1841-7833.83. Archived fromthe originalon 2020-04-15.Retrieved2012-04-09.(webpage has a translation button)
- ^Helmers, Carl (August 1979)."Notes on the Appearance of BYTE..."BYTE.pp. 158–159.
- ^"How QuarkXPress became a mere afterthought in publishing".Ars Technica.2014-01-14.Retrieved2022-08-07.
- ^U01-0547, "Introduction to SCRIPT,"Archived2009-06-06 at theWayback Machineis available through PRTDOC.
- ^SCRIPT 90.1 Implementation Guide,June 6, 1990
- ^CSG.uwaterloo.ca
- ^A Chronology of Computing at The University of Waterloo
- ^Glossary of University of Waterloo Computing Chronology
- ^DWScript – Document Composition Facility for the IBM Personal Computer Version 4.6 Updates, DW-04167, Nov 8th, 1985
- ^IBM Document Composition Facility (DCF)
- ^"SILE Website".Retrieved2023-08-01.
- ^Simon Cozens (2017)."SILE, A new typesetting system"(PDF).TUGboat, Volume 38 (2017), No. 1.Retrieved2023-08-01.
- ^"Markdown and Djot to PDF with SILE".GitHub.Retrieved2023-07-14.
- ^"Typst. A new markup-based typesetting system that is powerful and easy to learn".GitHub.Retrieved2023-07-14.
- ^"Typst Website".Retrieved2023-07-14.
- ^Laurenz Mädje (2022)."Typst. A Programmable Markup Language for typesetting. Master's thesis"(PDF).Technische Universität Berlin.Retrieved2023-07-14.
- ^Eberhard W. Lisse (2023)."Introduction to Typst"(PDF).TUG 2023 Conference.Retrieved2023-07-14.
External links
[edit]![](https://upload.wikimedia.org/wikipedia/commons/thumb/9/99/Wiktionary-logo-en-v2.svg/40px-Wiktionary-logo-en-v2.svg.png)