2DocumentCompositionThischaptersurveysexistingtechniquesforproducingdocuments,beginningwiththetraditionalgraphicartsprocessforturningamanuscriptintoafinishedbook.Thechapterinvestigatestheconceptofdocumentstylethatarisesfromthegraphicdesigndisciplineandwhichpervadesmodernelectroniccompositionsystems.Theuseofcomputersandelectronicsindocumentcompositionissurveyednext,firstexaminingtheearlytypesettingsystems,thendocumentcompilerssuchastroff,Scribe,andTEX,andfinallyintegrateddocumentcompositionsystemssuchasEtude,Janus,andtheXeroxStar.Thesurveyofdocumentcompositiontechniquesconcludeswithadiscussionofseveralissuesconcerningthestructureofinformationindocumentsandadescriptionofsomemodelsofstructureddocuments.2.1TraditionalDocumentProductionTechniquesResearchersmakesubstantialuseofbooksandjournalsintheireverydaywork.However,fewpeopleunderstandhowthosedocumentsareproduced.Onlywhentheydecidetowritetheirownbookortoeditascholarlyjournaldotheybecomeinvolvedinthemysteriousworldofthegraphicarts.Thissurveyisintendedtohelpthereadertounderstanddocumentproduction,toappreciatethemanydiverserolesandskillsnecessary,andtorealizethevastnumberofdetailsanddecisionsinvolvedinproducinghigh-qualitydocuments.2-1pï\dî gïWnî gî$E î gï>aþ;ˆ#qï;Zî¶îoîUî-î%: î-uî0%î8 î@Àï9(î gî!îú îñî ×î#ÿî)Êî,zî2Rî3· î` ï2‘î gînîØîËîÜî#áî'# î/Bî1Fî8ü îBKï0^î gîUîkîÕî"Øî%±î)Æ î2î8„îÕîDï)Çî gî îl î%§î-Bî0üî2a î:1îÅï,î gîžîî8î!™ î*1î-Ïî2(î:|î=Gïùî gî‰îüî©îãîçî$î(î+¥î/Ôî1óî3÷î7Gî8¬î?šîEJïÇî gîî.îçîëî!Ä î* î.¾î0Ïî3¨î9Žî=¾îAwîF¯ï•î gîIîMîîàî ÿî# î+šî3P î<*î>. ïbî gî@îÍîoîjî ¬î$Î î,‚î/Åî1Éî7î9Úî=7îClï 0î gî“îÖîÞî"–î$šî,x î5» uïöî)(ïöî)îïöî*h¯TVm$÷2DOCUMENTCOMPOSITION2-22.1.1Howdobooksgetproduced?AninterestingreviewofhowbooksareproducediscontainedintheanthologyOneBook/FiveWays[AAUP,OneBook/FiveWays].Thisreportsonacomparativepublishingexperimentinwhichfiveuniversitypressespreparedthesamebookforpublication:theUniversityofChicagoPress,theMITPress,theUniversityofNorthCarolinaPress,theUniversityofTexasPress,andtheUniversityofTorontoPress.Theproceduresusedineachpresswereremarkablycommon.Althoughtheapproachesvariedsomewhat,allinvolvedthestagesofacquisition,marketandpreliminarycostestimation,editorialrevision,design,production,sales,andpromotion.Eachpressdocumentedtheirprocedures,theirforms,andtheguidelinestheyappliedtothevariousprocesses.OneBook/FiveWayscontainsarichcollectionofrawmaterialforanyoneinterestedinthepublishingprocess.Inparticular,thereportincludesthestyleguidelinesfromeachofthepresses.Theseguidelinesestablishthepublisher'shousestyle,andgoverneditorial,graphicdesign,illustration,composition,andtypesettingdecisions.Perhapsthemostwell-knownstyleguidelineforscholarlydocumentsisTheChicagoManualofStyle,whichwasreferencedbyseveralpressesinthisexperiment,althoughmosthavetheirownrefinementsandspecialinstructions.Animportantfeatureofthetraditionalbookproductionprocessistheparallelismachievedthroughseveralgroupsworkingondistinctaspectsofabook.Whenamanuscriptarrivesatthepressforconsideration,itisquicklycopiedandsentoutfortwoormoreindependentreviewstodecidewhethertopublishthework.Oncethedecisiontopublishismadeandthecompletedmanuscriptarrivesfromtheauthor,copiesaresentsimultaneouslyto(1)theproductioneditor,whoestablishesajobdockettotrackallofthesubsequentstagesofthepublication,(2)thecopyeditor,whomakeseditorialrevisions,and(3)thegraphicdesigner,whodesignsthebookanditsillustrations.ThisparallelismisshowninFigure2-1forasimplifiedandhypotheticalpublicationprocess.vïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)vï^õî gîTîOî¢îcî-qï[î¶î€ î‘î×î!èî%‡î*Uî- î4zî6.î=¼î?ÀïXéî gxîïXéïXéîYî–îµsî$4ïXéïXéî$˜î)uî,yî3gqî7ïXéïXéî8¬îlî@}ï<æî gîîÓ î¢î&\î)5 yî1‰ï<æï<æî2…î6Üqî:_ï<æï<æî;hî>ªï:´î g îUî;îÐ î'� î19î4| î<Ñ ï8�î gî©î‚î‹ î"oî&Bî-rî0"î7î?exîAï8�ï8�îB/ï6Oî gîÄîáîØqî_ï6Oï6Oîhî$Eî'y î/˜î1úî7tî= î?ï4î g îtîVî ^î$Mî(;î+Ú î4Ùî8î=| ï1î¶î€î(î¾î!Ïî$¨ î, î0Ð î9?î? î@¾ï.äî g îÇî›î!Þî'Yî,Çî3/î5�î;jîAîCï,²î gîŸîˆîî î wî%Êî'´î*�î.¾î1m î;úî=•î?Iï*€î gî»îþîuîhîî!Mî#kî'¶ î1;î7î9$î>^îD»ï(Mî gîMî&î^î¶î!�î'øî)ýî/ãî1˜î6î9Zî<3ï&î g îñîCîYî!2î&ãî+çî.²î2) î=bî?fîAüï#éî g îÖîî® î%Íyî'3ï#éï#éî'�î*2qï#éî0 î2 î61î8„î:•î=n ï!¶î gî)î:î î!î!·î$�î(Œî-Åî1dî6tî<ø îD4ï„î gîýîÖî¼î·î"Uî( î*ùî/)î2kî4¤ î>‘ïRî g îÇî{î§î«î"þî%Öî(†î)ë î1Ÿî4â î>@ ïî gÿ1TVm$2DOCUMENTCOMPOSITION2-3-5RÖ4MRÖ4MK-5K-5RÖ-5Rö4MRöD@€»¿ÿ€» D@-5R¶»¿ÿÀD@@D`»À4mRÖ4mK»À» D@CÿÿÀ4-RÖD@D`»À»¿ÿà4MJç-5J绿ÿÀD@@D`»À4MK'D@€»¿ÿ€» D@-K-RÖD@D`»À»À-UK»À» D@D@,R 3˜R 3˜JR,JR,R ,R@3˜R@D@»À» D@@,R»¿ÿÀD@@D`¼€3¸R 3¸JR¼» CÿÿD@3xR CÿÿD`¼»À3˜J2,J2»¿ÿÀD@@D`»À3˜JrD@»À» D@,_JR,_R CÿÿD`¼¼@,ŸJR¼» CÿÿD@ Composition o^1'‡^1'‡Vb oVb o^1 o^Q'‡^QD@»À» D@@ o^»ÀD@D`¼€'§^1'§Vb¼» CÿÿD@ 'g^1CÿþD`¼¼@'‡VB oVB»ÀD@D`»À'‡V‚D@»À» D@ OVb O^1CÿþD`¼¼  �Vb¼» CÿÿD@ProductionEditor …^G"¦\&CÚ‚€¼%}»ŽÜÀ¼¥€CÚ‚àCÚ�€ X^¼%}€CÚ‚Dq#@CZ„¼%}@¼%}"�\0%f\0D@»À» D@"�[ð»ÀD@D`»À%P\&'q^GCÚƒCÚ‚CZ€»ŽÝ¼%}ÀCÚƒ%}[ù¼%}€¼%~¼¥Dq"€CÚ‚¼%}€#û]#û]DÀ»@» DÀ#û\…»?ÿàDÀ Dà»@#û[š#û[šDÀ»@» DÀ#û[»?ÿàDÀ Dà»@$\Å$¼» CÿÿD@#Û\ÅD@D`»À»À!$RÖ(=RÖ(=K!$K!$RÖ!$Rö(=RöD@@»¿ÿÀ» D@!$R¶»ÀD@D`»À(]RÖ(]K»À» D@CÿÿÀ(RÖD@D`»À»¿ÿà(=Jç!$Jç»ÀD@D`»À(=K'D@@»¿ÿÀ» D@!K!RÖD@D`»À»À!DK»À» D@D@ oR '‡R '‡JR oJR oR oR@'‡R@D@»À» D@@ oR»ÀD@D`¼€'§R '§JR¼» CÿÿD@ 'gR CÿÿD`¼¼@'‡J2 oJ2»ÀD@D`»À'‡JrD@»À» D@ OJR OR CÿÿD`¼¼  �JR¼» CÿÿD@Copy Editor!$FÖ(=FÖ(=?!$?!$FÖ!$Fö(=FöD@@»¿ÿÀ» D@!$F¶»ÀD@D`»À(]FÖ(]?»À» D@CÿÿÀ(FÖD@D`»À»¿ÿà(=>ç!$>ç»ÀD@D`»À(=?'D@@»¿ÿÀ» D@!?!FÖD@D`»À»À!D?»À» D@D@ oF '‡F '‡>R o>R oF oF@'‡F@D@»À» D@ oF»ÀD@D`»À'§F '§>R»À» D@D@ 'gF D@D`»À¼@'‡>2 o>2»ÀD@D`»À'‡>rD@»À» D@ O>R OF D@D`»À¼  �>R»À» D@D@GraphicDesignRÖ,RÖ,KKRÖRö,RöD@»À» D@R¶¼@CÿÿÀD`»ÀLRÖLK»À» D@D@ RÖD@D`»À¼ ,JçJç¼@CÿÿÀD`»À,K'D@»À» D@ôKôRÖD@D`»À»¿ÿð4K»À» D@Cÿÿà^R wR wJR^JR^R ^R@wR@Cÿÿ€¼€» D@@^R»ÀD@D`¼€—R —JR¼» CÿÿD@WR CÿÿD`¼»ÀwJ2^J2»ÀD@D`»ÀwJrCÿÿ€¼€» D@>JR>R CÿÿD`¼»À~JR¼» CÿÿD@Author'sManuscript,F3˜F3˜>A,>A,F,F03˜F0D@»À» D@ ,Eð»¿ÿÀD@@D`¼@3¸F3¸>A»À» D@D@3xFD@D`»À»À3˜>!,>!»¿ÿÀD@@D`»¿ÿà3˜>aD@»À» CÿÿÀ,_>A,_FD@D`»À¼@,Ÿ>A»À» D@D@ Illustration9ERÖ@^RÖ@^K9EK9ERÖ9ERö@^RöD@»À» D@9ER¶»ÀD@D`»À@~RÖ@~K»À» D@D@@>RÖD@D`»À»À@^Jç9EJç»ÀD@D`»À@^K'D@»À» D@9%K9%RÖD@D`»À»¿ÿà9eK»À» D@CÿÿÀ8�R ?¨R ?¨JR8�JR8�R 8�R@?¨R@D@»À» D@@8�R»¿ÿ€D@€D`¼€?ÈR ?ÈJR¼» CÿÿD@?ˆR CÿÿD`¼»À?¨J28�J2»¿ÿ€D@€D`»À?¨JrD@»À» D@8pJR8pR CÿÿD`¼¼@8°JR¼» CÿÿD@ PrintingPageAssembly(óNF*úNF*úN®+ÉMÞ*úM*úMv(óMv(óNF5NF7 NF7 N®7ÚMÞ7 M7 Mv5Mv5NF(óBë*úBë*úCS+ÉBƒ*úA´*úB(óB(óBë™SÕUD¾U�äU�äTh›T±,SB™SÕ)_GÄ*ÎI3*…I}+ªI}+ªHW+aH¡)òG1)_GÄ5oGÄ6ÞI36•I}7»I}7»HW7qH¡6G15oGÄ,Iå›HväHÀäGš¾GšGã™IS,IåâNFéNFéN®¹MÞéMéMvâMvâNFFigure2-1.TRADITIONALGRAPHICARTSPROCESSESinvolveconsiderableparallelismintheproceduresforpublishingamanuscript.Theauthor'smanuscriptiscopiedandsenttotheproductioneditor,thecopyeditor,andthedesign/illustrationdepartment.Editedpagesaretypesetbythecompositionstaffwhoareguidedbythedesignofthedocument.Thetypesetmanuscriptandtheillustrationsarethenassembledintopagesinpreparationforprinting.Otherpartsofthedocumentpublicationprocessalsoinvolveparallelism.Ifthebookistohaveajacketorcoverillustration,thatillustrationisundertakenwhiletheinsidesofthebookareprepared.ThetableofcontentsandLibraryofCongresssubmissionformsarepreparedassoonasthebookentersproductiontoensurethattheimprintpageandthefrontmatterofthebookarereadyforprinting.Theindexisoftenonthecriticalpathneartheendofthedocumentproductioncycle.Sinceindexentriesmusthavethecorrectpagenumbers,theindexcannotbefullycompleteduntilallofthepageshavebeenassembled.Typicallytheindexentriesarecompiledinparallelwiththebookcomposition.Afterthepagenumbersareassignedonthereproductionpages(orpagerepros)theindexmanuscriptiscompletedinparallelwiththefinalproofreadingofthebookpages.Evenwiththeuseofelectroniccompositiontools,preparationofbackmatterisonthecriticalpathandinconsistentpagenumberingoccasionallyresults.SuchproblemsappearintheappendicesofthesecondeditionofNewmanandSproull'sPrinciplesofInteractiveComputerGraphicsvïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)î gï`þ;ˆ#zøx ûøû#û#û#û#øÿûøû#û#û#û#î,ÒïOw øÿ ûøû#û#û#û#î!(ïYg î"sïWûû#û#û#û#û#û#øxûøû#û#û#û#øÿûøû#û#û#û#î ÙïOw øxûøû#û#û#û#øÿûøû#û#û#û#î!îïCgî"5ïAûøx ûøû#û#û#û#øÿûøû#û#û#û#î¾ïOwîïN øÿûøû#û#û#û#î-[ïAû øxûøû#û#û#û#øÿûøû#û#û#û#î:ïKëî:ÍïOwî9ªïN ûûûûûûûûwï;þî gîÀ{îñï;þï;þî´ ï;þîwï;þî"8ï;þî%¾wï;þî,òî1� î9c î@RîAôï:î g îKî} îýî1 î%î'ëî-7 î4;î5²î:î< î?�îAFï8'î g î?îŽîìî'î!uî$î&tî1Ñ î9Óî>"îAìï6;î gîîèîG îðî î"ìî%Jî)¤î+~î-Üî2î3Âî6 î=;î@ï4Oî g îkî îj îòî"Qî%jî+ßî.¶î2�î4# î;jî=œî gï2þ;ˆ#qï/î¶îxî�î îyî%/ î-Óî3žî6úî<à îF+ï,äî gî@îpî$î)îyî|ï,äï,äîæqï,äî!´î#Òî(E î0õî4S î<™î>N ï*²î gîÙî²î î1î î":î%î- î0rî4‰î6šî=î@bîFTï(€î gî| î÷î «î#uî*qî,uî0cî2gî5@î9pî>L ï&Mî gîkî²îyîéï&Mï&MîSîèqï&Mî$Zî'œyî*uï&Mï&Mî*ùî.²qï&Mî4Gî6Xî91î=aî@+îD¸ï$î gï!î¶îî¬îaî¬î î"óî(Tî,î/Õî2®î5ðî8î:Úïãî g îÖîîuî#î(Vî,lî0Zî33î8¯î<žîCÛï°î gîôîîôîHî)î%.î)î+pî-�î0Zî4çî8Öî<Þ ï~î gî—îpîýî Pî#î*Lî,Pî24î5îî8Çî<÷ ïLî gî¿î˜î†îZî!$î'¶î*#yî,üïLïLî-œ î7ˆqïLî<Íyî?}ïLïLî@xïî gqî^ïïîŽîgîô î"~î$2î,8î.<î4 î7Úî:³î>† ïçî gîxîQî�ïáî¶îóî¬î…îxî‰ î' î0Yî4½ î=–yî?§ïáïáî@¢ï¯î gqï¯îüî°îî÷îYî" î%c î.cî2Qî:¿ ï |î gî›îÀîýî#lî%pî(I î0Åî2×î5°î;+î@Áï Jî gîtî¶xî—ï Jï Jî­î%î' î/,î6²�TVm$T2DOCUMENTCOMPOSITION2-4[Newman&Sproull,ComputerGraphics],inwhichthereferencecitationsallrefertoapreliminarydraftversion,becausetheauthorsforgottomake`onelastrevisionpass'overthereferencecitationsintheappendices.ThesecondeditionwastypesetbytheauthorsusingfacilitiesatXeroxPARCbecausetheycouldcompleterevisionsuptothelastminuteandcontroltheaccuracyofcomputerprogramscontainedinthetext.Inanormalproductionprocess,therearemorepeoplecheckingthingsandhencelesschanceofoversights,suchaswhatactuallyhappenedintheappendices.Anareaofgreatconcerntothepublisherisadministrationoftheproductionprocess.Publishersusuallyhaveseveralprojectsunderwayatthesametimebecauseofthedelaysinvolvingrevisionsandapprovalsfromtheauthorofasingleproject.Theproductioneditorcontrolsthedocumentpublicationprocessforthepublisher,determiningtimeandcostestimatesforthepublication,selectingandcontractingwithsuppliers,trackingtheparallelstagesofthecompositionprocess,andkeepingrecordsofdeadlinesandexpenses.Inajournalpublishingsituation,theproblemiscompoundedbythedualpressuresofmultipleauthorsandfrequentpublicationdeadlinesforeachissue.Theseprocesscontrolfunctionsarethemostimportantcontributionsofpublishers.Somepublishingcompaniesemploylittlemorethanproductionandmarketingeditorsinhouse,subcontractingmostoftheskilledjobssuchascopyediting,design,illustration,composition,printing.Intheelectronicpublishingorself-publishingprocess,thesesubcontractedjobsareperformedbythemanuscriptauthorandelectronicdocumentproductiontoolswillhavetohandlethemsuccessfully.Thetraditionaldocumentproductionprocessinthegraphicartsroutinelyaccommodatesdifficultmanuscripts.Typicallytables,mathematicalnotation,illustrations,andpagelayoutareaspectsofdocumentproductionthatareconsidereddifficultbytraditionalpublishers.Thefollowingsectionsdiscusshoweachoneoftheseareaswashandledinthecomparativepublishingexperiment.TablesTherewereonlyasmallnumberoftablesintheOneBook/FiveWaysexperiment,buttheywerealwaystreatedseparatelyfromthemainbodyoftext.Manypublishersrelyontheskillofthecompositorortypesettertohandletables:vïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)sï^ùî gîqîþqî$Åï^ùï^ùî%Íî'Ñî,¯î/ˆî6¸î==î?�îC‹îE�ï\Æî g îKîUî{î%£î(|î.cî3Lî5Pî9Âî=`î@`ïZ”î gîbîîôî$î$©î&­î)† î3 î6tî;ðîA†ïXbî gîþî_î8îî!ƒ î'úî)äsî.ÛïXbïXbî/¬qïXbî3Zî9‚î=/ïV/î gî}îPîÌîÐî!©î$©î*Mî-�î32î6 î<Æî>×ïSýî gî±î?îCî î$fî&’î'øî-§ î6î7îBAïO˜î gîîîà ïL’î¶î€îî"îEî"zî$î'Xî.¤î0X î;Bî=SïJ`î g îÖî© î# î)Cî-2î2¬î8Ôî@oîBYïH.î gî—î]î†î—îpî$tî+°î2‚î5Åî=7îALïEûî gî®î¿î%îÙî jyî#ÔïEûïEûî$Ïî,ÒqïEûî1ãî8%î:þïCÉî g î îÖî†î _ î( î1Wî5î8_î;¼îBÒîE‚ïA—î g îuî.îq î'ûî+´ î3î9vî5 îFTï/0î gî†î»î!ù î,{î/ÿî2Êî:èî=Jï,þî g îñî8îz î$ûî,± î5 î9îòï%“î g îlî¯ î'ßî/î4. î>Rï#aî g î¶îøîçî!ëî$¶î*Lî,^î4 î<ƒî?áï!/î g î®îñîR î%I î.<î1¥î8ïî?îDŸïüî gî;îpî�î¿îïî!$î'�î)…î,^ î5­ î=Í xï#î gqïIî¶î…î€î8î�î!õî(*î*;î.ðî0ôxî3ÍïIïIî5î7Uî?uqïî g îtîuî"î î%bî*ì î2¡î6¶î9�î=¿îAðîDïäî gî) îîbîÐî!©î%,î'=î* î2žî4½ î<>î>Bï²î gTVm$72DOCUMENTCOMPOSITION2-5``Agoodcomposingroomcantranslatealmostanytabularcopyinareasonablyclearandpresentableexampleoftabularcomposition.''[Williamson,BookDesign,p160]TheChicagoManualofStyleprovidesauthorswiththe``dosanddon'ts''forpreparingtablesinmanuscripts.Inparticular,authorsareexpectedtopreparetablesonseparatepagesbecausethetableswillbecomposedseparatelyfromthetext.Therearesomecautionsalso.Forinstance,theUniversityofChicagoPressnolongerprefersverticalrulesintablesbecauseMonotypecomposition(usingmoltenmetalcastingofindividualletters),whichcouldinsertaverticalruleeasily,isnolongereconomical.Withphototypesettercomposition,verticalrulesaredifficultandexpensive:``Inlinewithanearlyuniversaltrendamongscholarlyandcommercialpublishers,theUniversityofChicagoPresshasgivenupverticalrulesasastandardfeatureoftablesinthebooksandjournalsthatitpublishes.Thehandworknecessitatedbyincludingverticalrulesiscostlynomatterwhatmodeofcompositionisused,andinthePress'sviewtheexpenseofitcannolongerbejustifiedbytheadditionalrefinementitbrings.''[,TheChicagoManualofStyle,1982,p325-326]MathematicsAlthoughtherewerenomathematicsinthisexperiment,publisherstreatmathematicalnotationverydifferentlythantextualmaterial.KernighanandCherrynotethisdifficultyintheirpaperoncomputertypesettingofmathematics[Kernighan&Cherry,eqn]wheretheyquotethefollowingfromTheChicagoManualofStyle:``Mathematicsisknowninthetradeasdifficult,orpenalty,copybecauseitisslower,moredifficultandmoreexpensivetosetintypethananyotherkindofcopynormallyoccurringinbooksandjournals.''[,AManualofStyle,1969,p295]Somepublishersspecializeinmathematicalandscientificdocuments.Theyutilizebothskilledcopyeditorsandspecialsupplierstohandlethedifficultmathematicalmaterial.OtherNorthAmericanpublisherssendmathematicscopytotheFarEast,wherehotmetalcompositionprovidesthequalityandcheaplaborratesreducethecost.vïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)qï^ùî¶î;î3îNî"ˆî%jî+ßî0úî3÷î9pî=Aî?î@U ï\Æî¶î�îË îuî%òî'îî-~ sî7öï\Æï\Æî8Y î?çîCtïZ”î¶îxïWŽî¶îîdî�î!xqïWŽî%�î,Iî2/î5éî8Âî<¢î?åîE£ïU\î gîçîœî  î$Ðî&ü î.Ùî4¿î7Šî>lî@qïS)î gîîŠîôî�î$ªî'ƒî,8î/lî1Àî9‚ îA7îELïP÷î gî²î�îKî•î# î'qî*¤î1kî4D îYïNÅî gî¤îî0î¸î#ƒî'Œî)�î.Eî4mî»yî@ ïL’ïL’î@ôïJ`î gqïJ`îøîîî£îî. î'Ùî, î7® îAgïH.î gîpî:î}îÀ ïE(î¶î*îáîîéî"bî)ßî.ºî4œî;ÿî?¶ ïBõî¶ î1î1 î#[î%“î,#î0‡î3¡î89î:Ýî@ÎîDþîG(ï@Ãî¶î“îMî‚î#[î%ƒî(î-qî0×î7Jî:Ëî<‰ îE$ï>‘î¶î· î!î#¥î+0î1;î5ƒî7wî<^î? îD„ï<^î¶îEîJ îŽî!7î%wî(®î*§î-uî2¯î6„î9Rî?ˆîAŽîCîF ï:,î¶îî³îUî üî$ î," î4Èî6©sî=/ï:,ï:,î=’î@ îCï7úî¶îËî„îPîîî9xï4 î g qï0Fî¶îîLîGî!µ î+:î->î0g î9s îA^ï.î g î‹îî » î(Ìî,“î2î9sîA®ï+âî gîýî¶îÞ îõî!ùî%èî*�î,þî4d î<¹î>Ê sï)¯î gî5qï)¯îjî!Sî%î)¨î,�î3Ëxî7àï)¯ï)¯î8öî;1îAŽï'}î gî^qîåï'}ï'}ï$wî¶ îGîÿî!oî#wî&Sî*•xî,œï$wï$wî-pqî2ï$wï$wî3xî50ï$wï$wî6qî:9ï$wï$wxî;Eï$wï$wî;ÿqï$wî?îE;îFÙï"Eî¶îPîŸîçî#/î'~î/î1î3¨î5±î9cî=0î@\îDºï î¶îÎîÑîÓî$2î&>î+î.] sî5ðï ï î6Sî8–î:)î?EîAîDÕïàî¶îqïÚî¶îP î: î#’î%– î/ºî2ü î9Þ îC:ï¨î gî^î@îxîtî#âî'%î,†î3‚î5†î:õî=Îïuî g î‹îüî"¾î'­î/9 î7$î; îDŠïCî gîkîDî^îgyîPïCïCîLî jqïCî%F î.”î5@î8î=¢î@åïî gî²î îîÛÿ;TVm$G2DOCUMENTCOMPOSITION2-6IllustrationsThetreatmentofillustrationsvariedwidelyinthepublishingexperimentdescribedinOneBook/FiveWays.Inoneinstance,apublisherchosetohaveanartistpreparelinedrawingsratherthanincludehalftonephotographsbecausetherewerenoconvenientlocalsupplierstocreatehalftonescreensforthephotographs.Incontrast,anotherpublisherplannedphotographsfortheopeningpageofeachchapteraswellasformostoftheillustrations.Generally,illustrationsarepreparedseparatelywhilethebookisbeingcopy-edited,andarethenmanuallyassembledontothecompletedpages.PageLayoutExaminingthebookdesignandpagelayoutusedbymostpublishersrevealsmainlytheresultsratherthanthedesignprocessitself.Pagedummiesandsamplepagesaretheusualproductsofthedesignprocess.Pagedummiesaresketchesofthepagelayoutspreparedbythegraphicdesignerforapproval.Samplepagesarepagestypesetandassembledbythecompositionsupplier.Bothtechniquesmayrequireseveraliterationsbetweendesigner,supplier,andpublishertomakecertainthatthepublisherissatisfiedandthatallthestyleguidelinesarefollowed.Unfortunately,suchaniterativedesignprocessgenerallymeansthatthepublisher'sguidelineshaveneverbeencompletelyspecified,frustratingthoseattemptingtobecomeasupplierwithnewtechnology.2.1.2RolesinvolvedinproducingabookThedocumentproductionprocessiscomplex.Tohelpunderstandtheprocessbetter,thissectionexaminestheindividualrolesofpeopleinvolvedinproducingapublisheddocument.Anthropomorphism,ortheattributionofhumanbehaviortosomeproblem,hasprovenbeneficialinmakingcomplexparallelprocessesmoreeasilyunderstood[Dyment,Corkscrew][Booth&Gentleman,Anthropomorphism].Aninteractivepaintprogram[Beach,Paint]wasimplementedusingmultipleprocesses,whereanthropomorphismservedtoclarifyandsimplifytherelationshipsoftheparallelprocesses.Throughcataloguingtherolesinvolvedindocumentproduction,thestructureoftheproblembecomesapparentasasetofintegratedprocesses.vïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)xï^õî g qï[î¶îî“î¤ î%‰î*�î/Óî1×î4° î<Ð ïXéî gîÍxîÑïXéïXéîîYî!yqî%YïXéïXéî&ÿî)+î,`î3'î4Œî;Øî@eîBiïV·î gî»îÞîìî-î#(î(î+Ìyî1¥ïV·ïV·î2¡qïV·î8„ îAüïT…î gî¥î î îoî#]î*Yî,]yî1-ïT…ïT…î2)î8 qïT…î>¶îAfïRRî g îçîî²î%¿î- î3h î<àî?�ïP î gîÃî±îÃî—î"~î$‚î(î* î,¹î0Âî2Óî5¬ î?™ ïMîî g îLîî î&Èî+:î.î2Cî3÷î8„ îAâîE$ïK»î gî.î^îHî#î%ôî-úxïGâî gî}qïDî¶îîáîî$=î'î+mî0rî4Sî6´î:½ îB§ïAÖî gîâîºîçîÄî"‹î%dî*�î0[yî5kïAÖïAÖî6tî9êqïAÖîA‘yï?£î gî�qï?£îÓî�îvî!Ïî(—î*¨î-�î2­î9î=zîD�ï=qî gîßîðîÉî·î!Zî(Vî*¸î-‘î3wî:î<¸ï;>î gîMîÚî¤î1î#Èî' î.ôî1Uî4. î=}ï9 î gîp î«îIî"î'� î.²î56î<1îBøï6Úî gî³î·î)î˜î"öî%Ïî-î.Ïî5+î8nî;Ìî>î@øï4§î g î6îîÎ î)íî-Âî0î6rî;žîAiï2uî gî…îãî¼ î  î'ßî+Îî0Zî4c î<Ä ï0Cî g îlîÄ î! î#î)+î*�î0íî4§î8+ vï,iî gîTîîîIî?î$×î&Iqï(�î¶îîÕ î#Eî)î*Äî2kî5î8º îAQï&]î gî2î_î‡î î'?î* î1èî5âî7óî=UîD ï$+î gîDîªîEî&î57î7Vî:/ îB\ï!øî gîýîÑîÕî î&(î)î.° î60î84î>ïÆî gîLî|îÆî"R sî*öïÆïÆî+Yî1 î81ï”î gqî™ï”ï”î@î î%î)Msï”î/Þî4±qï”î8Ãî;÷ ïaî gîÌî^ îøî#âî26î7aî9fî>wîA¹ï/î gî@ îßîðîÉî#­ î+åî2¹ î;wî>Pïýî gîî#îÙ î%³î(Œî/nî1€î4Yî:÷ïÊî gîIîMî²î;îL î# ÿDTVm$ý2DOCUMENTCOMPOSITION2-7AuthorTypistAcquisition EditorMarket ReviewerTechnical ReviewerProduction EditorCopy EditorGraphic DesignerIllustratorCompositorIndexerPaste-up Artist^_qD^_qD@»À» D@^_1»ÀD@D`»À^AqD^AqD@»À» D@^A1»ÀD@D`»ÀCamera OperatorPrinterBinder~_Q~AQ»À» D@D@>_QD@D`»À»À^]aD^]aCÀ¼@¼ CÀ^]A¼@CÀCà¼@^[aD^[aCÀ¼@¼ CÀ^[A¼@CÀCà¼@^YaD^YaCÀ¼@¼ CÀ^YA¼@CÀCà¼@^WaD^WaCÀ¼@¼ CÀ^WA¼@CÀCà¼@^UaD^UaCÀ¼@¼ CÀ^UA¼@CÀCà¼@^SaD^SaCÀ¼@¼ CÀ^SA¼@CÀCà¼@^QaD^QaCÀ¼@¼ CÀ^QA¼@CÀCà¼@^OaD^OaCÀ¼@¼ CÀ^OA¼@CÀCà¼@^MaD^MaCÀ¼@¼ CÀ^MA¼@CÀCà¼@^KaD^KaCÀ¼@¼ CÀ^KA¼@CÀCà¼@^IaD^IaCÀ¼@¼ CÀ^IA¼@CÀCà¼@^GaD^GaCÀ¼@¼ CÀ^GA¼@CÀCà¼@^EaD^EaCÀ¼@¼ CÀ^EA¼@CÀCà¼@^CaD^CaCÀ¼@¼ CÀ^CA¼@CÀCà¼@^]Ñ^^Ñ'^^Ñ'^]Ñ^]Ñ>]Ñ>^ÑD@D`»À»À~]Ñ»À» D@D@^^ñ'^^ñD@»À» D@^^±»ÀD@D`»À'~^Ñ'~]Ñ»À» D@D@'>^ÑD@D`»À»À'^]±^]±»ÀD@D`»À'^]ñD@»À» D@^[Ñ^\Ñ"^\Ñ"^[Ñ^[Ñ>[Ñ>\ÑD@D`»À»À~[Ñ»À» D@D@^\ñ"^\ñD@»À» D@^\±»ÀD@D`»À"~\Ñ"~[Ñ»À» D@D@">\ÑD@D`»À»À"^[±^[±»ÀD@D`»À"^[ñD@»À» D@$^[Ñ$^\Ñ'^\Ñ'^[Ñ$^[Ñ$>[Ñ$>\ÑD@D`»À»À$~[Ñ»À» D@D@$^\ñ'^\ñD@»À» D@$^\±»ÀD@D`»À'~\Ñ'~[Ñ»À» D@D@'>\ÑD@D`»À»À'^[±$^[±»ÀD@D`»À'^[ñD@»À» D@.^]Ñ.^^Ñ/^^Ñ/^]Ñ.^]Ñ.>]Ñ.>^ÑD@D`»À»À.~]Ñ»À» D@D@.^^ñ/^^ñD@»À» D@.^^±»ÀD@D`»À/~^Ñ/~]Ñ»À» D@D@/>^ÑD@D`»À»À/^]±.^]±»ÀD@D`»À/^]ñD@»À» D@'^YÑ'^ZÑ*^ZÑ*^YÑ'^YÑ'>YÑ'>ZÑD@D`»À»À'~YÑ»À» D@D@'^Zñ*^ZñD@»À» D@'^Z±»ÀD@D`»À*~ZÑ*~YÑ»À» D@D@*>ZÑD@D`»À»À*^Y±'^Y±»ÀD@D`»À*^YñD@»À» D@'^WÑ'^XÑ(^XÑ(^WÑ'^WÑ'>WÑ'>XÑD@D`»À»À'~WÑ»À» D@D@'^Xñ(^XñD@»À» D@'^X±»ÀD@D`»À(~XÑ(~WÑ»À» D@D@(>XÑD@D`»À»À(^W±'^W±»ÀD@D`»À(^WñD@»À» D@)^UÑ)^VÑ*^VÑ*^UÑ)^UÑ)>UÑ)>VÑD@D`»À»À)~UÑ»À» D@D@)^Vñ*^VñD@»À» D@)^V±»ÀD@D`»À*~VÑ*~UÑ»À» D@D@*>VÑD@D`»À»À*^U±)^U±»ÀD@D`»À*^UñD@»À» D@*^SÑ*^TÑC^TÑC^SÑ*^SÑ*>SÑ*>TÑD@D`»À»À*~SÑ»À» D@D@*^TñC^TñD@»À» D@*^T±»ÀD@D`»ÀC~TÑC~SÑ»À» D@D@C>TÑD@D`»À»ÀC^S±*^S±»ÀD@D`»ÀC^SñD@»À» D@*^QÑ*^RÑ.^RÑ.^QÑ*^QÑ*>QÑ*>RÑD@D`»À»À*~QÑ»À» D@D@*^Rñ.^RñD@»À» D@*^R±»ÀD@D`»À.~RÑ.~QÑ»À» D@D@.>RÑD@D`»À»À.^Q±*^Q±»ÀD@D`»À.^QñD@»À» D@*^MÑ*^NÑ,^NÑ,^MÑ*^MÑ*>MÑ*>NÑD@D`»À»À*~MÑ»À» D@D@*^Nñ,^NñD@»À» D@*^N±»ÀD@D`»À,~NÑ,~MÑ»À» D@D@,>NÑD@D`»À»À,^M±*^M±»ÀD@D`»À,^MñD@»À» D@,^KÑ,^LÑ.^LÑ.^KÑ,^KÑ,>KÑ,>LÑD@D`»À»À,~KÑ»À» D@D@,^Lñ.^LñD@»À» D@,^L±»ÀD@D`»À.~LÑ.~KÑ»À» D@D@.>LÑD@D`»À»À.^K±,^K±»ÀD@D`»À.^KñD@»À» D@0^IÑ0^JÑ6^JÑ6^IÑ0^IÑ0>IÑ0>JÑD@D`»À»À0~IÑ»À» D@D@0^Jñ6^JñD@»À» D@0^J±»ÀD@D`»À6~JÑ6~IÑ»À» D@D@6>JÑD@D`»À»À6^I±0^I±»ÀD@D`»À6^IñD@»À» D@.^OÑ.^PÑ3^PÑ3^OÑ.^OÑ.>OÑ.>PÑD@D`»À»À.~OÑ»À» D@D@.^Pñ3^PñD@»À» D@.^P±»ÀD@D`»À3~PÑ3~OÑ»À» D@D@3>PÑD@D`»À»À3^O±.^O±»ÀD@D`»À3^OñD@»À» D@7^GÑ7^HÑ:^HÑ:^GÑ7^GÑ7>GÑ7>HÑD@D`»À»À7~GÑ»À» D@D@7^Hñ:^HñD@»À» D@7^H±»ÀD@D`»À:~HÑ:~GÑ»À» D@D@:>HÑD@D`»À»À:^G±7^G±»ÀD@D`»À:^GñD@»À» D@:^EÑ:^FÑ<^FÑ<^EÑ:^EÑ:>EÑ:>FÑD@D`»À»À:~EÑ»À» D@D@:^Fñ<^FñD@»À» D@:^F±»ÀD@D`»À<~FÑ<~EÑ»À» D@D@<>FÑD@D`»À»À<^E±:^E±»ÀD@D`»À<^EñD@»À» D@?^CÑ?^DÑB^DÑB^CÑ?^CÑ?>CÑ?>DÑD@D`»À»À?~CÑ»À» D@D@?^DñB^DñD@»À» D@?^D±»ÀD@D`»ÀB~DÑB~CÑ»À» D@D@B>DÑD@D`»À»ÀB^C±?^C±»ÀD@D`»ÀB^CñD@»À» D@B^AÑB^BÑC^BÑC^AÑB^AÑB>AÑB>BÑD@D`»À»ÀB~AÑ»À» D@D@B^BñC^BñD@»À» D@B^B±»ÀD@D`»ÀC~BÑC~AÑ»À» D@D@C>BÑD@D`»À»ÀC^A±B^A±»ÀD@D`»ÀC^AñD@»À» D@:^OÑ:^PÑ;^PÑ;^OÑ:^OÑ:>OÑ:>PÑD@D`»À»À:~OÑ»À» D@D@:^Pñ;^PñD@»À» D@:^P±»ÀD@D`»À;~PÑ;~OÑ»À» D@D@;>PÑD@D`»À»À;^O±:^O±»ÀD@D`»À;^OñD@»À» D@;^IÑ;^JÑ<^JÑ<^IÑ;^IÑ;>IÑ;>JÑD@D`»À»À;~IÑ»À» D@D@;^Jñ<^JñD@»À» D@;^J±»ÀD@D`»À<~JÑ<~IÑ»À» D@D@<>JÑD@D`»À»À<^I±;^I±»ÀD@D`»À<^IñD@»À» D@<^GÑ<^HÑ=^HÑ=^GÑ<^GÑ<>GÑ<>HÑD@D`»À»À<~GÑ»À» D@D@<^Hñ=^HñD@»À» D@<^H±»ÀD@D`»À=~HÑ=~GÑ»À» D@D@=>HÑD@D`»À»À=^G±<^G±»ÀD@D`»À=^GñD@»À» D@=^EÑ=^FÑ>^FÑ>^EÑ=^EÑ=>EÑ=>FÑD@D`»À»À=~EÑ»À» D@D@=^Fñ>^FñD@»À» D@=^F±»ÀD@D`»À>~FÑ>~EÑ»À» D@D@>>FÑD@D`»À»À>^E±=^E±»ÀD@D`»À>^EñD@»À» D@3^]Ñ3^^Ñ4^^Ñ4^]Ñ3^]Ñ3>]Ñ3>^ÑD@D`»À»À3~]Ñ»À» D@D@3^^ñ4^^ñD@»À» D@3^^±»ÀD@D`»À4~^Ñ4~]Ñ»À» D@D@4>^ÑD@D`»À»À4^]±3^]±»ÀD@D`»À4^]ñD@»À» D@6^]Ñ6^^Ñ7^^Ñ7^]Ñ6^]Ñ6>]Ñ6>^ÑD@D`»À»À6~]Ñ»À» D@D@6^^ñ7^^ñD@»À» D@6^^±»ÀD@D`»À7~^Ñ7~]Ñ»À» D@D@7>^ÑD@D`»À»À7^]±6^]±»ÀD@D`»À7^]ñD@»À» D@>^]Ñ>^^Ñ?^^Ñ?^]Ñ>^]Ñ>>]Ñ>>^ÑD@D`»À»À>~]Ñ»À» D@D@>^^ñ?^^ñD@»À» D@>^^±»ÀD@D`»À?~^Ñ?~]Ñ»À» D@D@?>^ÑD@D`»À»À?^]±>^]±»ÀD@D`»À?^]ñD@»À» D@'n^Q'nXQ¼@¼ CÀCÀ'N^QCÀCà¼@¼@*nZQ*nNQ¼@¼ CÀCÀ*NZQCÀCà¼@¼@,nNQ,nLQ¼@¼ CÀCÀ,NNQCÀCà¼@¼@3NPQ3N^QCÀCà¼@¼@3nPQ¼@¼ CÀCÀ:nPQ:nFQ¼@¼ CÀCÀ:NPQCÀCà¼@¼@>NFQ>N^QCÀCà¼@¼@>nFQ¼@¼ CÀCÀ?n^Q?nDQ¼@¼ CÀCÀ?N^QCÀCà¼@¼@BnDQBnBQ¼@¼ CÀCÀBNDQCÀCà¼@¼@;nPQ;nJQ¼@¼ CÀCÀ;NPQCÀCà¼@¼@QÑ/>RÑD@D`»À»À/~QÑ»À» D@D@/^Rñ0^RñD@»À» D@/^R±»ÀD@D`»À0~RÑ0~QÑ»À» D@D@0>RÑD@D`»À»À0^Q±/^Q±»ÀD@D`»À0^QñD@»À» D@/n^Q/nRQ¼@¼ CÀCÀ/N^QCÀCà¼@¼@0nRQ0nJQ¼@¼ CÀCÀ0NRQCÀCà¼@¼@4^OÑ4^PÑ5^PÑ5^OÑ4^OÑ4>OÑ4>PÑD@D`»À»À4~OÑ»À» D@D@4^Pñ5^PñD@»À» D@4^P±»ÀD@D`»À5~PÑ5~OÑ»À» D@D@5>PÑD@D`»À»À5^O±4^O±»ÀD@D`»À5^OñD@»À» D@4n^Q4nPQ¼@¼ CÀCÀ4N^QCÀCà¼@¼@.NLQ.N^QCÀCà¼@¼@.nLQ¼@¼ CÀCÀCNBQCNTQCÀCà¼@¼@CnBQ¼@¼ CÀCÀFigure2-2.AHYPOTHETICALPUBLISHINGPROCESSindicatingtherolesandtheirinteractionsatvariousstages.Thehorizontalaxisrepresentselapsedtimeandthethinverticallinesjoinactivitiesthatbeginorendatthesametime.Delaysorinactivityarenotshown,butmayexistatmanyplacesintheprocess.(Aside:AnexampleofthelackofintegrationinelectronictoolsoccurredwhenpreparingFigure2-2.Thereare15textlabelsandthefirstversionoftheillustrationcontainedtwospellingmistakes.Becausetheillustrationwaspreparedwithaseparateillustrationtoolandwasnotintegratedwiththedocument,thespellingtoolusedonthetextofthischapterwasunabletofindthemistakesintheillustration.)Animportantthingtorememberwhilereadingthiscategorizationofrolesisthatthedescriptionsrelatetoactivitiesandnotpeople.Sometimespeoplemayfillseveralrolesatonce,suchasanauthorwhotypesandcomposesthemanuscript,oragraphicdesignerwhodoesthelayout,illustration,andpaste-up.Theuseofdocumentcompositiontoolsinuniversitiesandresearchlabshastendedtoencourage(orforce)authorstotakeonmultipleroles.Fromthisexperience,peoplemayfalselyconcludethateachjoblookseasierthanitis,especiallywhentheyarenotawareofwhattheyaredoingwrong.Concentratingoneachroleseparatelyhelpsustounderstandtheprocessandtorealizetheskillsnecessarytoaccomplishallaspectsofthatspecialist'sjob.vïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)î gï`þ;ˆ#zî^ï^î^ï\î^ïZî^ïXî^ïVî^ïTî^ïR î^ïNî^ïL î^ïJ î^ïPî^ïHû#û#î^ïFî^ïDî^ïBû#û#û#û#û#û#û#û#û#û#û#û#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#øxûøû#û#û#û#û#û#û#û#û#û#û#û#û#û#û#û#û#øxûøû#û#û#û#û#û#øxûøû#û#û#û#û#û#û#wï> î gîÀ{îñï> wï> {î7ï> ï> î& ï> îá ï> î&¢wï> î,m î2Àî5î8zî;î>` îEÞï<"î gî#î"îû î{î"] î(Þî-°î0Êî3jî5Éî8 î=~î@¸ï:6î g î,îî¸î|îî¿î!î$šî(�î-î.Ú î4Ëî7)î9�î>"î@‹îCyï8Jî gîî¾îàî‚îáî gï6þ;ˆ#qï3î¶î€îJîÛî ìî#Åî'<î)M î1¡î3¥ î;%î? ï0ßî gîÚîZî­î!Œî&[î)&î+lî.¯î3Vî6˜î9qî<ÛîB˜îD©ï.­î g î­î;îpî%Šî-=î3Œî6e î>«ï,{î gîcîî‚îì î'3î*�î-Ñî1î3ù î;»î?uï*Hî gî‡î`îyî Öî$·î'%î)þî-Aî/Rî2zî8aî;–îAîC ï(î gî@îëîïîÈ ï%î¶î€î(îsî xî(aî,Óî2Æî5î î@mîB~îFyï"Þî gîÅîž î¹î Fî"J î)î,Sî/Fî5¯î>îCqï «î gîüîwîqî\î´î"ˆî$�î&àî,'î/Æî4î7Tî>Æïyî g î[îyîÞîÄî%Uî(ôî,Çî/ î5 î=¿îAïGî gîÑîÄîÕî‹ î%Úî)Õî+Ù î4{î7¾î>5îAŸïî gîäîèîÅîuî#6î)î+!î.³î1 î7²î<µîANïâî g î îkî î#'î*$î-‚î1Vî4;î8’î=9îAîB›ï°î g îÙîLîùîÃî!¶î&xî(‰î,’î0?î3 î7±î=É ï}î gîÕî©î îºî"î$?î&C î.Úî1³î7~î:Áî<ÅîAýïKî gî‰îÓîØ î"aî$´î*Kî,\î/º î7¿.ÅTVm$±2DOCUMENTCOMPOSITION2-8·AuthorofthemanuscriptTheauthorcreatestheoriginalmanuscript.Generally,themanuscriptistextualmaterial,althoughforsomesubjectareastherewillbevastquantitiesofmathematicalnotation,computerprograms,tables,linedrawings,orphotographs.Theauthormayproduceseveraldraftmanuscriptswiththeassistanceofatypist.Someauthorsnowdotheirowntypingwithwordprocessorsortexteditors.Sophisticatededitorialtools,suchasthedictionandwritingstyleanalysistoolsofferedintheUNIXWriter'sWorkbench[Cherry,WritingTools][Macdonald,Writer'sWorkbench]andinothercommercialeditingsystems[Alexander,EditorAids],maybeusedbyanauthortoimprovethequalityofthewriting.Adraftmanuscriptissubmittedbyanauthortoanacquisitioneditororjournaleditorforconsideration.Afterafavorablepublishingdecision,theauthorcompletesthemanuscriptandaddsfrontmatterthatmayincludeapreface,anintroduction,acknowledgements,etc.Ifthedocumentistobeindexedorhaveotherreferencematerial,theauthormayneedtopreparethismaterialalso.Thecompletedmanuscriptissenttotheproductioneditor,whobeginsthepublicationprocess.Somepublisherswillnowacceptmanuscriptsubmissioninelectronicform,suchaswordprocessordiskettesormagnetictape.Theauthormaybeinvolvedinreviewingdecisionsmadebythepublisher.Thecopyeditorwillmarkthemanuscriptwithsuggestedchangesandquestionstobedealtwithbytheauthor.Thegraphicdesignerorillustratormaysenddraftsofthebookdesignandillustrationartworkforreviewandapproval.Theremayalsobeanindexerinvolved,whomaysendthepreliminaryindexentriestotheauthorforreview.Theauthormustalsocheckthecompositionprocessbyfirstlookingatthegalleysandlateratproofsoftheassembledpages.·TypistThetypistpreparesthedraftmanuscriptfortheauthorusingatypewriter,wordprocessor,ortexteditorprogram.Typewritercompositioninvolvesonlysimpletypography,typicallywithonlyasmallnumberoftypestyles.Technicaltypingwithmanymathematicalsymbolsismuchmoredifficultandtimeconsuming;sometypistsresorttohandprintingsymbolsthatareunavailableonthetypewriter.Thelayoutoftypewrittenmaterialisfreeformandrequirementsarequiterelaxed.Tablesareeasilylaidoutwithfixed-widthcharactersonatypewriter.vïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)xï^õî gî Ùîgî^î qï[î¶îîgîÕî ®î&º î0K î8\î;5 îC¾ïXéî gîÖî©î‹î";î&…î,î0Lî4‹î7¿î:î=o îDýïV·î g î‹îyî$ßî,“î1²î4ôîw ïT…î gîÑîî¶î!î$œî(¥ î1Îî5‡î8` î?ÓîAäyîCIïT…ïT…îCÎqîG^ïT…ïT…ïRRî gîîçî…îôî âî$�î) î-Yî1— î9€î;žî>áïP î g îîî!hî%=î'Aî*î/£î2åî8ˆî<\îBuïMîî gî$î(sîïMîïMîî qïMîîoî!½sî*°ïMîïMîî+î0î5(î9U îACïK»î g qïK»îYîœî îø î&Ðî,Ysî2XïK»ïK»î2» î9¶î=úqîAïK»ïK»îBîE»ïI‰î gîIîªîýîEîIî"Íî%¦î+/î-@î0ïFƒî¶î‘î› î%îÙî'�î)ñî,Dî1‹î3�yî5äïFƒïFƒî6Ò î>áqïFƒîCòyïDQî gîYqïDQîjî î%Dî)œî+î2> î:^îA1ïBî gî®îcî< î$Æî(î+êî0 î5Gî8¥îðî@õï=¹î gî©îÈî¶îî$?î+î-ëî32î6Ðî:Ùî<ÞîBëï;‡î gîÐî4îžî"£ î+,î,áî0Xî2]yî56ï;‡ï;‡î61î>4qîB¦ï;‡ï;‡îC¯ï9Uî gî“îl îî#ãî(} î0gî3›î7:îS ï î gî¤ îYîwîºî"‰î*< î2ª î;ùîBaïÖî gî­ îÈî!gî%!î(Ùî*>î.–î4Ëî6Üî:‰î@ï¤î gî†î@îÌ î#ðî*Lî,î0œî4æî;)î>lïrî g îLî–î¶î#]î%aî)“î/âî6>î9œî' ï î gî2îpîCî‰î"Sî&ßî*!î-î0Î î9š îAPîC¾ïÛî g (TVm$±2DOCUMENTCOMPOSITION2-9Thehumantypistfrequentlyactsasabuilt-inspellingcheckerandcopy-editingservicewhiletranscribingthemanuscript.Thereareseveraldraftspreparedduringthecreationofamanuscript.Ifeachdraftisretypedtoincorporatechanges,thereisastrongtendencytoreducethenumberofdraftsbecauseoftheeffortrequired.Often,thecompletedmanuscriptcontainspartialpageinsertspastedorstapledtogether.·AcquisitionEditororJournalEditorTheacquisitionseditorsolicitsandreviewsnewmanuscriptsfromauthors.Opinionsofreviewersaresoughttodetermineifthemanuscriptshouldbepublished.Thepublishingdecisionismadebyapublicationboardoracommitteeofjournaleditorsandisconcludedbythesigningofapublicationcontractoragreementbetweenthepublisherandtheauthor.·ReviewerorRefereeAmanuscriptreviewermaybeaskedbyapublishertogiveoneofseveralopinions.Bookpublishersrefertothesepeopleasreviewers,andjournaleditorsrefertothemasreferees.Reviewsmadeearlyintheprocessseektoestablishthemarketabilityofamanuscriptortheappropriatenessofajournalarticle.Later,morecomprehensivereviewsseektoassessthesubjectcoverage,researchcontributions,andtechnicalaccuracyofthemanuscript.Reviewersaregenerallymostconcernedwithdocumentcontent,althoughinsomespecialcasestheymayalsoconsidertheformatorstyleofamanuscript.Somereviewersoftechnicalmaterialmayusetheirowntypesettingcapabilitiestocapturetheircommentsinthecomplexnotationofthesubjectarea,suchasmathematicsorcomputerprogramming.Insomecases,suchascomputersciencejournals,thereviewsmayevenbetransmittedelectronicallyviaelectronicmailnetworks.·ProductionEditorTheproductioneditorcontrolsthedocumentproductionprocess.Initiallytheproductioneditordealswiththeauthortoensurethatthemanuscripthasallnecessaryillustrations,thatallthesectionsofthemanuscriptarefinished,andthatpermissionisobtainedtoreproduceitemsfromothersources.Copiesofthecompletedmanuscriptaresentinparalleltothecopyeditorforeditorialrevisionsandtothegraphicdesignerforbookdesignandillustration.vïfåîcîÖwî! ïfåïfåî"@vïfåî)5wî*Yïfåïfåî+yuïfåîEéïfåîF¯ïfåîG)qï^ùî¶îî¶î7 î%.î(qî*uî+Úî1Àî7Úî=èï\Æî g îßîLî¿ î(Ìî+¥ ïYÀî¶î…îOîÊî!rî(nî-Âî0›î6êî8üî:a îCòïWŽî gî;îEîùîúîþ î&¼î-[î1™î3Nî4³î9·î@ÁîBÅïU\î gî@îuî†î.î"Wî$hî'Aî+Îî3‚î8¡î;zïS)î g îñîhî ”î$‚î)®î.Ûî0ùî6�xïOPî gî Ù î[îaîrî#OqïKvî¶î îî âî&Cî)…î/iî2í î<î@+ïIDî gî‰yîšïIDïIDî:qïIDî�î [î%¯î'³î/ƒî1*î4 î<�îAîïGî g î ît î ”î&ýî(²î-2î/“î0ø î9�î>_î@}ïDßî gîyîŠî:î!¨î$êî&Ÿî.Šî0ëî3Äî9tî;…î<ê ïB­î gî¸îÖîÚî#_î&8î-ƒî0Æî3Ÿxï>Óî gî Ùî»îÌqï:ùî¶î‘ îî Æî$dî&¸î+Rî-´î/î6eî8iî;íî?!îA2ï8Çî gî'î~ î hî$cî&hî*¦î0î2 î9¿î=îB±ï6•î gîbîfî¥yî©ï6•ï6•îHqîöï6•ï6•î �î' î+ î/¶î1ºî4“î:^î> î@ ï4bî gî@ îHîZî¿ î%Hî'gî*@î6 î8î9�î?1ï20î gî6î€ î Æî&«î*Vî,[î1î3Úî9rî@¯ï/þî g îÚîî! î'Çî)Øî,± î6Bî>+î@öï-Ëî gîpîZîî#Êî*î0üî3î7Jî<«î@ÎîD{ï+™î gîÃîTî-îŽî ¬î$€î&‘î'ö ï(“î¶îPî™î«î$šî+î.¢î1”î5ƒî9! ï&aî g îðîõîÜî Êî(§î*«î-„î4"î:§î<¸î?‘ï$.î gîbî7î; îÀî!Þî)E î4–î6Âî; î?™îCnï!üî gîÍîqî )î#î(çî,…î0sî2Ç î;x îE�ïÊî g îçî xïðî gî Ù î&qïî¶î î�î ^î& î)yî1/ î9Ÿî@qïäî gî@ î¯îî ¯î$iî'Bî,‰î.Žî3Ôî72î: îB•îE‡ï²î gî± îî ^î"²î%‹î+²î-Ãî0œ î9&î;ñîBªïî gîÅ îîÌî  î"¥î*uî.Úî2ðî7Hî>îC–îE§ïMî gîl îöîÀî#8î%<î+!î-%î/þî3úî8Éî;yï î gî9î|î€îYî!?î'Ðî*€î.°î3Üî7 ÿ‘TVm$,2DOCUMENTCOMPOSITION2-10Productioneditorscontactandselectappropriatesuppliersforgraphicartsserviceswhenthoseservicesarenotavailablewithinthepublisher.Tohelpmanageandtrackthevariousstagesofseveralpublicationsgoingonsimultaneously,theproductioneditormaintainsaproductiondatabaserecordingtheexpectedservices,thedateandtimeeachservicebeganandfinished,theestimatedandactualcostsincurred,andthecurrentstatusofongoingservices.Thisdatabaseexistseitheronpaperasthejobdocket(alargeenvelopethatcontainsallthepartiallycompletedresults)orinacomputerfile.·GraphicDesignerThegraphicdesignerprovidesthebookdesignandlayoutguidelines.Thisdesigncanonlybedoneeffectivelywhentheentiremanuscriptisavailable,althoughsomedesignsareattemptedwithincompleteinformationandlaterrevisedduringpublication.Thedesignguidelinesarewritteninaspecificationsheetorinastylesheettobesenttothecompositorwiththecopy-editedmanuscript(seetheexampleinthenextsection).Asdifficulttypographicsituationsarise,graphicdesignersmaydesignspecialguidelinesforthosenotcoveredinthegeneralscheme,suchasdesigningthelayoutfortables,andspecifyingthetypographyfornestedlistsofmaterialorforforeignlanguageextracts.Artworkfortheillustrationsmayormaynotbetheresponsibilityofagraphicdesigner,dependingonthedesigner'sagreement,talents,orinterests.Jacketorcoverdesignsmayalsobethegraphicdesigner'sresponsibility.·CopyEditorThecopyeditorensuresthatthemanuscriptmeetsthepublisher'shousestyleforlanguageusage,grammar,spelling,citations,references,illustrationcaptions,tablearrangements,headings,listsofitems,foreignlanguagephrases,etc.Thecopyeditordealswithalltheirksomedetailsthatwouldannoythereaderiftheywerenottreatedconsistently.Forexample,thecopyeditorcheckscrossreferencesfromonesectiontoanotherforcompletenessandverifiesthatcaptions,footnotes,andcitationsarenumberedsequentially.Missinginformationorreferencesandquestionablecorrectionsaresenttotheauthorforaction.Obviouslyelectroniceditingtoolsgreatlyassistthecopyeditortoaccomplishtheseconsistencychecks.Displayingboththecrossreferenceanditsreferentthroughmultipleviews(orwindows)ofamanuscripthelptocheckcrossvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g îãîQî î#Fî'Æ î0Ÿî7›î:Kî@1ï\Æî gîtîæî?î!Kî$î' î-éî3î5á ïYÀî¶îKîîîaî#„î&]î,î0Üî2íî8h îA«ïWŽî gîÕîwîP î%Àî*�î2î3t î;ãïU\î gîÌî¥î‡î#þî&×î*vî-¹î1î5Tî:Áî?žïS)î gî îùî_î ¢î%rî)nî0wî3¹î6’î ï>Hî gqï>Hî5îSîWyî¼ï>Hï>Hî�îÞqï>Hî¬î!±î$î'|î)€î,Y î4âî8œî;u ï<î g îñîMî&î!·î#»î&”î*@ï9î¶î0îs î!‚ î(Úî-$î3 î::î=ØîCï6Ýî g î6îæî>î1î$Yî&]î)6î/î5Bî9î;îB€ï4«î gîkîî:î} î$?î' î/Éî2yî7¥î:ôî=îCoîE�ï2yî gîîï/sî¶îFîöîÏ î$´î(Rî*pî.î1î3Vî6/ î@QîBbï-@î gîMîHî!gî#Õî&® î.H î6¶îw ï+î gîlî‹îýîÇî!fî$Áî'î)îî/Ô î7nxï'4î gî Ùîqï#Zî¶îîîëî!Ðî%.î( î0�î5Eî8 î@sï!(î gî;îëîØîÏî&Aî,Ä î3³ î;ë ïöî gîHî_ î!ùî)Cî,“î.¤î3sî9"î@ïÃî gîî}îxîHî xî$2î&…î)^î/Ÿî4Ëî8)î=-îB$ï‘î gî†î-îÚîÕîÇî#Q î->î0rî7mî:Fî>BîCï_î gî} îLîaî•î%î'#î-0î/à î9éî=+îBèï,î gîH îãî%î$ªî'tî/_ î9�ïúî g îsî‘ î`î"£ î,B î4£î7nî:åî<éî?ÂîE ïÈî gïÂî¶î‘ îî$šî(•î.î2Aî5î9î=åî?é ï �î gî¥ îIî˜ î'Þî+Àî.™î2®î9ßî=!î?Zï ]î gîªî<î»î kî'Ðî)áî+F î3Ðî7Šî9Žî>7ÿ1TVm$T2DOCUMENTCOMPOSITION2-11references;pattern-matchingsearchoperationspermitquickglobalchecks;styleanddictionanalysistoolsmaybeofassistanceincheckingthegrammar,spellingandlanguageusage.Thecopyeditormarksthemanuscriptforthecompositorbyidentifyingthelogicalpartsofthedocument,suchaschapteropenings,variouslevelsofsectionheadings,typesoflistsofitems,andcaptionsfortablesandillustrations.Selectingthetypographictreatmentofthoselogicalpartsistheresponsibilityofthegraphicdesigner,whospecifiestothecompositorthetypographyforeachpartinthestyleguidelines.·IndexerTheindexerpreparestheindexentriesforamanuscript,assignspageorreferencenumberstoeachentry,sortsthem,andcreatesanindexmanuscript.Theindexingjobmayormaynotbedonebytheauthor,althoughtheauthorusuallymustapprovetheindexmanuscript.Theindexerworkswiththemanuscriptintwostages:thecopy-editedmanuscriptpriortocompositiontodeterminetheindexentries,andthepageproofstoassignthecorrectpagenumberstothesortedindexentries.Therequirementforcorrectpagenumbersplacestheindexonthecriticalpathforpublicationandsomepublicationsomittheindextoreducethedelay.Electronicaidsforindexinghavenotproventobeapanacea.WinogradandPaxtoncreatedageneralsetofindexingtools[Winograd&Paxton,TEXIndexing],yettheindexstillrequiredhandeditingandfinetuning.Thedifficultyinpreparinganindexistheproperselectionandcrossreferencingofindexentrytermsorphrases.Skilledindexersstillproducebetterindicesthanmostcomputer-generatedonesbecausetheyindexonmeaning,notonaprecisephrasefoundinthemanuscript.·Illustrator,Draftsman,GraphicArtistTheillustrationsforapublicationarepreparedfrominitialartworkprovidedbytheauthor.Therangeofillustrationsfoundintechnicaldocumentsspansfinehand-drawnillustrationsproducedbyagraphicartist,engineeringdrawingspreparedbyadraftsman,andphotographssuppliedbytheauthororaphotographicservice.Oftenillustrationsareproducedbytracingtheauthor'ssketches,whichresultsinrevisioncyclesastheauthormoreclearlyindicateshisintentions.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g îÈî!�î&¯ î.³î4î8•î=‹îCdï\Æî gî©î3îLîGî"åî%9î'J î.½î0Áî7£î:|îAíïZ”î gî©î—ïWŽî¶îîîëî Ôî#­ î,6î.æî1¿ î:Hî<© îDüïU\î gîŸî¶îÇî î"Àî&•î(™î.€î5äî;¡î@.îB?ïS)î gî²îýîî^îoî$>î'€î-øî0¨î5]î8Ÿ ïP÷î gîpîI îWî&Ëî(Üî-5î2mî6„î88î; îE4ïNÅî gî@î&î!îÀî&Qî(Vî+/ î3·î6� î?AîAñïL’î gîßîãî¼î� xïH¹î gî ÙqïDßî¶îîî¾î"—î'$î,wî/'î0� î9€î>ûîBéïB­î gî—îkîpî Dî$ùî(Úî-‚î0Äî63î8†î= ï@zî gîÑî—î|îî9î"×î%Êî(î,Aî.¢î1{î7,î>î@çï>Hî gî î!î}îVî#ã î-uî0Þî6Ñî;Ÿî?Yï<î g îñîõî*î}î"V î+J î3Ôî7öî9û îCJï9ãî gî6îîœî!Zî$œî'uî+cî0‚î2†î7bî:;î?·ï7±î gî;î?îîî!�î'øî+b î4¿î7oî<ëî@Ùï5î gîQî*î·î%îþî#`î''î)× î2|î5¾î: îCKï3Lî gî@îÍîÑî3î ï0Fî¶ î…îïîŸî$eî(Sî+Fî0Ûî2àî54î6™î=ñï.î gî©î2îñîVî" î$©î&ºî-€sî1{ï.ï.î1Þî=ÍîA)qîFÎï.ï.ï+âî gî%îþî‹î²î _î$�î*î-[î0·î6ùî:c îAyï)¯î gîçî:îÇî|îUî$¶î+|î.¿î2Ô î;wî=ˆîBï'}î gîôîîîˆî&î)@î/«î4oî9øî=¿ï%Kî gîNî!î%Iî(öî-ƒî/ñî7î:îîDÕï7î g ÿ›TVm$+2DOCUMENTCOMPOSITION2-12Thegraphicdesignermayproduceillustrationartworkpersonallyormayestablishartworkguidelinesfororiginalsize,reductionfactors,lineweight,typography,shadingtextures,materials,andsoon.Reducingtheoriginalartworkimprovesthequalityofthelinedrawingsbymakingthelineweightsappearmoreconsistent(smallvariationsarelessnoticeable)andbysharpeningthecontrastintheimage.Carefulcoordinationofdimensionsandtextsizeontheoriginalartworkisnecessarytoensurethatthereducedartworksuitsthesurroundingtypographywhenassembledonthepage.·Keyboarder,Coder,orInputterThecompositionofadocumentisaccomplishedintwostages:enteringthemarked-upmanuscriptintoatypesettablefile,andthenoutputtingthefileonatypesettingdevice.Typicallythereisoneformatcodeforeachlogicalpartofthedocumentmarkedbythecopyeditor.Forexample,theremightbeacodeforthechapteropening,foreachlevelofsectionheading,forbeginninganindentedlistofitems,andforalineofatable.Thejobofenteringthemarked-upmanuscriptmaybefurthersubdividedintoseveralphases:assigningformatcodestothecopyeditor'smarks,designingthetypesettercodesforeachformat,andinputtingthemanuscriptcodesandtext.Thestylesheetprovidedbythegraphicdesignerdeterminestheappearanceofmarkeduppartsofthemanuscriptandhencethetypesettercodesrequired.Thetypesettablefilesmayeitherbeentereddirectly,onlessexpensiveslowtypesettingdevices,orkeptonsomestoragemedium(perhapspapertape,floppydiskettes,rigiddisksormagnetictape)formoreexpensivehigh-speedtypesetters.Correctionstothetypesetgalleyproofsaremostoftenmadebytypesettingcorrectedpiecesofthemanuscript,ratherthancorrectingthefilesandretypesettingtheentiregalley.Inthecaseoflargedocuments,managementofthecorrectionsisaconcernandposesdifficultiesforsubsequentusesofthedocument.·Compositor,TypesetterThecompositorproducestheactualtypesetoutput.Thispersonmayalsodothekeyboarding,butacompositormusthavetheskilltoenterspecifictypographiccodesforunusualordifficulttypesettingjobs,suchasformathematics,tables,illustrationlabels,copyfittextthatmustfitcertaindimensions,andsoon.Thecompositorrunsthetypesettablefilethroughthetypesettingdeviceandproducesthetypesetgalleysorpages.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶îîî—î#5î)  î1æî8 î?éîBï\Æî gî!î: î! î#¹î)Åî-cî4Éî:‡î=ÉïZ”î g î‚îœî"< î)®î,ðî/î2„î9øî<ÑïXbî gî�î£î|î"î$î&ïî*1î1,î3�î9qî ïSýî gî@îvîzîSî 6î&( î/Çî1Ø î:zî=½îAîD4ïQËî gî@îLîeîî$dî&iî+¯î/ î1æî87î>PîBïO˜î g î¶ îgî"Úî*Äî-2î0 xïK¿î gî Ù îæîî0qïGåî¶î înî€îåî'›î)O î3Žî5’î8Çî>îD‘ïE³î gîÖ î_î Éî". î+=î.Œî1Îî5• î=©î@‚îCgîEÕïC€î g î¼îãî"î&Qî(î+:î0šî4‰î79î; î@FîC½ïANî gî@îöîõîWî"0î&+î,î/7î61î:pî?2îA†îBëï?î gîîðî×î�î!Mî%!î)î+ î0©î7Uî:îA¹ï<éî gîIîùî îÙî î"Ìî$1î'sî)„î*éî0î3qî6Vî8gî>Þï:·î gîÖ î_î þî#Rî(è î1Xî4Âî:<î@yï8…î gî qï8…îNîSî,î (î&î+Rî2·î5� î=îAŸîDOï6Rî gî2îtî˜îq î'ûî,ˆî/Ëî4î7î;Sî?‘ï4 î gîÈî¡î‡î î&†î)_ î2î4î:î<�î@§îB¸ï1îî g îñî3îöîÏ î'Pî+Ýï.èî¶î î.î²î#Pî(î*Yî0Lî6©î9î<1îC½ï,µî g î¼îãîî »î#)î'sî-î3›î:bî? îCï*ƒî g î‹îxî›î¹î$Âî(óî+£î/íî7z î?Ü ï(Qî g î?îCîî³î$tî)’î,]î0eî4°î90î;‘ ï&î gî™îƒî”îm î&`î+=î/ î6ºî9“î=ï#ìî g î!îúî¯î#xî%£î(|î,î.î2' î:æ îDŸï!ºî gî@ î¡îUî»î ðî$2î(¥ î0Äî3t î< î?�îA®ï‡î gxï®î gî Ù îê qïÔî¶î î¨î"²î%‹î*[î/òî6Oî:î?iîCï¢î gîÕî® îŽî�îõ î(}î,”î0‚î3[î6Þî8ãî=!ïoî g îuîî³î"èî%î+J î3žî7Œî;aî=eï=î g îVîu î#»yî(Ìï=ï=î)ºî-$qï=î/4î2wî5Õî9ìî<ï î g îsîµîÔîIî!³ î*<î-õî0Î î9Üî<ÁîCï Øî g î¼îÛîî$'î'î,—î1÷î4CTVm$m2DOCUMENTCOMPOSITION2-13·Paste-upArtistMostdocumentsaretypesetingalleyformandlatercutandpastedintopageassemblies.Thepaste-upartistcollectsallthepiecesofthemanuscriptintheirfinalform:typesettext,runningheadswithpagenumbers,mechanicalartworkfortheillustrations,andphotographs.Pagesareassembledbycuttingapartthegalleysintopiecesthatwillfitoneachindividualpageandpastingthepiecesontopagelayoutforms.Theselayoutformsaretypicallyprintedwithlightbluelinesthatwillnotreproduceonphotographicnegativesforprinting.Thepaste-upprocessrequiresasharpknifeandawaxingmachine,whichcoatsthebackofphotopaperlightlywithwaxthathelpsthepaperadheretothelayoutformswhenthetwoarepressedtogether.Thewaxadhesiveispliablesothatthepiecescanbesafelyseparatedifthelayoutneedstochange.Paste-uponlyappliestophotocompositionsystemsthatproducepaperorfilmoriginaltype.Withmetalfoundrytype,theassemblyprocessinvolvesmovingmetaltypeslugsintoplaceandperformingcraftoperations,likesurroundingtypeslugswithfurnituretoprovidethespacingforpagelayout,orkerningindividualletterslugsbycuttingoffthecornerstomakethemfittogetherbetter.Somelegalorganizationshaverequiredmetaltypeforlegaldocumentstoavoidpotentialerrorsinelectroniccompositionsystemsusingphototypesetters[Leith,Metaltype];theywantedtoseeandverifythefinaltype.Thegraphicdesignermaypaste-upadocument,especiallyifthemanuscriptrequiresfrequentdesigndecisions.Insuchcasesitisquitedifficultafterwardtodeterminetherulesandlogicthatwereappliedtoaccomplishsomeofthecreativelayouts.·ProcessCameraOperator,StripperAfterthepageassemblystage,completedpagesarereadyforprinting.Dependingontheprintingprocess,itmaybenecessarytousealarge-formatgraphicartsprocesscameratopreparephotographicnegativesofeachpage.Thenegativesareinturnusedtoexposeprintingplates.Textandlineartillustrationsarephotographeddirectlyonveryhighcontrastnegativefilm,whereasphotographsarescreenedorhalftonedtoprovidethetonalvariationsonhighcontrastfilm.Iftheprinteriscapableofprintingseveralpagesinonepass,thenthestrippermustprepareanimpositionofseveralpagesintooneprintingsignature.Thegraphicartsprocessofproducingprintingplatesfromassembledpages(masterimages)hasbeenimitatedbytheconceptofrenderingvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbxï_î gî Ùî‰qï[,î¶îóîHîî$©î&­î+nî/„î2Æî6Œî9Yî<›îAÈïXúî gîU înî×î#…î'¨î-tî/Çî2 î7Šî9›îiî@ÊïRcî gî¥î~îÞîHî!2î$�î'Äî)ðî,^î02 î8î;ðî?3îDãïP0î gîQî%îîî#Óî(¢î-§î2[î5%î;ÄîA�ïMþî gyî;ïMþïMþî6î(qïMþîXî¶îêî!Ýî)­î, î6%î=Gî?÷ïKÌî gîÑî~îIî"¦î$ î(‹î,Èî0 î1pî7î>îBùïI™î gî@î/î@ î î#+î&äî*Nî-¬î2î4Ýî9…î>ôî@øïGgî gîkîî’îkî  î#kî)Pî0Ðî49î7£î>\î@îEïE5î gîÅîžîˆî–îêî!�î(éî*‘î-jî2nî7î9ïB/î¶îpî(î¾î!Ãî/6î55î8“î>þîC¦ï?üî gîëîöî«îÛyî#hï?üï?üî#ìî)ìqî--ï?üï?üî.6î1î8î=âï=Êî gîXîåî’î¨î"î&]î)Ÿ î2Bî6 î>„ï;˜î g î¶îcîyyî!2ï;˜ï;˜î!¶qï;˜î(bî*fî0sî3Lî92î;âî?ÐîE>yï9eî gqï9eîÐ î îëî#î%bî*ìî-�î0hî62î87î<©î@çï73î gîßîªîDî!1 î+8î/'î5Óî:`î> î@½ï5î gî¼îÀî@î"!î&âî(æ î0g î9µî?µï2Îî gsî«ï2Îï2Îîîî!qî#öï2Îï2Îî%&î(Óî.‘î0–î3`î6£î;Wî>0îBï/Èî¶îîî—î#5î)âî+Gî3g î:Úî<�î?Z ï-–î gîÄîqîœ î&¬î(Øî,­î0Ðî2kî4î8^î>¡îFï+cî gî6îîîZî"Uî%³î)®î/”î1™ î:"î>lî@}ï)1î gî‚xï%Wî gî Ùî±îÎî!qï!}î¶î îæîÕî!Ýî&jî.oî2üî5Æî:Sî=ïKî gîðî^î7î ‡î&»î(Vî+ôî.Hî5“î7—î:Šî;ï ïî gîMîuî@î ðî"ôî) î3 î:/î<@î@îE ïæî gîŠîTîXîøîÙî!Þî'Lî-›î3Xî7,î:nî=°ï´î g îLî î"¥î(˜î+î.²î2yî8®î?2ï‚î gî¶ î.îùî%¿yî'Þï‚ï‚î(Ùqï‚î/¸î1½î7Êî:£î>Ó ïOî gîÕîœîÑî]î,î"î'�î)5î/6î1Gî7–î=îAžîC¢ïî gîbî*îîî!4î'Byî)•ïïî)ÿqïî2*î4;î9µî>CîA¬ïëî gyî¶ïëïëîŠqîåïëïëï åî¶îîî-î!øî$ î+çî26î6ëî;îBêyï ²î gîÝqï ²î•îˆî ‘î'î)jî,Cî2^î4oxTVm$Î2DOCUMENTCOMPOSITION2-14device-independentimagemastersthroughpagedescriptionlanguageslikeInterpressfromXerox[,Interpress]andPostScriptfromAdobeSystems[,PostScript].·PrinterTheprintingprocessselectedbythepublisherdependsonthenumberofcopiesorimpressionsrequired.Short-runprinting(upto50copies)canbeprintedcost-effectivelywithaphotocopierfromapaperoriginal.Medium-runprinting(from50to1,000copies)canbeprintedwithanoffsetduplicatorusinganinexpensivepaper-basedprintingplate.Long-runprinting(from1,000to10,000copies)aregenerallyprintedwithhigh-speedoffsetprintingpressesinsignaturescontainingseveralpagesandusingmetalprintingplates.Ifthedocumentrequirescolor,thentheremustbeseparateimpressionsmadeforeachprintinginkcolor.Eachimpressionrequiresaseparatemasterimage,oneforeachcolorofink.Toprintimageswithafullrangeofcolors,separationsmaybepreparedbyanoutsidesupplierworkingfromaslidetransparencyofthecoloredimage.Forasmallnumberofflatcolors(typicallyblackplusoneortwocolors)theseparationsmaybemadebytheprocesscameraoperatorfromcolor-keyedpartsoftheoriginaldocument.·BinderTheprintedpagesmustbecollatedandboundtogethertoformacompleteddocument.Thebinderyspecializesintakingthebulkpages,possiblyinsignatureform,foldingthem,collatingtheminthecorrectsequence,sewingorotherwisefasteningthepagestogether,andtrimmingthepagestofinishedsize.Thecover,whetheracloth-coveredhard-cardboardcaseorastrongpaperback,isattachedaroundthedocument.Anyprintingonthecoverorjacketmustbedesignedandprintedintimeforbinding.Theresultisacompletedpublicationreadyfordistribution.2.2TheConceptofStyleItisimportanttoobservethatthereareanincrediblenumberofchoicesinthedesignparametersthatgointoproducingadocument.Howdopeoplemakethechoices?Whatcontrolsthechoices?Howarethechoicescommunicatedwhentheyaremade?vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî gîþîÚî%Íî,î/þ î8zî@ï\Æî g îî$sî¹ï\Æï\Æîî Y qï\Æî'8î*z î2Kî6`î;ÁsïZ”î g qîåïZ”ïZ”xïV¹î gî ÙqïRÞî¶îîoî:î%oî'Ñî*ªî1õî8{î:èî=ÁîC÷ïP¬î gîkîŠ î{î$/î+¾î2 î5î7î9eî>üîB ïNzî gî3îlî!&î"‹ î+´î/Éî1.î5Öî<ê ïLGî gî¶î]î£î¨îÿî%•î(£î*÷î0Âî4|î6Ðî;] îC;ïJî gî» î¬ î ðî'?î,]î3Âî:î>¸îCïGãî gî’î(îóî!î&Óî*� î2ïî7|î=ËîCayïE°î g qïE°î îî"”î'!î*dî.Éî3Vî9¥ïBªî¶î…î^îî"pî' î*Ñî/î3&î5zî;ä ï@wî gîçî—îkî»î  î%×î)û î2Mî8ªî:î@yï>Eî gî­îáî‘îeî•î!¦î%“î((î,?î1¹î5sî6Øî9åî>rî@ƒyï<î g qï<îöî•îéî"åî%Fî'šî-Xî3µî:î>2î?˜ï9àî g îî%îþî ãî&Æî)úî+`î/·î5ìî7ýî:ðî?¿ ï7®î gîÍî_î“î±îæî"Fî% î-¨î1Fî3šî8î:{î=Tï5|î gîî¶îË î%½î)Óî+åî.¾î4Éxï1¡î gî Ùqï-Æî¶îîëîxî!�î#ãî* î-Mî2‡î8ÿî;î?î@~ï+”î gî%îŽî© î&Ÿî(£î-§î0€î4Tî9Kî?§ï)aî gî}îüî¬î"Tî)î->î/Bî2î7—î?îD…ï'/î gîÌîÕî®î";î)î,^î3›î6tî;î=îCUï$ýî gîÑî­î îp î&® î2Sî5×î7öî9[î>_îCï"Êî gîî¯î`î9î%öî)”î/äî2Rî5+î9�î;»î@~îD”ï ˜î gîHîŠîVîZî"!î$Ñî+óî/]î3êî5Ÿî7î? ïfî gîôî¤ tï<î gîŠî†îîiqïaî¶îxî-îÕîÙî"æî&Dî*‚î-Lî/  î7Uî=Šî?œîEZï/î gî@îl îÚî 8î"‹î%õî-Òî/7î7õî;ÿî>mîCÎïüî gî@îIîÉî! î#äî*íî.öî1Áî4šî:X ï Êî gîÚî†îQèTVm$2DOCUMENTCOMPOSITION2-152.2.1StyleasaSeriesofDesignChoicesManydesignchoicesareinvolvedintheprocessofproducingadocument.Forexample,thecopyeditorchoosesnamesforthelogicalpartsofthedocumentandcommunicatesthemtothegraphicdesignerandcompositoronthemarked-upmanuscript.Thegraphicdesignerchoosesthetypographicalparametersforthesemarkedpartsofthemanuscriptandcommunicatesthemtothecompositorontype-specificationsheets,suchastheoneshowninFigure2-3.Thecompositoractsonthemark-upcodes,usingthetypespecifications,andenterstypographicalformattingcodesinthetypesettablefile.ContentTitlemainsubtitleHeading1stlevel2ndlevel3rdlevel4thlevelTextnormalquotesfootnotescaptionsTablescaptionsNumberingfoliosfiguresfootnotesParametersTypeface1.2.3.Typesize1.2.Type-weightlightmediumboldsemi-boldextra-boldSloperegularitalicLeadingsolidpointsLetteringall-capsall-lowerinitial-capColorblackColumn-widthpicaAlignmentjustifiedunjustifiedcentredflush-rightIndentpoints'9b'9-Cð9-Cð9b'9b7¨7�Câ7�Câ7¨7¨5û5àCâ5àCâ5û5û'4['4&Cð4&Cð4['4[2¡2†Câ2†Câ2¡2¡0ô0ÙCâ0ÙCâ0ô0ô/G/,Câ/,Câ/G/G'-§'-rCð-rCð-§'-§+í+ÒCâ+ÒCâ+í+í*@*%Câ*%Câ*@*@(“(xCâ(xCâ(“(“'&ó'&¾Cð&¾Cð&ó'&ó%9%Câ%Câ%9%9#Œ#qCâ#qCâ#Œ#Œ'!í'!·Cð!·Cð!í'!í 2 Câ Câ 2 2'æ'°Cð°Cðæ'æ…jCâjCâ…… H ÖH Ö° ° H CðH CºH Cº°Cð°CðH «>\�>\�½«½«>\X>\=>\=½X½X>\H ÝH ݰ°H ²>\ —>\ —½ ²½ ²>\"lH "6H "6°"l°"lH $ >\#ñ>\#ñ½$ ½$ >\%¹>\%ž>\%ž½%¹½%¹>\'f>\'K>\'K½'f½'f>\)>\(ø>\(ø½)½)>\*ÍH *—H *—°*Ͱ*ÍH ,m>\,R>\,R½,m½,m>\.'H -ñH -ñ°.'°.'H /Ç>\/¬>\/¬½/ǽ/Ç>\1�H 1KH 1K°1�°1�H 3 >\3>\3½3 ½3 >\6ˆH 6RH 6R°6ˆ°6ˆH 8'>\8 >\8 ½8'½8'>\4Í>\4³>\4³½4ͽ4Í>\9âH 9¬H 9¬°9â°9âH ;�H ;YH ;Y°;�°;�H =.>\=>\=½=.½=.>\>Û>\>Á>\>Á½>Û½>Û>\@ˆ>\@m>\@m½@ˆ½@ˆ>\BCH B H B °BC°BCH Figure2-3.TYPOGRAPHICSTYLESHEETtypicalofthespecificationsthatgraphicdesignersprovidecompositorstocontroltheparametersoftypesetdocuments.Allofthesechoicesinfluencethepublishingstyleoftheorganization.TheAmericanHeritageDictionary'sdefinitionsof`style'and`stylebook'helpclarifywhatstylemeansandhowitcanbeused:vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbvï^õî gîTî‘î°î"îîî$£qï[î¶îwî£îaî",î(äî*èî-Áî3Œî5�î={î>àïXéî gî›î–îoîkî":î(Gî-eî0î2îî8'î<=î>NïV·î gîî_ î""î&`î(eî+>î1$î7µî:÷ îC€ïT…î gî@î¯ î!@î$ªî*�î1!î7.î: ïRRî g îÕî…îÃî!Ãî%Ùî'êî*à î3Mî6� îARîE�ïP î gî@ îÈî6î'Mî,”î0iî2mî5Fî8{î=¦î?ªîDýïMîî gîÑ îYîœî î ãî'œî,“î0ùî3Òî7~îAþïK»î gîD î� î#®î(;î*?î- î6'î gïI‰þ;ˆ#wï:nîB{ï8îB|ï8 îï6Zî{ï3îB|ï3îîØï1SîîTï/¦îîï-ùîî{ï,OîB|ï*Ÿîï,wîï(òîï'cî{ï%›îB|ï%¶î{ï ªîB|ï ‘îïÿîï7î}ï?°îy ~ï?àîýï9´îýï9·îªï9·îV~ï?àî ï9´î ï9·î!°~ï?àî#] ï9Îî#]ï9´î% ï9´î&·ï9´î(dï9´î* ~ï?Ýî+¾ï9Îî+¾ï9´î-k~ï?àî/ï9´î/ï9Òî0Å~ï?àî2rï9Îî2rï9´î4ï9Îî5Ì ~ï?Æî7yï9´î7y~ï?Æî:Ó ï9Òî:Ó~ï?àî<€ï9Îî<€ï9Îî>- ï9´î?Úï9ÎîA‡ ~ï?ÉîC4ï9ÒîC4 ûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûûwï©î gîÀ{îñï©ï©î´ ï©î×ï©î!wï©î%\î)Ëî+yî-Ø î6Sî95î>ï½î gî/ îÎî‡îCî!¡ î(¦î*Tî.û î gï‹þ;ˆ#qï…î¶îî‘îÏî�î%¾î(— î0¶î4Šî6›î9t îCäïRî gîóî­ î#â î,î.î2Æî6î:Fî>àîB™ï î gîpîDîbî¥î Cî!Þî$ëî'?ÿ TVm$¦2DOCUMENTCOMPOSITION2-16``stylen.1.Thewaysomethingissaidordone,asdistinguishedfromitssubstance...7.Acustomarymannerofpresentingprintedmaterial,includingusage,punctuation,spelling,typography,andarrangement.''[,Dictionary]``stylebookn.1.Abookgivingrulesandexamplesofusage,punctuation,andtypography,usedinthepreparationofcopyforpublication.''[,Dictionary]Eachpublishinghousedevelopsitsownhousestyle,awayofdoingthingsthatwilldistinguishdocumentsfromthatpublisher.InthepublishingexperimentdescribedinOneBook/FiveWays,theUniversityofTorontoPressprovidedthemostconcisesetofcompositionstyleguidelines,coveringthefollowingtopics:textcomposition:wordspacing,worddivision(hyphenation),letterspacing,paragraphs,leading,smallcapitals,figures(numerals).punctuation:dashes,periods,apostrophes,colons,semi-colons,exclamations,questionmarks,ellipses,quotations.specialsettings:capitals,tables(avoidverticalrules),footnotes,extracts,quotations.pagemakeup:facingpages,widows.Peopleatdifferentlevelscontributetoapublisher'sdistinctivestyle.Theeditorialstaffestablishestheguidelinesforauthorsandcopyeditors,suchasrecommendedformsofpresentation,spelling,languageusage,ortheavoidanceofverticalrulesintables.Graphicdesignersselectthetypographyandlayoutforbookdesigns.Thecompositionstaffdeterminesthefinaltypesettingchoicesthroughinterpretingthetypographicspecifications.Apublisher'sstyleisdevelopedthroughaniterativeprocess.Thehighlevelplanisestablishedbythepublisherandtheeditorialstaff;theyrequestacertain`look'or`feel'forapublication.Thegraphicdesignerreducesthathighlevelplanintomorespecificguidelines,butthecompositorstillhassomefreedomtointerprettypographicchoices.Theresultissamplepages.Thesepagesarepassedupthechainforapprovalandarereturnedforcorrection.Thechangesiterateamongpublisher,graphicdesigner,andcompositoruntilthepublishingstafffinally`sees'whattheywant.Forlargedocuments,thisleadstoinconsistenciesinhowvariationsnotcoveredinthesamplepagesarehandled,orevendifferencesduetodifferentpeopleworkingonthemanuscript.Thesolutionhastraditionallybeen``Tryitagainuntilyougetitright.''Forautomatedcompositionsystemsthatrelyonalgorithmstocarryoutrepetitiveactions,thetraditionaldesignprocessmakesithardtoextractthevïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶TVm$4pî‰ï^ùï^ùî„ÿTVm$xï^ùîŒ TVm$pï^ùî£"TVm$qîÅï^ùï^ùî÷î‹î!î)@î+î.³î0ûî5³î7á îBîFTï\Æî¶îîêîÍ$?TVm$1pî±ï\ÆdTVm$qï\ÆîÓî·îoî%5î+î- î4ëî:“îABïZ”î¶î­ î@î$Ä î-Þî1! sî;îïZ”ïZ”î� qïWŽî¶f}TVm$;pî‰ïWŽïWŽî„îcÿä TVm$xïWŽîJîTVm$pïWŽî9ðTVm$qî[ïWŽïWŽîeî Cî$uî)mî-xî0¼î7îî:î>ú ïU\î¶îÑ îÅîî!\î$ î,¿î.©î2~î5 sî>ÁïU\ïU\î?$îAA qïRVî¶îÙ îùî »î'�î)Èî-fî2)î6fî7Ëî;5î=FîAíïP#î gîÅîù îMî#¢î'·î+ î3iî5”î8m ïMñî g î îpxîuïMñïMñî¿î!üî*qî-üïMñïMñî/î1Þ î9áî;òîB[ïK¿î gîcî<îDî î"‹î$œ î-ëî1¿ î9øî@£ïIŒî gî°vïF†î¶î qî²ïF†ïF†îâî!î'oî+¬î1à î<ò ïDTîS î+î%`î)·î0î5u vïANî¶ qî!ïANïANîQîî%D î.Éî4Q î=¬ ï?îSîî"Rî(y vï<î¶î#qî�ï<ï<îÀî"î&Åî+Öî1¡î6¥ î>?ï9ãîS vï6Ýî¶î–qîï6Ýï6Ýî@î*î$!ï3×î¶î#îîÕî"a î*Lî,Pî-¶ î6 î=çîBÃï1¤î gîëî— î¶î!� î)^î,î1ôî56î92î? îBßï/rî g î)îÝîî î'µî.9î5&î:î<;î?ï-@î gîxîCîLîPî î&„î-´î24î5 î=¾îAï+ î gîîGîîƒ î&Òî*~ î2ìî5Åî9˜ îAíï(Ûî gîª îªîƒ î'’ï%Õî¶î‘ îæî¹înî'Xî-›î/ïî6Kî=î@ˆîDOï#¢î gî îÕ îDî¥î~î&Êî* î,åî3iî7§î;TîAîB…ï!pî gîóîîîÉî. î$Úî(Dî.*î4»î:¼î>îAáï>î gî îŠîÔîº î%óî(ôî+Í î4Vî7}î:pî>ºîEKï î gî. î<î#î&lî*úî,®î2Dî7Øî<§îA4ïÙî gî®î*îîvî&î$úî(<î+î1Áî4q î=;î@¥ï§î gîyîæ îœî$‚î+}î.¿ î7Hî;6î> ïtî gîî1înîwî!$î&5î)iî-~ î6<î9eî=•ïBî gîxî|î î$šî'�î-µî/¹î2’î8'î<´î?îFFïî gîU î¶îùîýî$Äî*%î0�î2ûî5Ô î?fïÝî gî¶î© îëî"ôî&îî(‰î,îî0Üî4î6Üî8wï ×î¶îêî î$Xî*Xî-¶î1î3r î;�î=•îAÅï ¥î g î²î¥î~ î$uî)¡î/lî4}î6î9ùî;ýîA_ÿò«TVm$÷2DOCUMENTCOMPOSITION2-17formattingalgorithmsfromstyleguidelines.Theguidelinesareexpressedintermsofwhatpeoplearedoing,ratherthantheprocessofdoingit,orthecauseandeffectdecisionsthatleadtotheresult.Therefore,ittakesseveraliterationswithsamplepagesthatcoveralltheexpectedsituationsbeforeacreativeprogrammercanexpressthestylerulesasanalgorithm.2.2.2WhatDoStylesAffect?Stylemayseemtoaffectorcontrolmorethanjusttheappearanceofadocument.Forinstance,considerthechoicebetweenCanadianandAmericanspelling,somethingthatmightbetreatedasastylechoice.Clearlydifferentspellingscontaindifferentletters,asin`colour'versus`color',`labelling'versus`labeling',butthesamelettersmayappearinadifferentorder,asin`centre'versus`center'.Theconceptofstylemustaccommodatetheseapparentchangesinsubstance.Weneedtorealizethatstylecanaccomplishchangesatmanydifferentlevels.Thechangeinspellingdoesnotaffectthemeaningofthesentencecontainingthosewords,andthereforethesubstanceofthemeaningremainsconstantwhilethespellingvaries.Infact,manyCanadianandAmericanreaderseasilypassoverthesedifferentspellings.Thestylemayhavechangedthecharactersbutnotthemeaningofthewords.Considerthelanguageprocessingtricotomyoflexical,syntactic,andsemanticanalysis.Stylecanbeseentoaffectprimarilythefirsttwostagesofanalysis.Styleatthelexicallevelaffectsatoken'sappearance,suchasthechoiceofspelling.Morecommonlexicalstylechangesaretheuseofdistinctivetypefacesforsectionheadings,theinclusionofwhitespaceaboveandbelowsectionheadings,etc.Infact,mosttypographicparametersfallintothislexicalcategoryofstyle.Styleatthesyntacticlevelaffectstheorderofinformationinthedocument.Oneexampleistheorderofnamesinabibliographiccitation;onestyleplacesthesurnamebeforeinitials,whileanotherstyleplacesinitialsbeforethesurname.Anotherexampleofsyntacticstyleistheplacementruleforpartsofadocumentduringpagelayout,suchaslocatingfiguresatthetoporbottomofapageandcollectingallfootnotesatthebottomofeachcolumn.Styleisalsopossibleatthesemanticlevelbyprovidingdifferentreaderswithdifferentviewsofthedocument.Forinstance,adocumentonhowtousetheCedarmailsystemonanewkindoffileserver[vanLeunen,OneDocument]waspreparedforreaderswithdifferentbackgrounds.Thedocumentcontainedvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g î† î¤î ¹î$� î-cî0Í î8œî;gîBæï\Æî gîôîîîpî:î$Kî)(î,ðî/Éî5”î7¥îPî@oîCHïZ”î gî©î7î@îžî"/î$4î' î,¢ î4²î6Mî:}î?ø ïXbî gî!î¶îCî¡î"î$gî'@î." î5{î:¦î< ïV/î g îÝîêîµî!Žî%aî)jî+nî- vïRUî gîTîáî«î”qïN{î¶îÙîxî§î¬î":î$Xî)ûî.Eî2 î55î8 î@²îBÃïLIî gî%îYî î%±î(Šî-ªî4.î;“î>ÖïJî gîëîáî?î#î%Vî*ßî,ãî.Iî2î8Cî>ïGäî gîîøî¿î%î'î)xî/ ïGäïGäî/ÇqïGäî3Þî9L xî@ØïGäïGäîA’qïE²î g îæîçîÀîðî"Úî&xî+çî-ëî/Pî6î:óî<÷î>üxïCî gqïCî8î îuî!‘î#¢î'vî+Œ î5òî:0îAïAMî gîk ï>Gî¶îÂîËîÐîî!fî%9î(G î0Ðî7î8ïî=|ï<î gîûîeîûîÿî#î&ìî)ßî.mî1Fî7þî:î<éï9âî g îxîÑîî!Yî(oî+Hî2¼î4Íî7¦î>_ï7°î gîìî_î8î Qî& î(9î+Øî0eî7Êî; îB˜ï5}î gîóî…î=î{î#B î+î.lî2@î5Þî9Ìî@Rï3Kî g îîîîêî#¢î%´î(�ï0Eî¶î¾î—î „ î(ˆî/ûî2 î7” î>¹ï.î gî;î\î€î!�î#áî'šî)žî.,î5\î85î;žî>ÓîC•ï+àî gîˆî¬î–xîoï+àï+àîæî!©qï+àî%cî*�î+õî1— î:¥î>zî@~îCWï)®î gîxîšîî ìî& î)Þî0î2Ýî5¶î8©î:º ï'{î gî‹î;îÄî#î%èî,ðî/ î7Vî<%î?gï%Iî gîðî;îçîî"²î&º î/É î87î;î>…îA®ï#î gîøî ï î¶îÙîÃxîœï ï î;îQqï î# î(7î+î/ƒî1” î: î<¤î?}ïÞî gîî–îKî$î–î!§î&Åî(Êî*/ î48î:°î=äîA¸ï«î gî@îìîî Ôî%Gî+Tî/(î4î9eî>‘îAjïyî gîëî|î�î"Hî&î'Ðî*©î2“î5ýî8­î<Ãî>Õî@:ïGî gî»î©îîìî ðî'%î,“î.}î1Vî4Iî6hî<&î>7î?œîC‹ïî g îÍî îPî:î"î'Ñî)ãî-·ïî¶îÙîŽîêî9î!#xî#üïïî$šî*°qïî.kî0Ìî8Kî?îDÏïÜî gî.î­î¾î—î%Uî(‰î/Pî0µî8kî:Ùî>wî@|îCoï ©î gîQî îjîØî=î!Áî%•î'¦î*‹sî/fï ©ï ©î/Êî2jî7Íî:Ñqï ©îBï wî gîcîîÐîŠî&Q î1î4oî<%ÿ‚TVm$Ì2DOCUMENTCOMPOSITION2-18writtenmodulesofinformationforoneofthreekindsofaudiences:thosewhohadneverusedthemailsystem,thosewhohadusedthemailsystembutstoredtheirfileslocally,andthosewhohadusedthemailsystemandhadsomeexperiencewiththenewfileserver.Amapofwhichmodulesappliedtowhichexperiencecategorieswasusedtocompilethreeversionsofthedocumentfromthevariousmodules.Cargillpresentssimilarideasformanagingdifferentviewsofsoftwaresourcecode[Cargill,Views].Inhisscheme,multiplesoftwareversionsfordifferentlyconfigurablesystemsweremaintainedinthesamefilestructure.Dependingontheconfigurationdesired,differentsoftwareversionswouldbeextracted.2.2.3StylesforSpecificMediaAnotherstyledimensionisdifferentiationinmedia.Traditionalprintingprocessesprovidesomevariationincolorsandpapers,butotherreproductiontechnologyandelectronicdocumentsspanabroaderrangeofpossibilities.Documentsthatbecomeprojectionslides,posters,orvideodisplaysrepresentsomeofthese.Thenotionofdeviceindependenceincomputergraphicscanbeappliedtodocumentformatting.Thesurveyarticleondocumentformatting[Furuta,Survey]presentsthenotionofa`view'ofadocumentasthedevice-independentpost-processingofaformatteddocumentforaparticulardevice.However,mediaanddevicecapabilitiesmayinfluencetheappearanceandreadabilityofinformationinadocument.Inthiscase,deviceindependenceislessdesirable.Rather,wewishtoreformatthedocumenttotakeadvantageofdevicecharacteristicsor,putanotherway,tochangethestyletosuitthemediuminwhichtheinformationwillbepresented.Low-resolutiondeviceswithoutcolormustobviouslyusedifferenttechniquesthanhigh-resolutioncolorlaserprinters.Typefamiliesarehardtodistinguishonlow-resolutiondevices:8-pointTimesRomanonadisplayscreenisdifficulttodistinguishfromanyotherseriftypeface(suchasGaramondorBaskerville)becausetherearesofew`bits'availabletodisplaysubtledifferences.Acolorimagemayloseagreatdealwhenviewedinblackandwhite,especiallyonlow-resolutiondevicesthatdisplayonlyafew,ifany,greylevels.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî gî î©îº î#Æî&vî)«î+¼î/úî4mî6~ î>�îBöï\Æî gîªî6îîñî©î$tî(Ìî,kî/®î3�î6iî:!î?‚îBƒïZ”î gîVîÙî|î¾î!î$µî'øî+Úî.³î2kî7Ìî;î>QïXbî g î îZî3î·î!œî'î)[î-î/&î4î:¢î@ˆîBŒïV/î g î  î:îoî#Pî%Uî+—î/Õî60î8Aî;îBÐïSýî gî@îýî£î"î(zî-çî2î4Èî5îC9ïK4î g vïGZî gîTî=îàî qïC€î¶î:î î"î#Åî.”î0˜î6— î?ïANî gî—î¤îîî$Ïî&Óî+¡î.äî4”î7–î;î ï?î g îÈî î‹î'ßî+Áî-&î3Mî7Úî9ë ï<éî gî&îƒîž î&mî+Wî1Wî3uî7ôî>6ï:·î gî±îÂï7±î¶îîXîiî‰ î* î,î3tî9ùî=î?ZîE@ï5î gî îCî ­î%æî*Ýî-Kî5 sî= ï5ï5î=ƒîBmqï3Lî gîÑîªîãîôîYî# î%î&„î.:î0>î3ï1î gîðîîfî#î*·î-gî.Ì î6@îî&Bî,(î/P î7¤î=¤î@—ïX±î g îyî}îø î$ î)àî-~î2uî4†î5ìî=R ïVî gîÈî|xî]ïVïVîŽî!ã sïVî*�î0î6¨ qî=ñïVïVî>úïTMî gî}î!îPsî:ïTMïTMî�qïTMî›î!Ÿî$xî(�î.‹î4 î; xïRî gîí îiî” sïRî(1 î-áî4n qïRîUî gî¶ î>xî 4ï>Uï>Uî!Xî'ð sï>Uî1Sî5T qï>Uî=÷îD¢ï<#î gî} îÃî ðî"ôî%Íî)¡î+²î- î6 î;”î=¥î@~îE%ï9ñî g î¶îîøî$Ð î,î/]î26î7¤î9¨î;üï6êî¶îóîîÝîòî"Øî&î,î/áî4¾î9î@Fï4¸î gî­ îDîHî!î%Àî,^î.pî6Mî;ä ï2…î gsî?ï2…ï2…î£îÚîg qï2…î&Oî*0sî- ï2…ï2…î-Žqï2…î0jî3ƒsî5nï2…ï2…î6Äqî8/ï2…ï2…î9`sî?½ï2…ï2…î@ ï0Sî g qï0SîÜîò î&Aî,Òî/íî2[sî4®ï0Sï0Sî53qï0Sî8î<Žî?gï.!î g î2 î³î�î&6î'œî-Yî0s î9Ðî=î@ËîB0sîCï.!ï.!qï+îî gî)îÕsîXï+îï+îî»î#,qî(Lï+îï+îî)òî.Áî6'î=rï)¼î g îuîîaî%î'áî-Æî3Oî5`î6Å î@îDmï'Šî gîÚ îõî$œî(î-gî4J î<�îA‡ï%Wî gî!îdî{î î#½î%Áî(šî+�yî-žï%Wï%Wî.r qî6ï%Wï%Wyî7 ï%Wï%Wî7ó qï%Wî?éîDàï#%î gyîUï#%ï#%îPqï#%îeyî¨ï#%ï#%îqï#%î#iî'#î,î.óî26î5jî9µ îBï óî gîðïìî¶î] î{î°î"î& î.•î0¦î8«î:¯ îD ïºî gî îß îíî#Êî'«î)ÿî1! î88î=³î@èîCÁsï‡î gqï‡î×îÖxî†ï‡ï‡îª î%˜ î-o î6Ìî9bî?ÀîD7ïUî gînqîÔïUïUîÜî=î!·î$úsî+bïUïUî+Åî6”qî;)ïUïUî<Ðï#î gîlîg î xî&ïî*�î-Ñî1ô î:IîB‘ïðî gîôî î5î!>î%Gî&âî*î/ºî1¾î8xî;Qî>…ï¾î gî îêî xî$1î%–î*Jî.`î1£î4|î8’ î@±ïŒî g î¦îîlîÍî&î-Ðî1:î7åî9šîAîCï Yî gîôîøîV TVm$ 2DOCUMENTCOMPOSITION2-20Anotherclassofdocumentcompositionsystemsevolvedfromthetextformattingprogramsdevelopedongeneralpurposecomputersystems.TheevolutionofsuchformattersfromSaltzer'sRUNOFFdocumentformatter[Saltzer,RUNOFF]ischronicledinBrader'sMastersthesis,AnIncrementalTextFormatter[Brader,IncrementalFormatter],andlaterintheComputingSurveysarticlebyFurutaetal.,``DocumentFormattingSystems''[Furuta,Survey].Documentsforsuchformatterswerepresentedasastreamofcharactersthatincludedembeddedcontrolcodes.TheearliestRUNOFFsystemsusedaperiodatthebeginningofalineofinput,anunlikelyoccurrenceinnormalwrittenmaterial,toindicatethepresenceofaformattingcommand.Latersystemsescapedfromthe`lineofinputpercommand'restrictionbydesignatingcommanddelimitersasinfrequentlyusedcharacterslikebraces[Beach,Typeset],backslashes[Ossanna,troff]orat-signs[,SCRIBE].Macroandconditionalexecutionfacilitiesforcommandsextendtherangeofdocumentformattingpossibilities.Onetenetofdocumentationfolkloreatthattimewasthatifyoucouldmakewritingadocumentmorelikeprogramming,thenprogrammerswouldtakethetimetopreparedocumentationfortheirwork,somethingwhichproveddifficulttoensure.Unfortunatelythiswasthewrongparadigm.Itdidnotmakewritingadocumenteasyanditdidnotgetprogrammerstowritebetterdocumentation.Themodelofadocumentasastreamoftextwithembeddedcommandssurvivestodayasaprevalentdocumentformattingmodel.Oneconsequenceofthestreamdocumentmodelinboththeearlygraphicartssystemsandtheearlydocumentformattersistheneedtoacceptthedocumentstreamasanabstractionoftheformatteddocument.AnearlysystembyEngelbartprovidedanalternativedocumentmodelandseveralalternativeviewsofthedocument.TheeditingandformattingpartofEngelbart'saugmentedhumanintellectsystem,NLS[Engelbart,NLS],providedaconcreteviewofformatteddocumentsastheywouldappearwhenprinted,withouttheintrusionofformattingcommands.TheNLSsystemwastheoriginal`whatyouseeiswhatyouget'documentformattingsystemandEngelbartcoinedthephraseWYSIWYG(pronouncedwhizy-wig)todescribeit.Duetothelimitationsofthedisplayandprintingdevices,NLSwasexactlyaWYSIWYGsystem.ManylatersystemsalsoclaimtobeWYSIWYG,butcannotclaimtorenderprintedoutputexactlyonthedisplay,mainlybecauseofdifferencesinfontsandcharacterwidthsbetweenthedisplayandtheprintingdevices.Inafurtherdeparturefromthestreamoftextandembeddedcommandsmodel,theNLSsystemrepresentedthedocumentcontentsinatree-structuredhierarchyoftextblocks,suchasthecommonhierarchyofchapters,sections,vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶î:î îî#Ô î-#î3#î9<î=Rî@+ï\Æî g î†îÐî#ºî&(î+òî2Bî9¨î@¯ïZ”î gî±îÃî˜ î!�î%–sî, ïZ”ïZ”î-qïZ”î2Ùî:�sîAÚïZ”ïZ”îB=ïXbî gqïXbî–îJ î\î`î%×î+þxî0õïXbïXbî2&î3© î<¶î@šsïV/î gî¨ îI qîªïV/ïV/î ³î#õî'¼î)Àxî,™ïV/ïV/î-Éî4õqïV/î:÷î?îîBOxïSýî gîFqîûïSýïSýî î÷ î"™sî)½ïSýïSýî* î/ qî3†ïSýïSýî5,î=ëî@›ïQËî g îQîLîÌî!Ðî#6î(‰î*š î2Pî5®îîîB™ïIî gîÍîÀîÒ î#”î%õ î.¥î6M î=ôïFÏî g îÄî¥ î![î$�sî)¡ïFÏïFÏî*î.uqî3uïFÏïFÏî4~ sî=;ïFÏïFÏî=ŸîCoqïD�î gî…sîxïD�ïD�îÛîqîœïD�ïD�îBî#{î&¾ î/Tî6Ç î==î?íïBjî gîÉî¢î.î?î"õ î+ î4óî8‘î<µï@8î g î¯îÕî¿î#î&ãî*î-uî/î2_î6íî;_îAï>î gîîgî› î&Oî* î4*î9/î<Àî?™îC`ï;Óî gît î¼î lî$[î(ôî0ëî5Èî;^îA¡ï9¡î gîµ îjî ’î#Çî& î+°î4î5Óî8Æî;¹î@+îEÍï7oî gîî»îþî˜îŒî"~î%< î/Qî1Uî5†î:I ï4hî¶îî1îBî§î#]î%aî&Æî,î.+î1nî5(î=:ï26î gî¶îCîGî¬î!êî)  î1¿î7Øî;v îEï0î gî@î”îJî![î#_î'Aî*î./î4î7=î=<î@~îCWï-Ñî gî îî»î ”î$�î&¡î+µî.Žî6Dî;—î=›î?ï ï+Ÿî gîxîQîìî!ªî$tî(‰î-êî0Kî7Øî>Ôï)mî g îxî.î!@î$‚î)ü î2î6�î8žî;wï&fî¶îî¨îë î$ î'�î)’ î2(î:¤î@:ï$4î gsî2ï$4ï$4îTï$4î¡ î§qîÜï$4ï$4î äî'àî)Eî/Øî3¸î5Éî=dîE¹ï"î gîîî‡îùî%/î+=î.î5î7# î?AïÏî gsîÑïÏïÏîóqïÏîAî¡îÖî¯î$ºî).î,pî/:î0ïî4øî8:î;bï�î g î†îæî)î$¶î* î,ãŽTVm$jqî2)ï�ï�î3iÿŽTVm$qï�î9u ïkî g îÇîËîCîåî#’î%–î(o î0�î2Ÿî5xî;î>]ï8î gsî�ï8ï8î±qï8îþî3î¼sî !ï8ï8î!‚qï8î(î.oî31î6÷î<÷î@RîDÅïî gsî»ïïîqîïïî î îmî#àî%äî++î0öî6Lî;Õî>CîAïÔî gîâî î î"|î$€î(£î+æî2ýî8Dî>ÉîA¢ï¡î gî©î‚îÒï›î¶îâîGîÞî _î$tî'Mî, î.²î1ôî57î=Jï iî gîâsî»ï iï iîÞqï iî+î‹ î&qî)Jî1î7†î9Šî:ïï 6î gî²îÃîî�î"dî$hî'Aî.î5_î7pî>`ÿ–ãTVm$ò2DOCUMENTCOMPOSITION2-21subsections,andparagraphs.Areaderoftheon-linedocumentcoulddisplayoneofseveralviews.Forexample,oneviewingparametercontrolledwhetherthestructurelabellingwasvisibleornot,anotherparametercontrolledthenumberofhierarchylevelsdisplayed,andyetanothercontrolledthenumberoflinesdisplayedineachtextblock.NLScouldalsoincorporatelinedrawingswithindocumentsbyallowingagraphicalobjecttotaketheplaceofaparagraph.Sadly,theseideaswerenotwidelyacceptedatthetimewhentheywerefirstintroducedinthelate1960's.AlmostagenerationpassedbeforeEngelbartbegantoreceivetheappropriatecreditfortheideasofthemousepointingdevice,multiplewindows,andWYSIWYGformattingsystems.Manyearlygraphicartstypesettingsystemsdidnotattempttodealwithpagelayoutbutonlyproducedtypesetgalleystobepasted-upmanuallyinthenormalway.TheRUNOFF-styleformattersprovidedsomelimitedpagebreakingcapabilitiesandtheycouldprintrunningheadsandfootnotes.Suchformattersreliedonthesimpleandeasily-handleddimensionsoffixed-widthcharactersonalineprinterorteletypepagetomakethealgorithmsworkable.TypesettingdocumentformattersbasedonextensionstotheRUNOFFmodelcouldproduceoutputfortypesetters.Theyproducedtypesetpagesbyexecutingpagebreakingalgorithmscodedasmacros.SomeearlytypesettingworkwithPROFF[Beach,PROFF],aRUNOFF-likeformatterfortheUniversityofWaterloo'sPhotonEconosetter,usedsimplepagedepthmeasurementstobreaklargedocumentsintopages.Thiswasdonemainlytoavoidthemanualpaste-upstageduetoalackofavailablemanpowertohandlethenumberofpagesproduced.Seybold[Seybold,Fundamentals]outlinesmanyoftheconcernsanddifficultieswithpagelayoutorareacompositionaddressedbycommercialtypesettingsuppliers.Morecomplextypesettingsystemsforhighspeedtypesetters,likethePage-1compositionlanguage[Pierson,PAGE-1]fortheRCAVideocomp,permittedmorecomplexpagebreakinglogictoutilizethetypesetterforverylargedocumentsbetter.Page-1isoneofthefewearlycompositionsystemswithwidelyavailablepublisheddocumentation.AprogrammercouldwriteapagebreakingalgorithmandstylehandlingroutinesinthePage-1language,havethatcompiled,andthenexecutetheresultingcompositionprogramagainstthedocumentinputdata.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g îuî· î"-î$ î)(î+9î.î3´î;jî?øï\Æî gî›î­î'î®îâî&Ýî*î0*î7ú î?ÉïZ”î gî@î#îÛî î%;î'Yî*¶î0Ãî8“ î@bïXbî gîœî­îùî … î(Gî+Šî.Gî4U î<$î>ýîE2ïV/î gîGî î¤îxî »sî&CïV/ïV/î'eqïV/î)²î.@î1œ î:Zî=›ïSýî gî†îÛî<î"Ùî$?î+bî0Mî2Qî5ãî8¼î=î?ïQËî g ïNÅî¶î­îëîî!î$ î)Oî0î2î4Ûî8¡î=î@ÁîD¼ïL’î g î¼îÀî™îÁî"¿î({î)à î1ÿî7Eî‘î g îðî3îßî mî$„î*Æî/nî2° î:èî? ï<^î gîî|îUî›îÞ î)º î2\î4m î=9 îDïï:,î gî ÌîîŠî¨îÞî"Ìî$Ðî)Bî, î49ï7&î¶ î›î Q î(;î,ãî/Q î7Gî9Lsî<%ï7&ï7&î=.qï7&îBðï4ôî gîõî`îµîe î(�î,Êî4$î9»î>Hî@©ï2Áî gîUî( îGî$$î&(î,Òî1mî5‚ î=×îBsï0�î gï0�îÃî–qî¶ï0�ï0�î¿sî$ï0�ï0�î-qî$Qï0�ï0�î$ãî(î/bî2î4ê î<îî>ÿ ï.]î gî% î�îcî$©î(—î-N î8î:î>®ï,*î gî¼î&îºî!sî$¨î(Ëî.Eî0Jî4Éî7¢î=‡îD5ï)øî gîªî®îîŠîœî|î'šî)žî/ î1æî8î:,î>¹ï'Æî gsîÄï'Æï'Æî'îÍ qï'Æî"Bî(vî-î/î1íî8Áî< îD#ï%“î gîUîZîxî î$Xî+óî.T î7, î?€ ï"�î¶î5îÓ î#(î)'î+×î/žî4F î<Ðî@îBÝï [î g î¶sî¤ï [ï [îî"Hqï [î(_î+sî-çï [ï [î.ðqï [î1• î:ÊîBXï)î gîîôîÇî!Âî#Æî(½î+– î3î5Çî9sî=ˆïöî gî2î’îGî{îŒî!eî$�î(¢ î1ñî7ðî;ªî@ðïÄî gî î Rî". î+¤î02î4bî5Çî9µî@‰ï’î gî©î}î^î »î"¿î%˜î*øî2Oî6>î9œîA6îDyï_î gî[î4îú î%Iî+ôî1}î4Vî< î@rÿ7TVm$‰2DOCUMENTCOMPOSITION2-222.4DocumentCompilersAsignificantstageintheevolutionofdocumentformattersoccurredwhentheembeddedformattingcommandsinthedocumentbegantodescribethelogicalcontentofthedocument.Theselogicalcommands,orformattingtags,requireanadditionallevelofindirectiontoassociatethedetailedformattingattributeswitheachtag.Initiallythisassociationwasprovidedbyamacroprocessor.Eachtagwastreatedasamacroname.Expandingthemacroproducedtheprimitiveformattingcommandsnecessarytoformatthatpartofthedocument.Forexample,withlogicalcommandsonecouldspecifythatapartofadocumentwasaheading.Byincludingataglike.heading,onecouldreplaceasequenceofdetailedcommandslike``leave24pointsofwhitespace,selectTimesRomanboldtypeface,use14pointtypesize,andproduceunjustifiedlineendings.''LatersystemslikeReid'sScribeintroducedthenotionofcompilingadocument[Reid,Scribethesis].ThetagsinaScribedocumentidentifythedocumentpartsthatarecompiledusingatagdefinitiondatabasetosupplytheformattingattributesforasuiteofbuilt-informattingalgorithms.Sincemoreprocessingisrequiredtointerpretmacrosorcompileadocument,thedevelopmentofdocumentcompilerswasrestrictedtolargegeneralpurposecomputersystems,typicallyinuniversitiesandindustrialresearchlaboratories.Mostcommercialgraphicartssystemsremainedonlessexpensiveandsmallermini-computersandchosenottoprovidethese`moreexpensive'features.Thisintroductionofdocumentcompilerscoincideswithincreasingsupportfordocumentstyle.Theindirectionfromtagstodetailedformattinginstructionsemulatesthestylesheetconceptusedbygraphicdesigners.Designingtagmacrosorformattingdatabasesisseparatedfromthemarkingupofamanuscript.Adocumentstylecanbesharedamongasetofdocuments,forexample,amongthechaptersofabook,thetheseswrittenatauniversity,orjournalarticlessubmittedtoaparticularjournal.Withsuchtools,authorswholacktheskillsfordocumentdesigncanstillproducegood-lookingdocumentsbychoosingadocumentstyledatabaseandinsertingtheappropriatetagswithintheirdocument.Theseparationofdocumentdesignandmarkupenablesthedocumentcontenttobereusedindifferentsituationsbychangingthestyledefinitionsvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbtï^¾î gîŠîÒqïZäî¶î‘ î{îžî¢î"{î)Æî+×î3� î;wîBKïX²î gî@îS îqî'¸î)¼î,•î4Kî9'î;,îA£ïVî gîŸî†î—îpî%.î)ýî/5î7æî: yîB"ïVïVîB¦qîEcïVïVïTMî gî%îx î;î (î"9 î*�î,’î3Xî61î“ïOèî g î¹îÝî›îÏî$Yî&]î'Âî,Æî2Mî:¡î=zïM¶î gîÁîšî¯ î%Îî.î5_î7cî<Äî@"îC™îE«ïK„î gïH}î¶îêîåîžî"×î+î.Rî2ßî8hî;Æî=,î@£îB´ïFKî gîîQî·î î"‰î)Ôî+:î-÷rî1+ïFKïFKî2Uqî:vïFKïFKî;î>³ïDî gîî}î”î¥î"èî+.î.bî3sî5¹î:°î<Á ïAæî gîçîÝîµî‰î&xî)kî+±î0 î3¶î7Tî:–ï?´î g î¡îã ï<­î¶îîîNî"`î'r î/Çî2 î7Ùî9êîAŸï:{î gsîï:{ï:{î€î5îoqî ï:{ï:{î!Àî%)î(†î*Šî+ïî1î8¸î>Òï8Hî gîî3î‘î\î%�î)òyî+Wï8Hï8Hî+Ûî.c qï8Hî6$î<Þî>âîD7ï6î g î† îÒî‚îçî#Öî%çî+Í î3ì ï3î¶î)îs î wî"+î(Øî*Üî1¤î7Fî9eî?§ï0Ýî gî‡î` î!4î#Eî*ûî2zî5¯ î<àî>åï.«î gî1î�îçî&Qî,ðî.ô î7–î:Ù ï,yî gîÞ îØî! î)íî/Óî2ûî8úî@DîB²ï*Fî gîôî6îò î(Ëî, î0›î3�î5’î;Ÿî?Ýï(î g î]ï% î¶îo îÙîëî&¡î. î5Dî8ý î@¿ï"Ûî gîîÍî¨î î'fî+{î.Øî0Üî7 î?> ï ©î gîHî!îõî3î$Oî(0î*‘î0w î8¯î@~ïvî gî î( îGî#Ÿî%Tî,­î0Âî3›î:î<šî>«ïDî g îøîÔîŠî#^î&kî(¿î.î3tî4Ùî7bî9s îB2ïî gîbîÏî¨î".î$?î%¤î*>î-î1ôî7˜î9‚î:ç îBëïßî gîî­îcî!hî"Í î*Aî0øî5)î8þî=cîCIï­î gîÞî·îÙî‰î!?î&jî)xî,Ÿî3 î=îEfï{î gîHî­îcî 7î&ñî*3î0ùî3Ò î<«î@ïHî gîVïBî¶î î îyî$ÐïBïBî%ÌqïBî*�yî-ÏïBïBî/BqïBî4Fî:+î=ï î gîMîRî¦îíîñî$¸ î,î.qî5zî8Sî<' ÿTVm$u2DOCUMENTCOMPOSITION2-23associatedwiththeformattingtags,withoutchangingthemanuscriptorthetagsthemselves.AtBellLaboratories,wheretroffwasdeveloped,amanuscriptcouldbepublishedinthreeforms:firstasaninternalmemorandumcirculatedwithinthelab,secondasatechnicalreportclearedforexternalreview,andfinallyasapublishedjournalarticle.Asinglesetoftagswithinthedocumentsufficedbysubstitutingdifferentstyleparametersforeachofthethreeforms.Thenotionofcompilingadocumentimpliesamassiveundertaking.Indeed,problemswithcompilingmonolithicdocumentsoccurfrequently.Largedocumentsoftenevolvefromsmalleronesratherthanbeingplanned,requiringmorecomputingresourcestoformat,longerturnaroundtime,andintroducinglongerdelaysinproducingdraftsofthedocument.Thereisaconstanttensionbetweenthesimplicityofmakingthedocumentoutofsmallermodulesandthecomplexityofmanagingthepieces.Simpleproblemslikenumberingpagessequentiallybetweenpiecescanbeaproblemwithsomedocumentcompilers.Documentcompilersexhibitsimilardebuggingproblemstothosefoundincompilersforprogramminglanguages.Anexampleofabuginacompileddocumentistheproductionoffiftytypesetpageswithacolumnwidthof1.5inchesbecausethelogicofamacrofailedtoresetatemporarychangeinlinewidth.Debuggingtoolsfordocumentcompilershavemodeledprogramdebuggerssuchassyntaxcheckers,simulatorsofthefinaloutputdeviceonlessexpensiveorfasterdevices,andinteractivepreviewerstodisplaythetypesetdocumentonagraphicsdisplay.Thecomplexityofwritingdocumentformatdesignsinthelanguageofthedocumentcompilerleadstotheneedfor`gurus,'`experts,'and`wizards,'justasforcomplexprogramminglanguages.Certainly,documentcompilersmakesomekindsofchangesmucheasier.Forexample,correctingachapterheadinginoneplacecanautomaticallyaffectthechapteropening,thetableofcontents,andtherunningheadsforthatchapter.Someaspectsofdocumentsmaynotbehandledverywelloratallbyaparticularcompiler.Difficultcompositionfeaturesaresometimesleftforfuturedevelopment,suchasmathematicalandtabularcomposition,theincorporationoflinedrawingsandscannedimages,orcomplexpagelayoutdesigns.Theinabilitytointegrateallaspectsofthedocumentleadstospecialhandlingoftheunintegratedpartsofthepublication,resultinginpastingupartworkforillustrationsorspecialnotationtypesetseparately.Othertypographicproblemsmayrequirespecificcommandstooverridetheautomaticcompiledalgorithms,suchasforcingpagebreakstoavoidone-linewidows,andinsertingexplicitlinebreakstoavoidriversofwhitespaceorawkwardhyphenationproblems.Finalvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g îîÖî¯ î"Íî&”î,¢î3«î6„ î?îA,îDï\Æî g îÂî#îŒ î%†rî*pï\Æï\Æî+™qï\Æî0Ýî4 îï ïXbî gî†î_î”îîî yî'hî,`î2î4Àî;î@¿ïV/î gî…î‰îîîŠî":î(9î*î.Éî1Qî3cî6¿î;Þî>·ïSýî gî�îþ îåî$¬î( î0îî3žî7rî9ƒî<\î@šïP÷î¶îîXîiî"î#ƒî+9î0öî2[î8u ïNÅî gîgî¥î^î% î-Yî5®î:/ îC.ïL’î gî¼îî2î"Gî(î+×î0´î4{î9î?ÏïJ`î gî±îëî î" î'êî- î5ºî9êî=, ïH.î gî…î‰î�î jî%î'#î)üî2ºî7‰î9>î:£îA(ïEûî gîìîÅ îEîVî%:î(î/Éî2¼î4Íî:ŠîA)îDkïCÉî g îÕîæîrî!Kî'=î,Óî4î7Eî?³ïA—î g î�îî ðî#þî&Rî'·î.Vî2î6Zî> ï>‘î¶îÖîUî$Þî*Kî2]î9šî;Ÿî?÷îDÔï<^î gîæî– î à î)tî,>î2Ïî4áî6Fî9–î;šî<ÿï:,î gîîÑîª î!î#+î&½î,Sî0àî4šî6î;òî@›îB¬ï7úî gîyî¡îzîuî ‡î!ìî&ðî+Šî-Žî1}î2âî:Ùî@oîBsï5Çî gîî“îŽî!>î(ôî0sî4bî;(ï3•î gîDîîî;î&R î.;î0Lî3%î6øî¹ï/0î gîî‹îðîuî% î(Š î0øî3 î8¬î@bï,þî gî2î6îîüî î"æî*œî1}î5­î7²î:‹î>”îADï*Ìî g îUî˜ îÇî ïî"óî%£î,B î6‹ ï'Æî¶ îOîî&…î*÷î/Aî3³î5Äî;ùî@•ï%“î gî›î– îKî°î%—î+Úî-Þî1î5]î8k îBŽï#aî gî@î'îíîÆî"Üî$íî+Üî/î1øî8:î<âî?’ï!/î gï)î¶îPîçîøî$Mî'ëî*Þî-2î3�î7:î:¾î<Üî>ÇîAîC{ïöî g îÛîÃî"p î+¿î1ôî4¿î<Ïî?ÂîBrïÄî g î¥îzî~ î&¡î)äî/ˆ î9Aî< îFWï’î gî©î£îæî 6î&î(8î.×î2Åî7Êî>œîBï_î gîkî?î“î)î;î"î)Êî-úî/þî5`îRï-î g îîî.î î(î.Üî0àî6‘î9 î?'ïûî g îLîjîÌî#Pî(ç î1£î6f î?tïÈî gîîÃî©î#ïî%ôî,wî/Pî6ìî> ï –î gî<î@îãîÑî! î#î'Žî-÷î4Eî7ˆî>NîDï dî gî î¤î$î°îÁ î'î)4î0/ î9´îAù }TVm$É2DOCUMENTCOMPOSITION2-24correctionsandrevisionsarefrequentlydonebymanualcutandpastemethodsbecauserecompilingthecorrecteddocumentwouldtaketoolongorwouldcreatenewproblems,especiallywithpagebreaks.Ofcourse,variousdocumentcompilersdobetterthanotherswiththeseproblems.Thefollowingsectionsdescribeaspectsofthreedocumentcompilersinwidespreaduse,troffonUNIX,theScribeportabledocumentcompiler,andKnuth'sTEX.Ofspecialinterestwillbethewaythesesystemshandledocumentstyle,mathematicscomposition,illustrations,tableformatting,andpagelayout.Thesurveyarticlesmentionedabove[Brader,IncrementalFormatter][Furuta,Survey]discussadditionalaspectsofdocumentcompilers.2.4.1troffThetroffdocumentformattinglanguagedevelopedbyOssanna[Ossanna,troff]anddistributedforUNIXsystemsisperhapsthemostwidelyuseddocumentcompiler.TheearliestUNIXapplicationwaspreparingpatentapplicationswithtroff[Ritchie,TuringLecture,p758].troffencompassesafamilyofdocumentcompilers.Allacceptthesameformattingcommandsbutdifferintheirformattingalgorithms,whicharesensitivetooutputdevicecharacteristics:nroffformatsfortypewriterandline-printerdeviceswithfixedwidthcharacters;troffformatsfortypesettingdeviceswithmultiplefontsandvariablewidthcharacters.Portingtrofftoothertypesettingdeviceswasverydifficult.Anoutputdeviceindependentversion,ditroff[Kernighan,ditroff],wascreatedbyKernighantohandleawidevarietyoftypesettingdevicesandlaserprinters,althoughtheformattingalgorithmswereessentiallyunchangedfromtroff.Thetroffformattinglanguagehasremainedessentiallyconstantsincethelate1970's.Thereareprimitivefunctionsforcontrollingtheformattingalgorithmsandtheoutputdevice,establishingparametervalues,selectingtypefontsandsizes,positioningcharacters,anddrawinglines.Additionalprimitivesprovideprogrammingsupportforwritingmacrosandbuildingdatastructures,suchasstringsanddiversionsofformattedtext.Thecommandnamespaceisseverelylimitedtotwo-charactertags.Generallylowercaselettertagsarereservedbyconventionfortroffprimitivecommandsandcombinationsofuppercaselettersandgraphicsymbolsareusedformacrocommands.Commandsareembeddedinthedocument,eitheroccupyinganentirelineofinputbeginningwithacommandcharacter,orincludedwithinlinesofinputdelimitedbyabackslashcharacter.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g îÈî îÝî!§ î)Ÿî-Âî0#î6î8Õî<î@Uï\Æî gî� î©î‚î%´î-jî2nî6î8åî<�î>¼ïZ”î gî7î»îb î#Ôî'Žî+|î1½î48î9Îî?‹ïXbî gîæîUîîßî#Öî'�î+ÏïU[î¶îîiî �î'î,Ÿî.°î2îî:¤îB$ïS)î g î rîgïS)ïS)î�qïS)îÔsî!BïS)ïS)î"aqî%ïS)ïS)î&î(óî.î4Šî<@îCŠïPöî gsî¹ïPöïP°ïP°î¡ïPöîˆqî‘ïPöïPöî8î³îî$ìî( î*tî-Mî0·î4õî:ôî@cïNÄî gî¤ î* î#â î-1î1H î9Ðî=îAïL’î gîÑî î î"Ùsî'¨ïL’ïL’î( î,é î4Š ïL’î;Šî@×qïJ_î gîð î³îIî![î) vïF„î grîTïF„ïF„î~qïB©î¶rîïB©ïB©îIqïB©î�î!C î)aî0Oî89î:šsîA+ïB©ïB©îAŽï@wî gqï@wî îL î¢sîRï@wï@wîqqï@wî"¿î(¿î*sî0©î3‚î7Šî<Ðî@²ï>Eî gîOî¹sî\ï>Eï>Eî{qï>Eî!É î*Eî-zî4úî: îC'rï<î gsï<îÔîYîêî"Nî#™qî&ï<ï<rî'´ï<ï<î(Ýqï<î.! î7Íî92î>Pî@aï9àî g îîî¸îËî¤î#Ô î+óî49î7:î;Çî=Ëï7®î g î† îî!ëî$¶î+Tî-Xî2®î7Írï5{î gqï5{îÔîÔî„ î#aî&£ î/Sî5î8Ëî<ûï3Iî g rî¯ï3Iï3IîØqï3Iîî!î#Ë î, î1Þî5˜î<*î@Mï1î gî¨îQ î rî%æï1ï1î'qï1î,Tî.Xî2± î;î@ÃîCøï.äî g î²î|îÒî ñ î*vrî0�ï.äï.äî1Æsï.äî9] î@ôqîE"ï.äï.äï,²î gî›îZî»îöî!ûî'iî(Ïî,Êî28î4I î<žîB\ï*î gîGîÌî®î ‡ î(¥ î0Ãî4¾ î<šï(Mî grî|ï(Mï(Mî¦qîKï(Mï(Mï%Fî¶rîï%Fï%FîIqï%Fî� î!«î(™î+Œî2Ö î:²îA7îEZï#î gî�îŒî\î&î$<î+mî. î6pî9I ï âî g î…îÈî¡îöî% î.rî6Aî;¯îBhï¯î gîŠîÍî î ‘ î(±î+óî2Oî78 î?p ï}î gît î¾î"Ìî%|î+î0Áî4î:•î>5 ïKî gî<î@îyî» î"|î$�î,(î0sî3Ýî;„î@îDwïî gîµîXî] î$œî)î0¦î53î8·î=î@_ïæî gîøîY îÕrî „ïæïæî!®qïæî&òî.î6Nî9� îC³ï´î gî7î¼î¦îèî"Îî)*î+õî/Öî2†î7Šï�î gî$îîî î"î$Þî,þî1³î9‘î;äî@™îCÛïOî gîÍî‚î<î¡î%H î,Êî.èî5°î:Ïî>¯î@Àï î gî¿î!î†îÞ ”TVm$Ã2DOCUMENTCOMPOSITION2-25Thestrengthofthetroffdocumentformattingsystemisthecollectionoftoolsimplementedaspreprocessors.Thesepreprocessorsincludetblforformattingtables[Lesk,tbl],eqnfortypesettingmathematicsnotation[Kernighan&Cherry,eqn],pic[Kernighan,pic]andideal[vanWyk,ideal]fordrawingillustrations,andrefer[Lesk,refer]forproducingbibliographicreferences.Thefilter/pipemodelfromUNIXhasdeterminedthearchitectureofthetroffdocumentformattingsystem.Thefiltermodelforcesthedocumentfiletobealinearstreamofcharacters.Eachtoolreadstheentiredocumentfileandproducesamodifiedversionforthenexttoolinthepipeline.Therecommendedprocessingorderisrefer,pic,tbl,eqn,thentroff,aconvenientorderforthemajorityofdocuments.Occasionally,whenitisnotpossibletoestablishasequentialprocessingorder,thisschemebreaksdownandelaboratetechniquestobreakcirculardependenciesareneeded.Otherwise,thematerialcannotbeformattedbytroff.Nonetheless,collectingseveraltypesofdiversecontentinacompletedocumentmanuscriptismoreconvenientfortheauthorthanmanagingtheseparatepieces.Eachtooldistinguishesitscommandsinsomeuniqueway.Forinstance,eqnprocessesembeddedmathematicalnotationbyrecognizingitsowndelimitersdifferentfromotherformattingcommands.Thisleadstoahidingofinformationamongvarioustools.Forexample,thespellingcheckerdoesnotinvestigateanymisspelledwordsinsideeqnortblcommandseveniftheyareEnglishphrases.Somedocumentcommandsaretreateddifferentlyatdifferentstagesinthepipeline.Forexample,.TSand.EQaretblandeqncommandsrespectivelytobeginformattingtablesanddisplayedequations.Later,thesecommandsarepassedontotroff,whichtreatsthemasordinarymacrocommandstolayoutaparticulartableordisplayedequation.Anunfortunateconsequenceofexecutingthemacroprocessorlastinthetroffpipelineisthepreclusionofstylefacilitiesorindirectdefinitionsofformatsfortables,mathematicalnotation,illustrations,oranyotherpreprocessortotroff.Somepreprocessorsfurnishtheirownsimpleanddifferentmacrolanguageswhilesomeusersinvoketheirownpreprocessortoprovidethemissingmacrofacilities.Yettheunifyingconceptofthepipemechanismprovidesthetroffdocumentformattingsystemwithitssimplicity.Shouldtheneedarise,itiseasytocreateyourowntoolstosolvedifficultdocumentcontentproblems.Theubiquitousdocumentmodelofastreamofcharacterswithembeddedcommandsmakesthispossible.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶îî}îŽrîgï^ùï^ùî�qï^ùî$Ôî,Š î4©î: î;¾î>— îF ï\Æî gîb î^îb î'§î,v î6³rî<Œï\Æï\Æî=µqï\Æî@§ïZ”î g î†sî;ïZ”ïZ”îžîGqîCïZ”ïZ”rî KïZ”ïZ”î!uqïZ”î$fî' î/k î8ðsïXbî gî5qîËïXbïXbrîÓïXbïXbîýsïXbî î î(…qïXbî+Lrî.ŽïXbïXbî/¸sïXbî4üî8î;©qïXbî?ƒïV/î gîà îrîTïV/ïV/î ~sïV/î%Âî)ÎqïV/î-�î0Mî8* ïSýî g ïP÷î¶î îî (sî$=ïP÷ïP÷î%\qïP÷î(ªî+� î4[î74 î@6îBGrïNÅî gqïNÅîÔîŠ î"©î)î,{î0„î5•î:dî==îDóïL’î gîkîÀî%îÌîî0 î&îî+î.nî2Æî5Ÿî:TîB îDïïJ`î gîqîÖîÞî!›î$Kî'$î*Ðî.,î00î3 î:nïH.î g î) î-î#Ÿrî%TïH.ïH.î&}qî+#ïH.ïH.rî,+ïH.ïH.î-Tqî/§ïH.ïH.rî0°ïH.ïH.î1Ùqî4,ïH.ïH.rî54ïH.ïH.î6^qî8°ïH.ïH.î9¹rî=€ïH.ïH.î>©qîCOïH.ïH.îDWïEûî g îÈî:îêîÃî%Tî'e î0 î:¼î?/î@ÉîB~ïCÉî gî¶îºîtîÙ î$© î,­î1‰î4²î:Šî?ÃîDPïA—î gîŠ îÅîÊî"dî(W î2ˆî5Sî< îDRï?dî gîÐî2î†î"!rî$‚ï?dï?dî%«qî*Qï?dï?dî+÷ î5§ î= îB‡ï=2î gîxîîîîkî$�î,7 î4Áî6uî:¿ îC ï;î gî@î‡îOîÛî"´î)ï7úî¶îÙî5 î ïî#(î+oî-sî1½î7Tî;Åî>ùrï5Çî gqï5Çî‚î²îÅ î)éî0mî2Î î;˜î=Ñï3•î g îîÕîêî#C î+aî4¯î8hî<™î>�î@îE/ï1cî g îsîàî �î% î(Ôî/Ïî2¨î8Âî>ÏîB£ï/0î g î†î­ î¾î$šrî)iï/0ï/0î*’qï/0î-„rî/¢ï/0ï/0î0Ëqï/0î3½î<î?ñîA˜îEEï,þî gîYîFîàî%–î-Ýî0§î61 î>Cî@-ï*Ìî gî)î-îîjî žrî'™ï*Ìï*Ìî(Âqï*Ìî+´rî.öï*Ìï*Ìî0 qï*Ìî3rî5Üï*Ìï*Ìî7qï*Ìî9örî=9ï*Ìï*Ìî>bqï(™î gî­ î î¤î$1 î,Pî1î4Hî;  ï&gî gî6îtî»î …î%Ìî(:rî*>ï&gï&gî+hqî0 ï&gï&gî1î5óî:fî>¥î@©ï$5î gîkî±î¶î ºî" î)“î-ªî/Èî7 ï!/î¶î€ î� î%!î'2î.˜î1qî6uî=¿î@¿îBÃrïüî gqïüîÔî1îåî¾ î%¶î'Çî+š î2î4/î:= îBiïÊî gîfîî5 î$Yî+G î4–î6µî9Üî>5 ï˜î grîkï˜ï˜î•qî:ï˜ï˜îáî{ î$¸î*iî.Wî1öî7<î:~îAEïeî gîôîfî°î àî&@î*/î-Í î7lî9pî?}îBVï3î gîk ï-î¶îÝî¶îGî"cî$tî'Mî+î3ªî:Vrî=.ï-ï-î>Xqïûî gî î<î!œî%Vî'� î0î5Èî8¡î<ªî@õîB�îDDïÈî gîkî;îîºîµî ºî$éî+,î2âî8ÉîAï –î g î¢îXî!iî#zî$ßî*3î,D î3úî7´î?Çï dî gîxî ÞTVm$X2DOCUMENTCOMPOSITION2-26Documentstyleintroffisprovidedbyitsmacropackages.Twofrequentlyusedpackagesarethe-msand-mepackages,theformercreatedbyMikeLeskatBellLabs[Lesk,-ms]andthelatterbyEricAllmanatUCBerkeley[Allman,-me].Macropackagesprovidetwoalternativetechniquesfordefiningdifferentdocumentstyles:onecaneitherparameterizethebehaviorofthemacrosorreplacethemacropackagewithanotherthatdefinesthesamecommandswithdifferenteffects.Asanexample,theBellLabs-mspackagecanformattitlepagesindifferentwaysbyinitializingparametersfromthe.RPcommand(releasedpaperformat)ratherthan.TMcommand(BellLabstechnicalmemorandumformat).Also,severalvariantsofthe-mspackageexistforformattingdocumentsinstylessuitablefortheJournaloftheACM,CommunicationsoftheACM,andACMconferencepapers[Johnson,CACM].Mathematicscompositionisprovidedwithintroffbytheeqnpreprocessor.Thismathematicstypesettingsystemhasbecomewidelyemulatedandvariationshaveappearedatotherresearchcenters[Gruhn,YFL]andincommercialtypesettingsystems[Alexander,Micros].Thebasictechniqueistodefineanotationlanguagethatexpressesvarioustwo-dimensionalrelationshipsamongboxes.Theserelationshipsmayaffectthesizeofboxes,suchasmakingbracketslargeraroundlargefractions,ortheirrelativearrangement,suchaspositioningsuperscriptsandsubscripts.eqnknowsnothingaboutmathematicalconceptsortheactualdimensionsoftheboxes.Itreliesontheauthortoprovidetheprecisespacingorlinebreakingofmathematicalnotation,andontrofftodotheactualpositioningandformattingoftheboxes.Unfortunately,eqnguessesaboutsomesizerelationshipsanditmustbetoldthecurrenttypesizeexplicitly.eqnprovidesbuilt-inrelationshipsforcommonmathematicalnotation,butthesetofnotationsisnotextensible.However,theeqnmacrofacility(separatefromtroff)andsomelow-levelpositioningprimitivesdoprovideanescapemechanismforcreatingnewnotationasmacros.Astherearedifferentversionsoftrofffordifferentdeviceclasses,therearealsotwoversionsofthemathematicaltypesettingsystem:neqnfortypewriterdevicesandeqnfortypesetting.Thislackofknowledgeofmathematicalconceptsineqnisbothastrengthandaweakness.Withoutanyknowledgeinthemathematicalformatter,oneisforcedtosupplyintediousdetailallthenecessaryspacingforoperators.Ontheotherhand,theabsenceofbuilt-inknowledgeavoidshavingtocircumventinadequateruleswhentheymustbebroken.Thetwoillustrationpreprocessors,picandideal,provideelementaryfacilitiesforincludinglinedrawingswithindocuments.Thetwodifferinthevïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶îÖî©rî­ï^ùï^ùîÖqï^ùî$î%Ïî,Ëî/,î1eî6iî>_ï\Æî g î_î@î.î!ùrî$Òï\Æï\Æî%ûqï\Æî(írî,/ï\Æï\Æî-Xqï\Æî0Jî7¢î:{î?õîE´ïZ”î gî¾î¹î£î sîïZ”ïZ”îxî"!qïZ”î%Jî(Œî+eî/±î2î5–î;zî=dî@‹sïXbî gî qî·ïXbïXbî]î–î"„î(‘î+Æ î3× î<î>ÂïV/î gî.îäîèî#î&*î*ß î4¥î7~î>Qî@bïSýî gî î(îÙî²î!¶î(î+¿î1Ìî5*î:Úî=³ïQËî gî­îgî.î%bî'Ýî*1î1+î4î7mrî;vïQËïQËî<ŸqïQËî?‘ïO˜î gîtîÕî2î¿îÃî%Šî)’î+ó î4 î<î@”rîCmïO˜ïO˜îD–qïMfî gîîüî¤î%—î*trî.;ïMfïMfî/dqïMfî2Vî9ýî=øïK4î gîV îþî$øî)4î.®î4Öî6çrî9ÀïK4ïK4î:éqïK4î=ÚîD*ïIî gî î5îŠî!Žî&î,î.Ëxî1¤ïIïIî2^î7�î9yî<:qî@3ïIïIxïFÏî g îÅî¼î~qî!wïFÏïFÏî"€î%Âî*i î2½sî8ïFÏïFÏî8gî>-qîBêïFÏïFÏïCÉî¶ îp î"¿î$sî+orî0ŽïCÉïCÉî1·qïCÉî6ûî9\rî<5ïCÉïCÉî=_qïA–î g î îÆ î$K î, î2î4ôî;î@Tï?dî gî© î(îî";î$%î(}î.õsî4‹ï?dï?dî4îî9Íqï?dî=¦î@éï=2î g î? î“sî#“ï=2ï=2î#ö î*ðqî/kï=2ï=2î1î4{î8Ÿî@;îAðï:ÿî gîyîÞîbî Pî#®î*Þî0›î= ï8Íî gîÔîƒîR î%ñî)�î.î0öî4*î6;î;Lî?!îA%ï6›î gîßî“îCî!Y î(|î*šî.‰î4` î>[îB0ï4hî g îï îðî!2 rî)Öï4hï4hî*ÿqï4hî-ñî3î9)î=Ñ ï26î gî"î@îîé î%‹î'�î*vî0%î1çî6>î8¬î;…î@Ìï0î gîtîMîÖî »î"Úî&î,îî/ î9#î@îCTrï-Ñî gqï-ÑîÔîÙîGî îð î'xî*» î2Ùî4ëî7Äï+Ÿî g rî†ï+Ÿï+Ÿî¯qï+Ÿî¡î!kî&î*^î-’ î70î:sî< î@$îBxï)mî gî@îÿî«îß rî#ýï)mï)mî%&qï)mî(î.Ãî4© î>Hî@øï':î g î‹îyî zî#Sî%Üî'íî/î0Åî3¸ îœ ï?î gî%rîgï?ï?î‘qï?î‚î2 ï8î¶îoîåî÷î!<î#M î-qî4,rî60ï8ï8î7Yqï8î:Kî;ÿî?áîAFïî gî©îîFîËî"òî+8î-<î0 î:9 îAíîE"ïÔî gî†î‹îßîãî ¡î%/î'‚î*[î1¥î7‹î:; îB€îEXï¡î gîÀî[î3î\î mî&Sî.˜î3¶î9î; ïoî g îÖîßîRî þî%î'iï iî¶îîT î› rî)Bï iï iî*kqï iî-\rî0Ÿï iï iî1Èqî6mï iï iî7vî=ƒ ï 6î g îÞîŽîÙî î'î,5 î5‘î8ûî<0î@½îBÁ TTVm$�2DOCUMENTCOMPOSITION2-27mechanismsfordefiningthelinedrawings:picusesalineandcurveparadigmwhileidealusesnonlinearconstraintstodefineboundariesandconnectedlines.Theillustrationtoolshaveonlyrudimentarystylefacilitiesforsolidanddashedlinesandforarrowheads.Moreelaboratestyles,suchasvariouslineweights,fancierarrows,textures,andshadowsarenotprovided.Throughthepreprocessorarchitecture,andsubjecttothepipelineorderofpreprocessors,itispossibletoincludeanytroffmaterialintheillustrations,includingequationsandformattedtext.Thetbltableformatterisaverycomprehensivefacilitycapableofformattingalmostanytabledesign.Evidenceofitspowerisshownbyoneauthorwhocreatedboxedillustrationsforhispaperwithtblwhenalinedrawingtoolwasunavailable[Rosenthal,GraphicalResources].Evenwithitsflexibilityandgeneralityfortableformatting,itisawkwardtoachieveconsistenttablestylesintbl.Theuseroftblmustcarefullyspecifyallthelayoutparametersinaconsistentfashion.Therearenoseparatemacrofacilitieswithintbltohelp,andthetroffmacroprocessorexecuteslaterinthepipeline,aftertblhasprocessedallofthetableinformation.Thereisnointeractivedesigntoolfortablestoassistwiththespecification.AnextensivesearchforsuchtoolsfoundonlyaprototypebuiltbyBiggerstaffaspartofanexperimentinobject-orientedprogramdesign[Biggerstaff,TABLE],describedmorefullyinChapter4.Thepagelayoutmechanismsintroffdependontwopowerfulideas:trapsanddiversions[Witten,Traps].Atrapisamacrotobeexecutedatameasureddistancefromthemostrecentpagebreakintheoutputstream.Thetrapmacromight,forexample,emitthefootnotesatthebottomofapageoftext.Adiversionisanalternateoutputstream,distinctfromthenormalstreamwhichisdirectedtotheoutputdeviceorfile.Internaldiversionsareusedtocaptureformattedinformation,suchasfootnotes,forlaterinclusiononapage.Floatingatableorillustrationfromwhereitoccursinthemanuscripttowhereitwillnextfitonapageisaccomplishedwithdiversionsintroff.Whenatableisfirstencountered,anewdiversionisstartedtocapturetheformattedtable.Afterthetablehasbeenformatted,thediversionisclosedandthemacropackagecancheckforsufficientspaceonthecurrentpagetoholdthedivertedtable.Ifthereisroomthenthediversioniscopiedimmediatelyontothenormalstream,otherwiseitishelduntilthebeginningofthenextpage.(Complicationsariseifthetableislargerthanthepagebuttheyneednotbeconsideredhere.)Implementationrestrictionswithintroffhavepersistedforadecade.troffisanoldprogram,originallycodedinassemblylanguagefortheDECvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g î©îYîÝî!¶î$÷rî,„ï^ùï^ùî-­qï^ùî0žî40î5•î8×î<î@šï\Æî grîÙï\Æï\Æîqï\ÆîGîØî"= î*vî,{î1Œ î:î=JïZ”î gîOî¹ îÿî úî$èî(¡ î2 î5ß î�î@ðïH.î gî®îMî î  î(èî+˜î.;î2ãrî6�ïH.ïH.î7ÆqïH.î:¸î?*î@�ïEûî gîÃîîT sî"ïEûïEûî"t î)Dî/° qî6ïEûïEûïBõî¶îóî¬îæ î!Kî$� î,'î.Öî2í î;uî=î>ÄîE¿ï@Ãî gîM îèîþî"prî$tï@Ãï@Ãî%žqî'ðï@Ãï@Ãî)—î-î0’rî2£ï@Ãï@Ãî3Íqï@Ãî6¾î:ÕîA›ï>‘î gîºî“î˜ îî! î"o î* î0Üî5«î8vî:äîANï<^î g îÞrîýï<^ï<^î&qï<^îîî"@î%‚rî([ï<^ï<^î)„qï<^î.Èî3Ìî;îA©îEpï:,î gî@îrï:,îrqï:,î�î!€î)î+Sî-dî0=î4T î>gîC7îDëï7úî g îlî˜îôî¤î$Yî&]î*›î.Uî1. î;­î>wï5Çî gîyî)îþîùî Öî$Žî%ôî-tî1cî3Ä î< î>îA†îC—ï3•î g î îî"pî)sî.Gï3•ï3•î.ª î5çqî:ðï3•ï3•î;ùîC_ï1cî gîHîLî©ï.]î¶îîî î%Tî'Xî+î1î3sî6¨î=£îBeï,*î gî© sîjï,*ï,*îÎî¸qî wï,*ï,*î"î#ùî'qî)&î*‹î/�î1“î3çî:Êî<´î>ï)øî gîÄîÚî³î»î"³î&¡î+;î-?î0î5nî;Éî?3îB«ï'Æî gî“îCî>îî!Ýî)î*øî-Ñî3�î5 î7î:ôî=îAPï%“î gî‰î>î‘îXî#®î)kî/7î3Mî6&î;ÕîA)îFï#aî gîÅîÉî¢îøî"î$5î("î.d î6%î8ïî<Ñî>Õï!/î gî îxî!Mî#Q î*ëî-›î1aî8jî:×î<=îA3ïüî gî Ìîãî îGî ]î%Fî&áî,î.î0Þ î9gî;lî@UîAðïÊî gîî?î­îîîµ î%ôî)® î1orî3sïÊïÊî4œqî9AïÊïÊî:èî?ÒîA7îEMï˜î gîÑ î¥î î�î%±î'eî,Çî.Ìî4³î7Œî?'ïeî gî¿î˜î®î¡îª î&¯î)ˆî0ªî2^î7cî:¥î=~ï3î gî¶îÄîlî î$Mî(Áî+/î.î3Æî7´î9¹î=�î@fïî gî…îTî“îGî«î!sî$Lî+nî-"î2w î;àî?´îB�ïÎî gî$îŠî$îÙî ’î$�î'Zî/î1 î3ùî7¥î<› ïœî gîGîïîÈîÞî“îGî#î%çî)Õî,Öî0ƒî4Œî7î9Ó îBï –î¶ îµ î$rî)5ï –ï –î*_qï –î/£î3‘î:sî="î>ˆrï dî gqï dîÔî‰îÜîÂî × î(-î- î/î6î=î?´sîB�ï dï dîC¬ bTVm$Ž2DOCUMENTCOMPOSITION2-28PDP-11,subsequentlytranslatedintoC.Ithaschangedlittlesince.Thefaceliftfordeviceindependenttroffconcentratedmainlyonfontdatastructuresandgeneralizingtheoutputdevicemodel.Themostnotoriousrestrictionisthetwo-characternamelimitation.Macropackagesfortroffhaveusedelaborateconventionstoavoidcatastropheduetonameconflicts.Eachpreprocessorrequiressomesetofmacroandregisternamestosupportitsoperationsandthereforeeachreservessomesetoftwo-characternames.Usersoftroffmusttreadgentlywhencreatingtheirownmacrosorextendingtheexistingpackagestoavoidnameconflictsbecausethenamespaceissolimited.Limitedinternaldatastructuresareanotherannoyance,restrictingthecomplexityoflinesoftext,thenumberofcolumnsinatable,orhowmanyentriesmayexistwithinamatrix.Theauthorofthisthesisledthedevelopmentofadocumentcompiler,TYPESET[Beach,Typeset],toalleviatemanyoftheshortcomingsoftroff.Asmalltypesettingbusiness,WATTYPE,usedTYPESETextensivelytocreatetechnicalandscholarlypublicationsforavarietyofpublishers,mainlyinmathematicsandcomputerscience.TYPESETwasbuiltwithfullknowledgeofthetroffsystemandattemptedtoeliminatemanyofitslimitations.ThemacroprocessorhasasimilarsyntaxandflavortoGPM[Strachey,GPM].Conditionalexecutionandcontrolstructureswereaddedtothemacrolanguage,providingdocumentlayoutprogrammerswithmorefreedominexpressingtheirdesigns.Registernamesofanylengthwerestoredinahashedsymboltable.Mostdatastructuresweredynamicandcouldgrowasnecessary.Mathtypesettingwasbasedontheeqndesign[Kernighan&Cherry,eqn]buttheimplementationincorporatedmanyenhancementstoimprovethequalityofformattedequationsandtofacilitatemoreoptionsforaligningequationsandhandlingmatrices.Atableformattingpackagewasbuiltusingthemacrolanguageandprovidedseveraladditionaltypographicfacilitiessuitableforstylecontroloverthetabledesign.PaginationandlayoutalgorithmswerebasedontrapanddiversionparadigmssimilartoPage-1[Pierson,PAGE-1]andtroff.TYPESETwasnotfullyexploitedbecauseitrequiredsignificantprogrammingskilltodesignnewdocumentsanditlackedsufficientdocumentation.Nonetheless,itdidservewelltoexpressdifficultbookdesignsandproducecompetitivegraphicartsqualitytypesetting.TYPESETservesasaninterestingcontrastingoalswithScribe,describednext.troffisinwidespreaduseandcontinuestohaveasignificantimpactontechnicaldocumentproduction.Itsstrengthsarethesimpledocumentmodelandthelargenumberofpreprocessorsandtoolsthatcanmanipulatedocuments.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbsï^ùî gqî)ï^ùï^ùî»îk îM î#Ûsî'Eï^ùqï^ùî(Bî)éî+«î.žî5#î8÷î>"îAŒï\Æî gîî6 rî¼ï\Æï\Æîåqï\Æî$) î-äî3^î5Ìî9Qî<ð îDrïZ”î g îšîsîÉî"èî)î,jî0sî7Ê î?�îAAïXbî g î¦î% î#­î(åî/Ôrî2„ïXbïXbî3­qïXbî8ñî<ßî@ÁïV/î g î�î…î î$·î'úî)þî.~ î6 î:. ïSýî gîÄîî—î¨î ¬î#îî)Æî.äî0éî6÷î90 îA4ïQËî gî}îQî’î!Ýî$fî&w î0¶î6Üî;urî=‡ïQËïQËî>°qïQËîCôïO˜î gî¥îœîî Qî$@î'Þî-�î/Ÿî7:î:î@ïMfî gîkîëîjîïî$î&ñî+pî/ãî1˜î3¶î:aî@£ïK4î gî îˆîSî ` î(ö î0«î3„ î;òî>îAãîCôïIî gî@îuî†îî î!�î&î( î+¾î0Kî5Ÿî9=î=îB/ïFÏî gïCÉî¶îîgîxî î"-î$øî'Ñ î1¥î3¶î5î<ÒsïA–î gïA–îDîqîïA–ïA–î î %î&›î+(î-9î0 î:rî<,ïA–ïA–î=UqîAúïA–ïA–îC¡ï?dî gî¾ îsî ï?dï?dî!bqî&úï?dï?dî(sî+äï?dï?dî,Ìqï?dî2 î;/î=3ï=2î gîVî™î‡ î&Êî)zî*ßî0Mî2^ î:²î@-ï:ÿî g îìî/î •sî'@ï:ÿï:ÿî((qï:ÿî.î1Rî5Aî8ûî<îDMï8Íî grî@ï8Íï8Íîiqï8Íî­îîPî&î(î/Iî3Õî5æî8 îAFï6›î gîkîµî¨îî"{î'™î*Üî/�sî1¡ï6›ï6›î2Ëï6›î5‘ î;èqî?œï6›ï6›ï4hî g îsîçî )î%Ì î-Nî1Iî6Aî8Eî;î@"ï26î gîæîœî ¡ î*µî.oî2¹î9Jî;N îCRï0î gî9î°îÎî ßî$î)î-î2 î4î5tî; î@Èï-Ñî gî¤îD îÅîÀî&mî)¯î.=î2_î4c î<µï+Ÿî g î¼îðî˜îrî!ßï+Ÿï+Ÿî#qï+Ÿî%úsî+&ï+Ÿï+Ÿî+‰î7óqï+Ÿî;(î>)ï)lî g î? î!ëî&x î1.î32î9µî<ŽîBï':î gîîuî·î ¼ î'hî+³î1‹î4;î:‰îAüï%î gîHîÔî°î Æ î(åî/4î2iî6Xî:½î=–ï"Õî gîUî—î“î# î*Ð î3Þ î:Uî@pîC ï £î gî îÃîœî²î"æ î+î.Sî3X î;vî?qîDïqî gîßî!îCî":î'§î)¬sî/ ïqïqî/oî4°qïqî:Çrî> ïqïqî?2qîCØïqïqsï>î gqï>îDîyîkîLî$}î*¥î,@î2ì î:Ö ï î gîêîïîîžî"óî&6î'Ðî,ü î4- ïÚî g îî²î¥îâî"fî$jî*5î0xî4¨î:rî=µï§î g îMî3î[î#ä sî-Aï§ï§î.(qï§î4î8ùî:þî=Q ïuî gî�î¡îÐîŠî"î)mrïoî¶qïoî#î×îÜ î"î%rî(´î0î2î6 î7r î?\îDËï<î gîVî î$„î&åî-áî0¬î3…î8Ëî@�ï î gî©î‚î˜îÍîÞ î)î,^î0Yî3¶î6Ä î?Z  VTVm$:2DOCUMENTCOMPOSITION2-29Itprovidesthebroadestrangeoffunctionalcapabilitiesformathematics,tables,andillustrations.Thereareseveraldifficultiesthatlimititseffectiveness:implementationlimitations,expensiveandresourceintensivecomputation,andrestrictionsontheinclusionofmathematics,illustrations,andtables.2.4.2ScribeTheseconddocumentformattingsysteminwidespreaduseisScribe[Reid,Scribethesis],whichwasthefirsttousetheterm`documentcompiler.'ThegoalforScribewastoformatdocumentsinaportablefashionacrossdocumentstyles,acrossoutputdevices,andacrossvariouscomputersysteminstallations.ScribeiswidelyusedamongtheARPANETcommunityandisdistributedcommercially[,SCRIBE].Thenotionoftheformofadocument,oritsstyle,asopposedtothecontentofadocumentormarkedupmanuscriptwasmadeexplicitlyseparateinScribe.Styleinformationismaintainedinadatabaseunderthecontrolofadatabaseadministrator.Thedatabasecontainsvariousformattingenvironments,eachspecifyingavastnumberofformattingattributes.Normalusersofthedocumentcompilercannotcreatenewenvironmentsorattributes.Thecompilationprocesstakesinamarkedupmanuscriptfileandcreatesaformatteddocumentfilesuitableforprinting.Unliketroffwithitsmacropackages,Scribeprovidesonlybuilt-informattingalgorithmsthatareparameterizedbytheenvironmentattributes.TheScribedocumentformattinglanguageisdeclarativeonly.Reiddefendstheabsenceofproceduralfacilitiesinthedatabaselanguagebecause1)aprocedurallanguagewouldreducethefeedbackfromuserswhentheywereunabletodosomethinginScribe,and2)withoutenforcementorusertraining,``programmabilityinvariablyleadstoadiversityofstyle''[Reid,Scribethesis,p108-109].Reidconcedesthatanalgorithmiclanguagewouldincreasetheusabilityofthecompiler(thegoalofthisauthor'sTYPESETsystem).Reidconcludesthat:``Furthermore,aprogrammedsystemimplementedbyadiversevarietyofpeoplewithoutcentralcontrol,namelytheunionoftheproceduralextensionswiththebasicsystem,willinvariablybemoreobtuseanddifficulttounderstandandusethanaunifiedone.''[Reid,Scribethesis,p109]TheScribesystemprovidesmanyservicesfordocumentwritersandReidcoinedthephrase`writer'sworkbench'[Reid,Scribethesis,p71]todescribethecollection.Includedamongthesefacilitiesaretheautomaticcollectionofentriesvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî gî)îÕî®î[î"çî$ø î,È î5Rî8 îAðï\Æî gî© î–îeî!0î&ª î.Êî2(î6î8O ïZ”î g î? î Çî(Sî+–î2'î9 îCïXbî g îÈî6îî!î#( î- î6fî9©vïTˆî gîTqïP­î¶îî›î Q î(pî-Ðî/Ô î8xî;kî=sîB2ïP­ïP­îB•ïN{î gî¡qîKïN{ïN{îTî1îeî >î#¨î%­î(Ÿî+xî/gî7‡ î?ÙîCCïLIî gîî)î^îbîÃî'î)î*�î1î6Ðî;¬îCbïJî gîCî™îÀî î$ßî*œî2î7c îAwîFŠïGäî gî­î�îüsîÕïGäïGäîÝqïGäî%Pî.î1Cî2ø î;M sîEoïGäïGäîEÓïE²î gqîëïE²ïE²ïB«î¶îîXîixîBïB«ïB«îÇqïB«î!&î#7î$�î,¼î.Ûî1î5Rî7Vî=çî?ìxîBÅïB«ïB«îCqï@yî gîxîÝî“î²î±î"- î*·î-ìî2k î9�î?ìîAðï>Gî gî‹ î—îK î#áî%åî'Jî.î2Ôî5­î;Qî=bî>Çï<î g î’îüî!¶î(-î-ê î6 î@¼ï9âî g î)îŽîëî î!1 î)P î1¤î7Âî;òî>ï7°î gîîþî _î%/î(³ î2ýî5 î=pï5}î g îtî?îoî!sî"Øî(Øî+T î3Þî6Ãî:î?tî@Ùï3Kî gîîîîÍï0Eî¶rî0ï0Eï0EîYqï0EîžîWî!‘î&•î-íî2ÿî9«î=cï.î g î† î¤î î"Ì î-�î/âî2» îjîD’ï)®î gî�î  îç î#^î%bî(;î.õî5ãî< î>î?u ï'{î gîUîYî»î ”î'�î+¥î/Öî4Iî7õî;ðîA_îCcï%Iî gî^îbîÞî î!$î'3 î0·î2Õî6gï#î gî¾ î!rî%¢î'§î) î/¸î1Ésî6pï#ï#î6Óî:ˆî>Âï äî gqî-ï äï äîÓîÜîØî"6î$Š î-:î4(î9,î?{ï²î gîîîðîÑî";î%Ìî'Ýî+sî1Uï²ï²î2=qï²î82î?-ï€î gîïyî¶ îþî§ î&±î,V î6•î9;î:äî@ËîF}ïGî¶îîî dî&aî,î.äî3–î5—î8` î@— ïî¶îûî`îî"eî&% î.dî1Dî6î;ìî?ºîF‰ïâî¶ îMî�î‚î"Iî#¯î)_sî-Ðïâïâî.4î1éî6#î:FqïÜî¶îî2î’î$>î(Ëî.×î1‡î9=î>«îAíï ©î gî»î”îÛî  sî)ï ©ï ©î)eî-î1Tî5wqï ©î8¡î:¥îAï wî g îáîÑî!>î%} î+óî.¾î1—î92 î@¥îB¶{TVm$˜2DOCUMENTCOMPOSITION2-30fortablesofcontents,indices,andglossaries,theautomaticcrossreferencingwithinadocumentthroughsymboliclabels,thecollectionandsortingofindexentries,themanagementoflargedocumentscomposedofmanycomponentfiles,andtheextractionofbibliographiccitationsfromadatabaseofreferenceentries.Thelackofanalgorithmicformattinglanguagehaspreventedtheproliferationofspecialpurposeformattingpreprocessorslikethosefortroff.Therearesomemathematicalformattingcapabilities,buttheyareoflimitedcapacity,sufficientforsometechnicaldocumentationbutlimitedformoreconcentratedmathematicaldocuments.ThelackofrecursioninScribehasbeenaseriousimpedimenttobuildingamathematicalformatter;overprintingistheonlyreadilyavailabletechniquethatcanhandletherecursivenatureofmathematicalexpressions[Monier,Scribemath].TableformattinginScribeissimpletouse,butagainlimitedinfunctionality.Theschemeisbasedonextendingthenotionoftypewritertabstopsthatdefinecolumnboundaries.Scribeprovidesseveraltypographiccapabilities,suchascenteringwithintabstopsandfillingwithleaders,butmoregeneralfacilitiessuchascenteringheadingsoverseveralcolumnsrequireschangestothetabstopsettings.Scribedoesprovideanonportablecapabilityforscannedillustrations.Imagefilesscannedforaparticularclassofoutputdevicemaybeincorporatedintoadocument.Scribewillmanagethewhitespacelayoutdescribedfortheimage,butexpectsthedevicetooutputtheimagefile.ThemajoraccomplishmentofScribewasitssuccessfulseparationofformfromcontentinadocument.Thedatabaseofformattingenvironmentstakesadvantageofthespecialskillsofdocumentdesignersandsharesthedesignamongdocumentcreators.Therangeofdocumentcontentbeyondtextislimited,andtherearefewoptionsforbuildingspecialpurposeformattersorpreprocessorsduetothelackofaformattinglanguage.Thenextdocumentcompilerdealsdirectlywithformattingalgorithms.2.4.3TEXDonaldKnuthhasmadedocumentformattingalegitimatetopicforstudyincomputersciencebyhisworkonTEX[Knuth,TheTEXbook].Theboxes-and-gluemodelservesasthebasisforalgorithmicresearchintodocumentformatting.Threealgorithmshaveresultedfromthiswork:optimallinebreaking[Knuth,LineBreaking],hyphenation[Liang,Hyphenation],andoptimalpagebreaking[Plass,pagination].TheTEXdocumentcompilerincorporatesthismodelandthesevïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî gîîÌîÝîÌî"¿î& î-µî0�î8)î<> ï\Æî gî†îëî¡î åî'Òî,ãî/¼ î7/î:qî?ìîAþïZ”î gî$îý î¶î Çî$Ýî-1î4ôî7î;‘îD(ïXbî gî©î‚ î*î< î&Eî,Êî0ßî2Dî8þî;îB@ïU[î¶îî–î§îû î#« î+Êî2¸î5ªî=`ïS)î g îêîüî]î#­ î+Ë î6î9<î=•rî@EïS)ïS)îAnqîFïS)ïS)ïP÷î gî6îîK î"o î*� î3€î6�î:.î<ùî? ïNÄî gî/ î`îî!Zî(I î3‘î6’î<5î>åïL’î g î" î F î)¢î- î0ƒî2”î9Äî;Èî@ÛîCÎïJ`î gî ÌîT î‰îŽî% î&… î0© î8† îAïîC£ïH-î gî îšî{î$î'uî*‚î/ñî2Êî9Åî>òïEûî g î‹ sî:ïEûïEûî�î$Þî)qî,�ïEûïEûïBõî¶î] î{î€î#’î%Fî*Œî,‘î/íî2ïî7Sî<÷ï@Âî g îîxî Pî"î&­î)î0µî3Žî8Çî:Ø îBµï>�î gî˜îöîîú î(}î-�î4;î9¶ ï<^î g îZî/î3î"dî'ƒî*\î.Œî1Ïî6�î:Wî@VîCWï:+î gî1 î¨î}î�î%±î,“î0Kî5ÆîîîîS î&Çî*šî,¬î2î7 î:¾î= ï0Žî gîÑî6îôîî":î(Tî+- î3‚î8†î?ìîBœï.\î gî­î®îzîSî"rî$vî)Ìî,¥î1€ï+Uî¶îîá î$ î&î+,î.aî0š î86 î@îB0ï)#î gî|îcîgîÌî"Šî%ôî,®î.¿ î6Ý îA'ï&ñî gî)î:îîuî"–î$¨î,^î3�î6Ðî;Çî> ï$¾î gîÔîŠî ºî$$î(°î*Áî2wî8^î>CîA†ï"Œî gîtî¶îõî¿îçî%¿î(oî/î4bî:± îB›ï Zî g î¤îçîìîÅî";î$Mî%² î-Ðî5Æî90î<Üï'î gîHîxîkî!% î)C vïMî gwîTïMïïîHïMî0qïsî¶î¨îòîåî"eî* î29î3Ÿ î;9î?]îB îF€ï@î gîÍîqîÒîuî"¥sî%ï@ïúïúî%úï@î&âï@î(‰î-­î0…|ïúî1lsï@î2%qî6Šï@ï@î81î;› ïî gîxîTîXî1î9î!é î*™î1î4zî<0 ïÜî gî6 îTîBî#…î'šî*Ãî/„î5‘î8Òsî?¥ïÜïÜî@îDÉï ©î gqîï ©ï ©î sî¤ï ©ï ©îî!K qî)qï ©ï ©î*zî-¼î3Éî7·sî>‹ï ©ï ©î>îï wî g qî ï wï wî°sîï wï 1ï 1îï wîéqï wî‘î#Gî*' î3„î6¬î;½î?¡TVm$»2DOCUMENTCOMPOSITION2-31algorithmstoprovideacomprehensivedocumentformattingsystemthatextendsbeyondtexttomathematics,tabularmatterandcomplextypography.TypesettingmathematicswasaprimarygoalofKnuth'sworkonTEX[Knuth,AMSlecture].Thenotionofcomposingmathematicalexpressionsfromboxessurroundingeachcharacterandcomposingequationboxesforthearrangementofotherboxesappliesdirectlytomathematicalnotation.TEXreliesonbothalargefontlibrarytorepresentmathematicalsymbols,andasetofpositioningoperators.TheTEXtypesettinglanguageisalinearexpressionoftheboxes-and-gluemodelforformattingtwo-dimensionalnotation.RelatedworkonMETAFONT[Knuth,METAFONT]resultedinafontdesigntoolcapableofproducingthemanymathematicalsymbolsandalphabetsusedinTEX.METAFONTreliesonlinearoptimizationandequationsolverstodeterminetheoutlineshapeofcharacterdesignsspecifiedbysmallMETAFONTprograms.TEXprovidesamacrodefinitioncapabilitywhichpermitstheintroductionofshorthandinclusionofcomplexformattingcommandsandrepeatedtext.TherehavebeenasmallnumberofmacropackagesdevelopedforTEX.PerhapsthemostwidelydistributedisLamport'sLaTEXpackage[Lamport,LaTEX].DocumentlayoutisexpressedthroughimplicitcontrolsinTEX.TEXusesoneglobalalgorithmformanylayoutsituations.Thuswhenbreakinglines,thereisnoexplicitnotionofcentering.Insteadonesurroundscenteredtextwithtwogobs(atechnicalterminTEX)ofgluewithlargebutequalstretchinessvalues.Thejustification(glue-setting)algorithmfixesthegluesizetoaccommodatealltheboxeswithinthegivenlinemeasure.Similarly,pagejustificationalgorithmsareinfluencedindirectlybygobsofgluebetweenlinesoftextorpartsofapagetoaccomplishtheverticallayout.Plass'sworkwithdynamicprogrammingoptimizationalgorithmsleadtothedevelopmentofline-andpage-breakingalgorithmsforTEX[Knuth,LineBreaking][Plass,pagination].Theoptimizationgoalistominimizesomebadnesscriteria,suchasthesumofpenaltiesforbreakingalineinsomeway.Examplesofline-breakingpenaltiesareinsertingahyphenbetweensyllablesinaword,hyphenatingveryshortsyllables,andintroducinghyphensintwoormoresuccessivelinesinaparagraph.Giventhesetofboxesandthesetofpenalties,theoptimizationalgorithmdeterminestheoptimalbreakpoints.Theline-breakingalgorithmispartofthecurrentTEX82release,butthepage-breakingalgorithmisnotbecauseitistooresource-intensiveand/ortooslow.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g î…îŠî—îü î)Bî0ø î9î>wîAÕï\Æî gîMî�î” î!ƒî''î,aî/£î6B ïYÀî¶ î› î" î%Uî&ºî,üî0Œî2�î8ðî=sî?�ïYÀïYzïYzî@uïYÀîA\ïYÀîCïWŽî gîqîvïWŽïWŽîî‡îÀî Ñî) î3; î;êî?ÿïU\î g î¶î‹î ¢î#äî,*î2ÿî7¦î:Vî=/ ïS)î gîxîÑîxîî#î% î/)sî6¶ïS)ïRãïRãî7�ïS)î8„qïS)î:,î>ƒî@ñîDÓïP÷î gî|îîTîXî"‰ î,­î3rî6µî8î:£î<´ ïNÅî g î¬sîïNÅïN~ïN~îýïNÅîåqïNÅîŒ î#áî*Ïî,ƒî-éî2� î: î<±ïL’î g îÕîæî– î'µî4ïIŒî¶îÑîsînïIŒïIŒîÄïIŒî%?î*bqïIŒî3–î9Ùî;Ýî=Bî@ÇïGZî gîÃîÄîÕî²î"‹î' î1<î7˜î:ÚîB3îFsïE(î gïDáî NïE(î6qî?ïE(ïE(sîåïE(ïE(î;qïE(î¶î î {î%" î.³î1õî8Êî>7î@;ïBõî gî@îÖî~î�î"§î(qî/Sî1´sî6 ïBõïBõî7aqïBõî>Üsï?ïî¶ï?©î�ï?ïî…qï?ïî,îØî=î A î'Î î/Oî4,î:î<ø îFcï=½î gî*î3îDî#â î,î4Gî7Šî>DîBŽï;‹î gîUî^îÃîî Pî"aî'eî.Sî6=sî8íï;‹ï;Dï;Dî9Õï;‹î:¼qî;Åï;‹ï;‹î=lîC®ï9Xî gîpî¶ î îÀsî'œï9Xï9æï9æî(ƒï9Xî))ï9î*ï9Xî*÷qï9Xî,Ÿsî2ïï9Xï9Xî3Rî9Z|ï9æî:Bsï9Xî:Æ|ï9î;­sï9XîÓïUî gî<î@îîªî¼î!�î$Mî+ î,…î/Çî1Ëî6î:†îBï#î g îoîPî î&àî(Eî.9î4¾î;Nî=Rî>¸ïðî g îßîŠî» î$¶î'ø î0Ñî7cî9gî<œî>ºï¾î g îîüîîf î$=î)Aî,î.£î0´î5[î8žî;wî>î@ ïŒî gî@ îÑî P î(¿î+—î1¤î6?î<>ïYî g îoîîî¢î#î%+î(sî-ÃïYïïî.ªïYî/’qî0›ïYïYî1nî2áî8¸î;¹ï'î g îî›î Oî#Bî)jî+î,¹î/Ÿî=îB¦ï õî gÌTVm$Z2DOCUMENTCOMPOSITION2-32SometimesthealgorithmsinTEXproducebeautifulresults,buttheyrequireverycleverdesigners.Inthisregard,thefollowingsummarycommentappearedintheSeyboldReportonPublishingSystemswhendiscussingTyxset,thefirstimplementationofTEXavailablecommerciallyonamicrocomputer:`Thereare,however,someseriousflaws.ThegreatestoftheseistheneedforaccesstoXenixandTEX`gurus.'Thiswouldbenecessary,wethink,forallbutthemosttrivialwork.''[Alexander,Tyxset,p14]ManysituationsthatcanbehandledbyTEXarecollectedintothe`DirtyTricks'appendixofTheTEXbook.OneexampleofboththepowerofTEXandtheexcessiveclevernessrequiredtomasterTEXistheinclusionofleadersinanindexentry[Knuth,TheTEXbook,p392-394].TheexampleinFigure2-4providestheTEXcodesneededtoformatthegiveninputforvariouslinemeasures.TablescanbehandledwithinTEX.However,TEXtablesrelyonhorizontalandverticaljustificationprimitivesthataligninonedirectionortheotherbutnotbothsimultaneously.TheTEXbookdemonstratestheabilityofTEXtoreproducesomeofthesampletablesfromthetblmanualasevidenceofthefunctionalityofTEX.TEXisvaluableforthealgorithmicfoundationsitbringstodocumentformatting.Theinterfacetothosealgorithmsremainsastreamdocumentmodelwithoutanystructure.NoWYSIWYGinteractivecompositionsystemisyetbasedonTEX.2.5IntegratedCompositionSystemsAnintegrateddocumentcompositionsystemprovidesamoredirectwayofworkingwithdocuments.Oneaspectofintegrationisthecombiningoftheeditingandformattingtasks.Documentcompilersrequireonetofirstcreateoreditaseparatemanuscriptfile,thentoaskthecompilertoturnitintoaformatteddocument.Inanintegratedsystem,changestothedocumentbecomevisibleastheyaremade.Anotheraspectofintegrationistheintegrationofavarietyofdocumentcontentbeyondsimpletext,suchaslinedrawings,scannedimages,mathematicsandtables.ThefirstintegratedcompositionsystemwasEngelbart'sNLS,developedduringthelate1960's.TheNLSsystemintroducedthenotionof`whatyouseeiswhatyouget,'presentedavisualinterfacetoacceleratehumanunderstandingofthedocument,accepteddirectmanipulationofthedocumentstructureandappearance,separatedtheformofthedocumentfromitscontent,andintegratedmanyabstractobjectsintoauniformrepresentation.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶îîï î# sî%ï^ùï^²ï^²î%ùï^ùî&àqï^ùî(ˆî.óî5ðî;†î>‡îB3ï\Æî gîîá îîEî"mî(î*Üî2%î9Uî@’ïZ”î gîkxîDïZ”ïZ”îMî^î³î î'qïZ”î-Mî1À î9‚î?2îB ïXbî g î?sîPïXbïXïXî8ïXbîqïXbîÇî$§ î.Éî17î2œ ïU\î¶îáîîî#>î(¸î-áî1=î7=î9@î=qî?îAãîEÞïS)î¶î¢î¶î¢sîóïS)ïRãïRãîÛïS)î ÂqïS)î"yî)î,Éî1Ýî4A î<î>©îC{îF;ïP÷î¶î·î�î˜îZsî#ÆïP÷ïP÷î$) î+$î/áî1,qïMñî¶îw îÐî.î";î$�î*ìsî-NïMñïMªïMªî.5ïMñî/qïMñî0Äî3�î:qî=Úî@³ïK¿î gîÔîxîïK¿ïK¿î,TVm$CrîgïK¿ïKxïKxîOïK¿î BÿTVm$xî!@ïK¿ïK¿î"qî$©ïK¿ïK¿î&Pî)îî0î2�î6rî9Kî>Osî@`ïK¿ïKxïKxîAHïK¿îB/qïK¿îC×ïIŒî gî@îH î î$¶î&ºsî,ïIŒïIFïIFî,õïIŒî-ÝqïIŒî/…î19î4î;î=,îBÁîDÅïGZî gîôsî?ïGZïGZî¢îbî;|ïGî"sïGZîÛî#ºî%qî*ïGZïGZî+ªî/î5¥î7©î<üî?ÔïE(î gsî@ïE(ïDáïDáî'ïE(îqïE(î·îDîîî$gî'@î+²î0î2Éî8†î;ÇïB!î¶îüî î]î »sî%ÚïB!ïAÛïAÛî&ÁïB!î'©qî(±ïB!ïB!î*Xsî1ËïB!ïAÛïAÛî2²ïB!î3™qïB!î5Aî9öî=Eî?³ ï?ïî gî©ît îg î&î)zî-�î/“î2Çî9¶î;Ôî>­îCï=½î gîZî<xî|ï=½ï=½î ’ÿ…TVm$rî"Íï=½ï=vï=vî#´ï=½î$¨ÿžTVm$xî%¥ï=½ï=½î&yqï=½î)® î3©î6‚î;”sî=¥ï=½ï=vï=vî>Œï=½î?tqï=½îAï;Šî gî7î�î“îlî#î'¶î+Ìrî.¥ï;Šï;Šî/Îqï;Šî2¿î8¤î:¨îA|îCŽï9Xî g îsîï9Xï9ï9îÿï9Xîæqîïï9Xï9Xsï6Rî¶ï6 î�ï6Rî…qï6Rî,îáîrî"î û î)« î2¹î4Sî9Wî;\ï4 î g î�î÷î¾î!Âî& î.9î4mî5Òî;&îBÜï1íî gîuî� î‡sî cï1íï1íî!Äqï1íî(I î0N î9�î>þî@²îCpï/»î gsîÕï/»ï/tï/tî¼ï/»î¤qî­ï/»ï/»vï+áî gî îÿ î Žqï(î¶î€ îCî!ù î+Gî0¨î7Tî8¹î=îA¬îEï%Õî gîÏî‰ îæî#„î(|î*� î2áî4•î7nî?šîA«ï#£î gîðî2 îQî"aî*�î2î7¾î:óî<÷î@aîE1ï!pî gî·îî† î î#_î'&î)*î,î.èî5Éî7Íî;mî=î@qï>î gîîÀîëî!? î)î.Ìî5î7î9ßîA•ï î gî’î–îCîî•î&î+î-" î5vî7*î: îBWîDhïÙî gîÕîæîœî!‚î'hî,®î0[î40î64î9uî@Úï§î gîK îÐîï¡î¶îî‰ îL î'›î,üî00 sî8Åï¡ï¡î9èqî;—ï¡ï¡î<Ÿïnî gî»î”î¼î¹sî!#ïnïnî"Fqïnî$“î)ô î2Iî5"î:[îï=wî&ï=wùTVm$Þsï:äî¶î(î+ñî7ìî9yî;ï8øî¶ î1î&æî(”î2§î44î6ªî9aî;žï7 î¶î§ î$þî*wî,î0î3Ñî7†î;Õï5!î¶î†î%äî+×î-dî1ßî51î8æî<"ï35î¶îe î"×î(Pî)Ýî.Xî0Íî4ƒî7¾ï1Iî¶î†î%lî+^î,ëî1fî3Ûî7‘î;àï/^î¶ î;î&uî+^î7Yî8åî;#ï-rî¶îàî$™î*Œ î2çî4tî7¯ï+†î¶î Nî1Ãî3Pî9Cï)šî¶ð;ï'®î¶ðJï%Ãî¶ î) ï#×î¾î$î.é ï!ëîÇð0ïÿîÇî'î# ïîÇî&¢ï(î¾î$ î,ìï<î¶ î� î"¹wï î gîÀ{îñï ï î³ï îçï î"{ï î$©ï î*ïÃî*Äï î+~wï î,Íî.C î5î7Yî9ùî;§î>îA˜ïî gNTVm$tî¬ïïî”uîzïï×ï×î3ïîõtîÀïïîqÿ` TVm$(wî˜ïïîuî°î!¢î$zî&äî*lî0]î3Îî6-î9ªî=]î@åï2î gîkîâî�î&î ˜î#zî%Ùî(Ñî-W î3×î:Aî<<îAfîCÅïFî gîÙî¨î¢îî~î)îíî!=î${ïî% wïFî%Ãî'Eî*€î0Dî1»î5èî7–î9ôî gïþ;ˆ#jÏTVm$z2DOCUMENTCOMPOSITION2-34Inthefollowingsurvey,severalmorerecentintegrateddocumentcompositionsystemsarereviewed.Thefirsttwo,EtudeandJanus,areresearchprojectsanddealmainlywithdocumentstructureandinteractionissues.TheXeroxStarsystemtackledtheintegrationofvariousdocumentcontentsfromtheperspectiveofanofficeinformationsystemratherthanatypesettingsystem.EvolvingresearchatXeroxPARCintodocumentstructureandintegratedcompositionwillbehighlightedbriefly.2.5.1EtudeTheEtudeprojectatMIT[Ilson,Etude][Hammer,Etude]waspartofalargerofficeautomationresearchproject.Etude(easytousedisplayeditor)concentratedontheintegrationofdocumenteditingandformatting.ThedocumentformattingfunctionalitywassimilartoScribewhiletheinternalformattingmodelwasbasedonTEX'sboxes-and-gluemodel.Etudeoperatedon`highleveltypographicalobjects,'suchasachapter,section,paragraph,oritalicphrase.Adocumentdesigndatabasemappedtheseobjectsintoformattingattributes.Thesystemwasdesignedtobea`whatyouseeiswhatyouget'documentcompositionsystemwithahighstandardoftypographicquality,orientedtowardsthe`professionaluser.'UserinterfaceissuesandminimizingtrainingweremajorgoalsoftheresearcheffortinEtude[Good,Etudeinterface].DocumentsinEtudearehierarchicalstructures.Adocumentexistsastwostructures,onefortheinternalrepresentationofthecontentandanotherfortherepresentationoftheformatteddocumentbrokenintolines,columnsandpages.Thedocumentstructurehasthepotentialforaccommodatingnontextualcontentbutthishasnotbeendescribedinpublishedpapers.Supportformathematicsandtablesappearstohavebeendeferred.Etudesupportsthenotionofadocumentstylebyprovidingformattingenvironmentsforeachhighleveltypographicalobject.Theseenvironmentssupplyattributevaluesforformattingparameters.Relativevaluesarepermittedandthecurrentattributevalueisdeterminedbyaninheritanceschemethattraversesthepathfromtheroottothecurrentnodeinthehierarchicalstructure.TheEtudeformatterdisplayschangesastheyareenteredintothedocument.Anincrementalformattingalgorithmminimizestherecomputationnecessarytodisplaythechanges.Extrastateinformationismaintainedintheformatteddocumentstructuretosupporttheincrementaldisplayer.Theincrementalalgorithmsprovidethebasisfordevelopingformattersanddisplayersformoregeneraldocumentobjectsrepresentedasboxesandglue.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶îâîºîî!¦î'!î+kî0c î8%ï\Æî g î¶îµî€î&ƒî)ìî-Vî0õî5Òî9î>î@äïZ”î gî�îÑîcîÞî"—î*Mî10î4r î<¬îB[ïXbî gî]îÕî6îçî"À î+î-%î2âî:˜îAîE2ïV/î g îþîîcîý î' î,iî1Fî5î6s î>ÈïSýî gîSîËîµî «î%ñî)[î1î7óî;6 ïQËî g î¶îêî> î#ïvïMðî gîTqïJî¶îîýî†îpsî#^ïJïJî#Áî'‹ïJî,î2™qïJî7$î:Yî=Ðî?âîAGïGãî gî î²î )î&ºî+—î/Çî1Ìî4¿î:bïE±î g î"î�îi î#¼î%Íî-ƒî3 î6O î?uïCî gî î< î%Ûî)î.|î0�î5“î:î<ÞïALî g î†î—îËî!ssî#áïALïAïAî$ÈïALî%°qî&¹ïALïALî'#î(` î3Îî9çî>ÅîE™ï?î gî˜î… îÑî%.î)î+î,lî2½î8¯ î@éîCï<èî gî¶î‘îGî!sî(-î.‹î2Éî8Rî;¼ ï:µî g î»î%î†î ºî'›î) î+ôî-Yî1Ìî5î7Ùî9�î=—î@Ùï8ƒî gî îlî"Íî&†î'ìî+³î2mî4~ î=Œï6Qî gîëîîì î%|î*î.zî5Aî9èî=+ ï4î gîŽî‰îJîzî!‹î$dî*Ûî/hî1lsî6Jï4ï4î6­î:ñî>þ qîDƒï4ï4ï1î¶îtîxîVî" î+ î3�î5kî=!îA”îC˜ï.åî g îRî‡î7îî#* î-ìî/ýî2Öî8½î;ÿîB îD¼ï,³î g î)î:îî#®î+dî1î4qî8»î?LîB�ï*�î gîÑî‡îjî!\î$5î+î-Ç î9Ÿ îAÌï(Nî gîhî�îƒîvîî#åî%éî-…î3Ôî:2î<â ï&î gî©î_îlîpî _î$hï#î¶î“î@îî#Rî%cî&Èî.~î2Rî4³î<3 ï ãî g î±îaî5î üî$ê î/5î5(î9÷ ï±î gî»îiîmî  î(< î1²î8(î=,î?÷ï~î gî©î‚îAîïî#Tî% î-Çî0(î2| î;î@ÝïLî gî-îîÎîãî ¼î$@î&Dî)î.Üî2ÿî5î7Ü î@ ïEî¶îîýîHî%Šî+¿î-Ãî1pî4:î:-î=—ïî gî%îï î ï î) î0�î8gî;@ ïáî gî±î¶îYî2î%oî)áî-¶ î6Âî8v îA îCï®î gîî¸î"›î$Ÿî*­î-† î6† î>–ï|î g îg î…î#’î&kî*sî-# î5‘ î={î@½ ï Jî gîîaî+î áî&j î/Pî1Tî5üî9>ÿÂTVm$€2DOCUMENTCOMPOSITION2-352.5.2JanusTheJanusprojectatIBMResearch[Chamberlin,JANUS]tookaslightlydifferentapproachtointegratingdocumentcomposition.TheJanusworkstationusestwodifferentdisplaysofthedocument,onetheabstractmanuscriptfileandtheothertheformatteddocument.Editingchangesaremadetothemanuscriptfileandperiodicallytheformatteddocumentviewisupdated.JanusisadeclarativeformatterlikeScribe,ratherthanaproceduraldocumentcompilerliketrofforTEXthatreliesonmacropackagestoexecuteprimitiveformattingoperations.Adeclarativetagonpartofthedocumentannotatestheintentionofanauthortocomposeaheadingoranitemizedlist.Thedocumentmaycontainimagesaswellastextsincethetagmayinterpretthedocumentcontentasitwishes,perhapsaswordsoftext,orasalinedrawingorscannedimage.Incorporatingmathematicalandtabularmaterialisplannedbuthasnotyetbeenaccomplished.Thedefinitionoftagsinvolvesspecifyingthenamesofthetags,codingatagactionroutine,anddesigningapagelayouttemplate.Thetagmarkuplanguageisadirectdescendantofthe`GeneralizedMarkupLanguage'ofIBM'sDocumentCompositionFacility[,DCF][,GML].Adocumentdesignercreatesalibraryoftagroutinesthatcapturestheformattingattributesandlayoutactionsrelatedtothetaggedcontent.TagroutinesarecodedinaPascal-likelanguage.Pagetemplatescontroltheplacementofthetaggedobjectandaredesignedusingagraphicaldesigntool.TheJanusformattingalgorithmisbasedontheboxes-and-gluemodelofTEX.Tagroutinesproduceboxesthatarecollectedintoagalley.Outofsequenceboxes,suchasthetextofafootnoteorafloatingillustration,arerepresentedbyananchorinthegalleypointingtoagalleyfragment.Thepackeralgorithmplacesboxesfromthegalleyintothepagetemplates.Theresultingstructureistheformatteddocument.Janusprovidesforlocalinterventioninthefinalpositioningofboxesonapagebymovingpiecesofthedocument.Anysuchchangesarelostwhenthedocumentisreformatted.ThepublishedpapersonJanusgivenospecificsonhowillustrationsareaccommodatedbythetagroutines.Thetagroutinesprovideaverygeneralcapabilityforinterprettingstyleandrenderingnontextualcontent.TheJanusprototypewasexpectedtoprovidethebaseforfutureresearchinformattingmathematicsandtables,butnopublishedinformationisavailable.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbvï^õî gîTqï[î¶îîºîDsî.ï[ï[î²qï[î"Žsî)¥ï[ï[î* î1öqï[î7£î;iî<ÎïXéî gî.î_îd î$ªî,` î6·î:!î>¼ ïV·î gîùî-îôî 6î"Gî% î-@î0uî3Mî9i îAóîDØïT…î gî@î™îqî î&Êî,¢î2×î5¢î:"î<&î>ÿ ïRRî gîLîŽ î€îYî%ôî-ªî1‹î3?ïOLî¶îQîîj î±î&üî*0î/¬î4‰î8Qî9¶ ïMî gîîþrî2ïMïMî[qïMî$Ÿsî&½ïMïLÓïLÓî'¥ïMî(ŒqïMî*4î-’î1éî4Wî9[î@IîBMïJèî gî} î› î$§î&ƒ î.Éî1‡î3õî7mî9~îŸîEfïDQî gîîîî¢î#Eî)zî+î0[î2lî6î87î:;î; î>âîE>ïBî gî·îš î"ò î-î0Yî5ýîîDwï?ìî gîZîMî î ï<æî¶î î¬î¾î î&ƒ î.Dî1î6<î8Mî;&î>ìîDMîE³ï:´î gîQîyî»î" î#…î'sî,xî4Gî7±î:nî@–ï8�î gîî�î) î³îÅî!ž î+Hî1¥î9›sî;¬ï8�ï8�î<1qî>nï8�ï8�î>Øî@ï6Oî g î,sîï6Oï6Oî‚î¿ï6Oî"Åî%fqî)0ï6Oï6Oî*Öî,²î4hî:ùî@hîAÍï4î gîxî6î“îñî!vî$O î,n î3ºî6ýî<îAŠï1êî gîkîDî‹îyî Èî'%î)ïî.Íî0Ñî26 î:TîBIï/¸î gîÍîpîIî$4î&Eî)î.eî3Oî6’î9\î@=îD¢ï-†î gî‹î¶ï*€î¶îîº îÙî'Xî) î-µî0#î2ü î>jîC{sï(Mî gï(î Nï(Mî6qî?ï(Mï(Mîåî4î�î ûî%£î)î+Ëî2­î6î7|î=Eî@¢ï&î gî~î�îdîhî!Aî$„î&•î'úî.Œî0ªî2î8 î@Ìï#éî g îMî®îî~î!‚î$[î)î/­î1²î3î7Øî?èï!¶î gî»î:î%î"Ìî&áî)ºî.{î1åî4¾î8¬ îAï„î gî-îîÅîžî&9î.öî3‘î:=î<íïRî g î©î­î†îY î&áî(òî-™î0î1mî5[î7¼î=­îB˜îD©ïî gî%îÃî—î"Íî%—î(±î-$î/ýî7³î9h ïî¶îî»î î"pî' î*Žî,üî3�î5ïî9Ž îBsïçî g î¼îîöî´î'î*‚î-@î3œî9©î;î>ºïµî g îèî˜ î î#ðî'3î.² î6ßî=ÍîA7ï‚î gîèîîþî î&î(éî,¢î/Rî4Jî:Áî<Æ ïPî g îìî/îNî!Oî#½î+X î4dî6 ITVm$Ç2DOCUMENTCOMPOSITION2-36Janusprovidesinsightintothecustomizationofformattingdocumentsbyprovidingaformattinglanguageforwritingthetagroutinestoaccommodatenewclassesofdocumentcontentobjects.Tosupportanewclass,onewritesatagroutineandlinksitintotheexistingsoftware.ThestylemachineryinJanusisnotcentralized;eachtagroutinecanacceptitsownsetofattributes.Thiswillcausedifficultywithtableswherethestyleinformationcomesfromthedocumentcontainingthetable,thetable,andfromeachrowandcolumn.2.5.3XeroxStarTheXeroxStar[Smith,StarInterface][Seybold,Xerox'sStar]approachesintegrateddocumentcompositionfromtheofficeinformationperspective.Sinceofficedocumentsareitsmajorfocus,Starsupplieslesscapabilitytodescribeandcontrolallofthepossibletypographicfeatures.Nonetheless,Starintegratesseveralclassesofdocumentobjects,suchastextinvariousfontsandsizes,simplebusinessgraphics,mathematicalnotation,tables,andforms.TheStaruserinterfacedesigniscarefullymanagedtoensurethatcommonactionsoperateacrossalldocumentobjectclasses.Forinstance,theactofcopyingpartofabarchartisthesameascopyingpartofamathematicalformulaorapartofasentenceoftext.ThestylemechanisminStarprovidesonlyforthespecificationofindividualformattingattributes.Thereisnoindirectionorcentralregistryofnamedcollectionsofattributes;changingtheappearanceofanentiredocumentrequireschangingtheattributesofeachinstance.IllustrationscreatedbyStarGraphics[Lipkie,StarGraphics]aremainlysimplebusinessgraphics.Predefinedcategoriesofgraphicimagesareprovided:barcharts,piecharts,andsimplelinedrawingssuchasorganizationcharts.Scannedimagesarenotsupported.Thecentrallydesigneduserinterfaceextendstoillustrationsanditspropertysheetmechanismprovidesstyleattributesforgraphicillustrations.MathematicalnotationishandledverywellbyStar.ThenotationisdisplayedinaWYSIWYGfashionusingspecialfontsforthemathematicalsymbols.Whensymbolstaketheirsizesfromtheexpressionsnearby,suchassummationorlargeparentheses,thesesymbolsgrowautomaticallyastheexpressionsarechanged.Themathematicalnotationsarebuilt-inandnotextensible,butcovermostoftherudimentaryalgebraicnotation.Staralsosupportstheinteractiveeditingandformattingoftablesandforms.Tablesaredefinedasamatrixofrowsandcolumnswithsomedistinguishedvïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶îQîüî ]î#Çî&  î1î3$ î;CîC—ï\Æî gîæîL îjî$Xî'î,«î/„î2Bî8žî:£ îEïZ”î gî î±îgî!Nî'ßî*tî0‚î1çî5kî9©î<ÝîA¬îCïXbî gî%îgîbîüîfî!?î'Lî.äî2Nî6"î>3î@7îDÒïV/î gîZ î?îîÒî$�î'�î,°î.êî2ˆî5î7" î?vîC/ïSýî gîÚ îñî«î `î%Jî(#î+ö î5î:î>ïQËî gî î.îî#ˆî&aî*áî.#î29î6 î9\î<žvïMñî gîTîJqïJî¶îîsîŽïJïJîñî Wî#; ïJî)î/ˆî4‡qïJî7è î@ ïGåî gî îlî!�î$Zî(ô î2 î;Ÿî@ïE²î gî¼î†îÀî�î#Cî&»î-î02 î7²î9·î@.ïC€î gî î]îoîGî— î(¥ï@zî¶ îfîÞ î$Pî)Ëî/î1î8Ëî>¾îB“îD—ï>Hî gîkî(îKîŽîÊî%î+•î2ƒ î<§ï<î gî†îÈî„îîî!fî$÷î+¾î0êî2žî9eî@mîBrï9ãî gîÅî˜î!î"î&ãî)6î0ìî5Öî<î?Kï7±î gî@îäîõî*î¢î³î!î$ î(=î)ñî,Êî0úî2þî93î<ªî>¼ï5~î g î‹îÌîëî Pî#Èî%Ùî'>î-ëî/üï2xî¶îîóî–î!šî%î+¾î/vî2&î4ÿ î>wî@ˆ ï0Fî g î† îÚî!©î#]î%Ë î.î0=î5¬î;‘î=¢ï.î g îxîŠ îhî%qî(J î0îî2ÿî5Rî:îA½ï+áî gîpîI î•î§î#{ï(Ûî¶ îÃî�î âî$Zsî+qï(Ûï(Ûî+Ôî0†î3iqï(Ûî9Ïî<šîBï&©î gîëîx î"Ù î*sî,„î2jî7åî:¯îB=ï$vî gî¡îlî¦îéî"/î%pî,kî0@î2D î;¬îA„ï"Dî gîâî¬îŸ î jî#Ôî*�î1nî5î;ÇîAÇï î g îLîŽîÈî!‚î%Àî.cî5î8â î@/ïßî gîM ïÙî¶ îî “î"Gî(¥î,Pî/Ôî25î6´î:î@¢ï§î gî¿îÃsî)ï§ï§îŠqï§îî$Ùî)>î.Ÿî2Ãî5rî8K ïuî gîÊî´îî"¡î&�î*cî.xî1Q î:î?æîCºïBî gîïîî# î$sî(±î/ î3/ î=Rî?Wïî g îîáînî"Ø î,üî4î6éî<Ïî@ïÞî g î†î‡îùî î"î$ì î.Vî5Qï ×î¶î-î‰î6î  î(î-�î0ß î8þî;î?ÄîCï ¥î gî­îxîxî|îáî#î%+î)î,[î2íî6¦î:ð ÿ”TVm$‚2DOCUMENTCOMPOSITION2-37entriesspanningmultiplecolumns.Tableappearanceiscontrolledthroughspecificationsinasetofpropertysheetsforthetable,therows,columns,headings,andtherules(orlines)withinthetable.BecausethefundamentalpremiseforStarassumesanofficeenvironment,therearemanyextensionsandqualityissuesthatwereavoided.AdaptingtheStartomoretypographicallydemandingenvironmentswillrequireaddressingmanyofthesedesignissues.2.5.4XeroxPARCResearchXeroxPARChascontinuedtoresearchintegrateddocumentcompositionsystems.PriortothedevelopmentwithinXeroxoftheStarofficeworkstation,PARChadbuilttheBravoeditor[Lampson,Bravo].BravoisanintegrationofboththeeditingandformattingoftextandprovidesaWYSIWYGdisplayofthedocument.WhenadocumentwastobeprintedBravoproducedaPressformatfile.ThePressformatisadeviceindependentrepresentationofthemarksonpaper.Text,linedrawings,andscannedimagesarealltreatedinaresolutionanddeviceindependentnotation.However,BravocouldnotincorporateillustrationsdirectlyandreliedonthePressEditutilitytomergePress-fileversionsoftheillustrationintothedocumentPressfile.Thisdigressionintohowillustrationswereincorporatedindocumentsservestohighlightthedistinctioninmeaningbetweenintegratededitor/formattersandintegrateddocumentcompositionsystems.Anintegratededitor/formatterpermitseditingatextdocumentwhichyouseepresentedintheformthatitwillbeprinted;anintegrateddocumentcompositionsystemstressestheintegrationofvariouskindsofdocumentcontent,typicallytextandillustrations,intoasingleintegrateddocument.TheTiogaeditingsystemthatispartoftheCedarprogrammingenvironment[Teitelman,Cedar]attemptedtoprovideanextensibledocumentstructuretointegratedocumentobjectclasses.Tiogaisnoteworthyforitsdocumentstructureandstylemachinery.ThehierarchicalnodestructureinTiogaevolvedfromNLS.Eachnodecontainsthedocumentcontentandformattingproperties.Theeditorprovidesinteractiveoperationsonthatstructure,suchasselectingsubtreesofnodes,displayingnodesatvariousdepths,andapplyingpropertiestosubtrees.Specialnodepropertiescanbeinterpretedbytheformattertoextendthekindsofcontentsupported.CurrentartworkpropertiesdesignatePressfiles,scannedimages,linedrawings,andtables.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî gî»îÃîUî'�î,4 î4Øî6Œ î>\ï\Æî g î}î�îçîpî�î%;î*î,Çî/ î4!î6úî;QïZ”î gî²îôîÍîÖî †î$øî*î,ðïWŽî¶îîÞ î"}î(²î+bî.Ùî56î7‰î<# ïU\î gî¥îpîü îóî#5î(¿î-fî0Äî4¿î;ûîC9ïS)î gîßîãî-î!Äî*Z î4¤î7Øî=• ïP÷î gîôîîCîovïMî gîTîJîvqïIDî¶sî¬ïIDïIDî~qïIDî+îî#Ôî%Øî,P î4î;È ïGî gînîžî¢î{ î&Oî+nî0dî2vî5Oî8Æî=` sïDßî gqïDßîæî)îîñî¿sî$�ïDßïDßî$òî+Rqî/2ïDßïDßî0Ùî5§î7[î9¯ îBîDïB­î gî@îÉî î *î";î%~î(Àî/lsî0ÑïB­ïB­î22qïB­î8·î>Zî@kï@zî gî%îîtî#*î&^î(cî*·î0‚î5Qî<ªî>îBMï>Hî gîTî½îúî[îî uî%” î/ î9Üî;íî>ÆîC¯ï<î gîîTî–î ûî$=î*�î0î2Òî5%î:¯î<³î> ï9ãî gî©îÈ îNî%Úî-Mî2î6©î9œ ï7±î g îLî?î‚î#)î%—î(pî/­î4}î6�î;… ï5î gîÂîÓî¬ îóî#]î&6î-ìî2)ï2yî¶îo î0î™î"8 î+î/ î8Åî:ÉîCï0Fî gîkîhîA î Sî"Wî)î/” î7WîDEï.î g î*îà î%/î,6î/ î6Ãï+âî gîZîãîHî‹î$Aî)î,`î/+î6«î8¯î;ˆî?žîBüîD–ï)¯î gî»îîl î/î&å î04î5”î;_î>8 ï'}î gîxî5î§î¹î"oî(¿î/^î2¡î5ã î?2îBœï%Kî gî îÞï"Eî¶îîÆîOî"¯î& î'Âî+:î-Kî0$î5 ï î g sîï ï îu îOqï î!åî)©î+­î1ºî4 î;Âïàî gîJîNî"î#Øî(Ãî/î3ªî5^ î>î@¿ï®î gîîîBî" î+/î.™ î7î;¢îB…ï{î gî î'sî<ï{ï{î_qî ï{ï{î´î#×î'ûî.rî1Kî9î>çïIî g î† îPî ¹î%‰î,5 î49 î<=î>«ïî g î´îˆî�î Fî&°î(Áî-í î5Éî:‹î¡ ï²î gîÈî¡îìîñî Rî#+î'�î)¯î/• î8`î>•ï€î g î)îgî¤î#‘î)áî/Æî3î:lî=®VTVm$e2DOCUMENTCOMPOSITION2-38TheTiogastylemachinerymapsnodepropertiesintoformattingattributes.Stylerulesareexplicitlynamed,writteninaninterpretedstylelanguage,andstoredinstyledictionaries.Attributesforanodeareinheritedthroughthenodehierarchy.Relativeattributes,suchas``maketheindentofthisnodesomuchmorethantheindentofitsparent,''areeasilyaccommodated.Thestylemachineryisextensiblebydefiningnewstyledictionariesandnewattributes.Theimplementationhasnotprogressedbeyondarobustintegratededitor/formatterwithsomeextensioncapabilities.Tiogaservedasthetestbedforvariousexperimentsindocumentobjectsdiscussedinlaterchaptersofthisthesis.2.5.5WYSIWYGorisit?WhatisitthatyougetwithWYSIWYGformatters?Therearetwoanswers:eitherapreviewofthefinalappearanceortherealappearanceofthedocumentontheoutputdevice.Ifwhatyougetistherealappearance,theacronymmightberenamed`whatyouseeisallthatyouget.'WhenaWYSIWYGformatterdisplaystherealappearance,thenthereisnocompensationfortheresolutioncapabilitiesbetweenprintersanddisplays,sometimesaratioashighas20:1.IntrueWYSIWYGthefinalhardcopyoutputisartificiallylimitedbythedisplaytechnology.TheMacWriteformatterproducesalmostidenticalprintedoutputontheImageWriterasthedisplayedoutputbecausethescreenandprinterfontsarethesame[Seybold,MacWrite].Ifwhatyougetisapreview,thentheacronymshouldbe`whatyouseeisalmostwhatyouget.'Resolutiondifferencesresultinpositioninginaccuraciesandlimitedfontdiscriminationonthedisplay.Withlimitedresolutionandsmalltypesizes,therearesimplytoofewbitstoconveythedistinctionsbetweentypefaceslikeTimesRoman,Garamond,andBaskerville.ThereforeWYSIWYGformattersoftenprovideonlygenerictypefacesthatdistinguishmajortypefamiliesandcharacteristics,likeserifversussansserif,orboldversusitalic.TheXeroxStarprovidesthiskindofpreviewcapability.AWYSIWYGformatterconstitutesadilemma.Ontheonehand,creatorsofdocumentsmaytendtospendexcesstimeandenergyonthewrongaspectofdocumentproduction.Insteadofcreatinginformation,thereisatendencytomakebeautifuldocumentsoflittlevalue.Ontheotherhand,authorsarenotoriousinthepublishingworldformakingsubstantialauthor'salterationsonlyaftertheirmanuscriptistypeset.Atypesetmanuscriptismorereadablesoauthorsreaditmorecarefullyandoftenseeadifferentmessageinthatcontext.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî¶îîÆî™î#«î(î,& î3èî7R î?q ï\Æî gî‹î“î^ îtî$Lî)ïî+óî.G î6Äî:—îAïïZ”î gî^îbî6 î! î(Ìî+|î,áî1î3Ïî:ØîAîCôïXbî g îºî1 î"çî&¼î(Àî.î0ßî6 î8î;Eî?hîA†ïV/î gî±îxîQî~î�î Éî'3î)ýî.‰ î:æî>PïSýî gîxî- îâî Cî&Çî*Kî. î6éî:,î=° ïPöî¶î î÷î!êî$Ý î-î2ûî4aî9€ ïNÄî gî¶îpî ºî( î1£î6Iî;uî=yî@RîC`ïL’î gîîÔ îî î'Ðî-Yî4˜î6œî:bî@èîBùïJ_î gvïF…î gwîTïF…ïF…îµvïF…îîUîtî5qïBªî¶î6îêî…îãî%î ãsî$�ïBªïBªî%ýqïBªî,‚ î5·î:†î=Pî@…ï@xî gîî‚î¶îÇî î!s î*î,5î/î2P î:ôî=î?Þï>Fî gîÕî®îî*îùî#î&Eî)î*·î-�î0Ò î9ßî<¸îC~ï<î gî»î�îîDî xî!Ãï<ï<î"–î$#qï<î'…î*Çî.÷î3àsî5Fï<ï<î6¦qï<î=+ï9áî gî©î‚îà î!Ñî%˜î)×î+‹î-ù î8lî;î=õ ï7¯î g îðîuî!�î$Òî+~î3Žî4ôî8Ôî:Øî>Ÿî@£îEVï5|î gsîßï5|ï5|î@qï5|îÄî�îqî%¯î+î,¹ î4{î:î<î?Xï3Jî g îÐî:î ûî(Fî/Pî4–î;CîAï1î gîÕî® îYî]î 6î'Žî,äî3 î5åî:÷î>9îCµï.åî gî2î sî:ï.åï.åîžîCqî"™ï.åï.åï+ßî¶î…îŽîÐîŽîBî¨î%Fî) î+æî2¬î8î:bî>ÕîBîDâxï)¬î gqï)¬î—î îâî î%e î-Æî2Tî4X î<à ï'zî gî©îMîÑ î# î&î(çî/’î3Âî9e îAï%Hî gî¾îkî§îæî°î%î'éî+î.8î0=î5Òî8« îA\ï#î gî‹î¿îµî!öî*³î-ö î7\sî?ï#ï#î@dqï ãî g îQîœî©î"aî(î/Bî2  î:õî?¶ï±î gî�îÐî »î#ïxî'šï±ï±î(Tqï±î,lî/ýî4î60xî:ï±ï±î:¾qï±î>ÕîCæï~î gî]îÕî�î©î"}î$Žî* ïxî¶sî‘ïxïxîòqïxîwî  î(âî*Hî2#î4úî7Óî;î?£îEÊïEî gî¼îZî!î&î"öî'íî+³î.õî4Vî6Äî9�î>­îC¥ïî gî î”î#`î%qî+³ î5)î9gî;î<�îC‹ïáî gîÙîÖî *î";î&î+|î.Tî1-î5†î:!î@ï®î gî¿îÃîœ î »î%oî(î. yî61ï®ï®î7î= qï|î gî îîï î yî"-yï|qî(Ìï|ï|î*¨î0? î8Èî:}î>ÇîEsï Jî gîMîî¡îëî"²î%ôî*?î- î.oî56î;žî=¢îAÿ©TVm$ñ2DOCUMENTCOMPOSITION2-39Significantbenefitsinimprovingthequalityofdocumentsaccruetoauthorsworkingwithadocumentinitsclosetofinalappearance,usingtheabilitytoincorporatethoseinsightsintothemanuscriptpriortopublication.WYSIWYGformattersareexpensive.Displayingtypographicfontsimpliesusinghigherresolutiondisplaysandmorecomputationalpowerthansimpletexteditors.Theseformattersaremorecomplexbecausetheymustmaintainformatteddatastructureswhileacceptingchangestothedocument.Operatingalltheformattingcontrolsrequiresinvestingtimeinlearningtousesuchaformatter,althoughthetimecanbereducedwithgooduserinterfacedesignsuchasevidencedbytheXeroxStar.Furtherstudyoftheseproblemsseemswarranted,butisbeyondthescopeofthisthesis.TheworkreportedhereisdesignedforfutureincorporationintoWYSIWYGsystems.2.6DocumentContentModelsandViewsofDocumentsTherepresentationofdocumentschangesradicallythroughthissurveyofdocumentcompositionsystems.Traditionalgraphicartsprocessesproduceamasterdocumentonlyonpaperorphotographicfilm.Electronicprocessesproducecomputerfilesfortheelectronicmasterdocumentwithallthetext,illustrations,andformattinginformationincluded.Theprevalentdocumentrepresentationisasimplestreamoftextwithembeddedcommands,asusedbytroff,Scribe,TEX,andJanus.Thissimplemodelisubiquitousandmaybeusedbypreprocessingtoolsfortheseformatters.MorecomplicatedrepresentationsinvolvingastructureddocumentorganizedintoahierarchicaltreeorlinkeddirectedgraphstructureareusedbyNLS,Tioga,andEtude.Typicallythestructurecontainspropertylistsoralabellingofthecontentassociatedwithpartsofthestructure.AbstractdocumentstructureshasbeenrecentlystudiedbyKimura[Kimura,thesis][Kimura&Shaw,AbstractDocuments].Thisrepresentationisagraph-likestructurecomposedofabstractdocumentobjects.Theabstractobjectsaremappedintoconcreteobjectsbyaformattingprocessandtheseconcreteobjectsaremadevisiblebyaviewingprocess.Thisstructurehasintroducedorderedandunorderedsetsofobjects,andthesharingofobjectswithinthedocumentstructure.Structureddocumentshaveseveraladvantagesattheexpenseofamorecomplexrepresentation.Thescopeofoperationscanbespecifiedintermsofsubstructuresofthedocument,suchasrearrangingsectionswithinachapter,thevïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî g î¡îÖîÚî$Ðî'©î-2î/Cî7˜î<Åî>Êï\Æî gîÏî‰îîî¤î!©î#âî'øî)üî-Ï î6Ýî;Bî>îC-ïZ”î g î%î}î}î"çî%À î.Jî2lî4q sïWŽî¶qïWŽî› î…î"P î*ä î3* î<8î@[ïU[î gîÌîø î­î#ïî'1î+{ î6Kî;Oî?îD]ïS)î gîÝî¬ î–î"`î&ªî-Iî3qî7î;5ïP÷î gîî¡ î#î#•î*áî1î3î5ôî>²ïNÄî gîºî“ î²îôî&Pî-Kî1î3î9~î;ƒî>vîBKïL’î g îîþî×î!�î$«î&ÿî-Oî1 î5,î8½î?„îD°ïJ`î gîkî.î�îhî ^î$Þî*ùî/lî1~î5¼î<ùïH-î g î“î”îIî.î"î&•î(¦î+Îî1cî4Íî8üî?©îCbïEûî gîHîøîð î%-sî(—ïEûïEûî)øqïEûî0}tï>Òî gîŠîÒî ,î' î*¸î0Eî2žqï:øî¶î îâîóî(Hî.}î5(î;lî>”îCÍï8Æî gî îlî$s î,ûî2áî6 î=9îC¤ï6”î gî»îqî)î—î$?î&] î0gî4ó î<Âï4aî gîÒî8î¼î lî#E î*Åî0î7Ïî;ˆî=Üî@µï2/î g î¶îø î! î*#î1òî5\î<šï/ýî g î)îÞîCî‰î$Ýî&îî*1î-êî5ýî>­î@±îD“rï-Êî gqî6ï-Êï-Êî>sîºï-Êï-„ï-„î¢ï-Êî‰qî’ï-Êï-Êî›îÝî%€î)9î.î3�î5D î=î@ÂîD`ï+˜î gîIîª îî ýî#­î'ë î0Üî5[ ï)fî gîÈîî i î(;î/ñî7}î:çîî£î"½î)�î-Hî4+î7 î?sïÍî gî©î®îÖîçî"Úî&î(öî.Àî0Ñî6[î;zî>Sïšî g ï”î¶ î×î ,î$î)• î1öî3àî6¹î<ûî? î@qï bî gîîÐî"9î&Çî(Ø î0Üî3éî6=î=î?#îC°ï /î g îeîvîOî#oî'Dî)H î2î89î=Xî>½îEÿmTVm$|2DOCUMENTCOMPOSITION2-40itemsinalist,orrowsandcolumnsofatable.Aclassmechanismforbuildingextensibledocumentobjectclassificationscanbesuperimposedonthedocumentstructure.Eachobjectinthedocumentstructurecanhaveacontentclassassociatedwithit,andaspecificsetofprocedurestoperformeditingandformattingoperations.Adistinctadvantageofsuchaclassmechanismisthatalltextismarkedastextevenifitusedinthecontextofotherobjects,suchasillustrationsortables.Thereforespellingcheckerscancheckallofthetextobjectsanywhereinthedocumentwhenrepresentedinastructureddocument.Moregeneraldocumentstructures,suchasintegrateddocumentsanddatabases,aresuggestedinChapter6.Asthedocumentstructurebecomesmorecomplex,thedifficultyinmanagingthepiecesofadocumentincreases.Almostallformattersprovideamechanismtoincludepartsofadocumentwithinalargerdocument.Scribedoesthebestjobofmanagingcomponentsoflargedocuments,especiallycrossreferences.However,fewschemesexisttoprovideinteractiveformattersfornonhierarchicaldocumentstructures.Anotheradvantageofstructurewithinthedocumentrepresentationistheabilitytopresentthereaderwithdifferentviewsoftheinformation.Hierarchicalstructurespermitshowingonlyafewlevelsofthehierarchy(levelclipping)torevealtheoutlinestructureofthechapterandsectionheadings.NLSalsoprovidedaviewofonlyafewlinesofeachparagraph(lineclipping)tocompressmorethoughtsontothesamedisplayspace[Engelbart,NLS].Additionalviewsmightbebasedonselectingcontentmatchingapatternstringoronmatchingpropertiesofthereadertothenodesinthedocumentstructure[vanLeunen,OneDocument].Cargill'snotionofdifferentviewsofsoftwarebasedonconfigurationproperties[Cargill,Views]demonstrateshowasinglecomprehensivestructure,possiblycontainingredundantinformation,maybeaccessedtoproducedseveraldifferentconfigurationsofadocument.vïfåîîswî ½ïfåïfåî!Ývïfåî(Òwî)öïfåïfåî+uïfåîE#ïfåîEéïfåîFbqï^ùî gîÌîÐî6îPînî[î žî'/î)@î*¦î/Äyî1 ï^ùï^ùî2Žqï^ùî6,î>ÏîAï\Æî g îîÒî ¼î*úî.î0[ î:Ûî=Iî@"ïZ”î g îQîuî`îdî"=î)óî0Õî3ãî7Ñî96î?ïXbî g îîÖîÚîî‚î$hî&ñî) î1qî3vî9ßî?hïV/î g î† î‘îmî%9î,üî/ î2âî4Gî8î@¾îBrîEÐïSýî gîªî^î^îbî¥î ’î":î#Ôî'¶î)ºî,“î2_î4pî8Èî>¼îB�ïQËî g îLîjî'î$Îî*èî1”î4¢î9Jî;žî=¯î@ˆïO˜î gîðîcîgî@î%öî*h î3Nî5Rî6¸ î>‰ïL’î¶î5îÿî!µ î) î-uî/y î7<î?‘ïJ`î g î*îôîgî kî&Éî)Cî+¾î.—î6Mî=/îCéïH.î gîoîH î_îcî&ïî)Èî.³î0Äî2)î9ß îAÔïEûî gîº î¤î±îî&¹î(¾î.—î2­î4¾î6$î=ÚîBùïCÉî gîîÙîëî"¿î%˜î)î+õî.î5’ î>Çî@ØïA—î g î& î˜î ­ î)„î0÷î4î:•î>iî@mï?dî g îl îUîî*©î2_ ï<^î¶î:îüî î&ðî,î.èî6ž îA`îCï:,î gîyî}îHî!î!@î$úî+Áî0@î2Qî5* ï7úî g î¸ î9î"�î)î,¼î.!î1Iî5Õî7æî:¿îB ï5Çî gîVîZî6îî"¥î)ˆî+™î.rî4Yî7›î=$sîE ï5Çï5ÇîF/qï3•î gîÃî¿î$îîî!Îî#3î&Zî*;î,Lî0 î7ðî;ÃîB²ï1cî gî—îáî©î"}î%Vî)†î/)sî3œï1cï1cî3ÿ î:¢qî=×ï1cï1cî?} ï/0î gîæî¨îüî¥îî%Ìî+²î2ãî4Iî9úî>”î@²ï,þî gî˜ îZîlî Eî%cî'hî*Aî/î1î3àî;–sîBxï,þï,þîBÛï*Ìî gîÊîÎqîrï*Ìï*Ìîî#Žî(Çî*Øî1Ÿî6î8/î>ÀîChï(™î g îŠ sîLï(™ï(™î¯î#�qï(™î( î2î5±î7î;Ë ï&gî g î´î î"!î* î3�î7.î9‚î@ï$5î gîÁî;î  î*Äî,Õî.:âTVm$öÿ TIMESROMANþæÿ TIMESROMANþŸÿ TIMESROMANþÃÿ TIMESROMANþŸÿ HELVETICAþŸÿ HELVETICAþYÿ TIMESROMANþæÿ TIMESROMANþæ ÿ TIMESROMANþŸ ÿ TIMESROMANþæ ÿ TIMESROMANþæ ÿ HELVETICA ÿ HELVETICAþYÿ TIMESROMANþYÿ TIMESROMANþŸÿ TIMESROMANþYÿ HELVETICAþŸÿ TIMESROMANþÿ TIMESROMANþŸÿ XEROXBOOKþÿ TIMESROMANþYÿ TIMESROMANû °N êÄ$+`2ëN:V ]’elpt õ}‹„VŒ Ÿ• òž¥ f® Ò¸ZÀ‚È wÑ òÚ 8ã Èí À÷ ) ó ? #™+3;3CoK ¹TL\˜cj/g)ež¥Úÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ[]<>Beach>Thesis>Chapter2.Tioga Sunday, May 5, 1985 10:26 am PDT