%result buttonClick buttonClick selectedTextlines result %result buttonClick buttonClick result %result buttonClick buttonClick result close Cancel CANCEL C:\KEN\PHARM\MCQ\V3\AUTHOR\MCQBANK.IBC XAMPLE\MCQBANK.IBC C:\KEN\PHARM\MCQ\MCQBANK.IBC c:\mcq\mcqbank.ibc Opening %result buttonClick buttonClick result close Cancel CANCEL C:\KEN\PHARM\MCQ\V3\AUTHOR\MCQBANK.IBC XAMPLE\MCQBANK.IBC C:\KEN\PHARM\MCQ\MCQBANK.IBC c:\mcq\mcqbank.iv iuSjoNqyA Times New Roman Times New Roman Sans Serif Times New Roman Times New Roman MS Sans Serif Arial Times New Roman System Arial Page id 0 Page "Opening" Select a Control File IDC Manager Version 1.2 Page "Opening" Page id 0 Page id 0 Page id 0 Page "Opening" Page "Opening" Page "Opening" Page id 3 of Book "C:\KEN\IDC\V3.1\MANAGER\IDCMAN.TBK" Page "Opening" CQBANK.IBC Page "Opening" CQBANK.IBC Page "Opening" Page "Opening" Page "Opening" Page "Opening" Page "Opening" Page "Opening" Page "Opening" Page "Opening" Opening author $Control$ enterPage "$Control$" IDC Manager Version 1.2 1994, 1995 The University of Leeds Toolbook 3.0 Computer Based Learning Unit The University of Leeds Leeds, LS2 9JT UK Tel: +44 113 233 4628 Fax: +44 113 233 4635 Email: K.Tait@cbl.leeds.ac.uk for IDC 3.1 Title Toolbook Asymetrix Toolbook [ 3.0a United States ] CDBSE&File &Open... Ctrl+O &Save Ctrl+S Save &As... saveas &Import... import &Export... export Print Set&up... printsetup &Print Pages... Ctrl+P printpages Prin&t Report... printreport Send &Mail... sendmail &Run... E&xit Alt+F4 &Edit &Undo Ctrl+Z Cu&t Ctrl+X &Copy Ctrl+C &Paste Ctrl+V paste C&lear Del clear Select &All Shift+F9 selectall Select Pa&ge Shift+F12 selectpage &Size to Page F11 sizetopage F&ind... F5 Re&place... replace Aut&hor F3 author &Text &Character... F6 character &Paragraph... F7 paragraph &Regular Ctrl+Space regular &Bold Ctrl+B &Italic Ctrl+I italic &Underline Ctrl+U underline Stri&keout Ctrl+K strikeout Superscrip&t/Subscript superscriptSubscript &Normal Script normalscript Su&bscript Ctrl+L subscript Su&perscript Ctrl+Shift+L superscript &Show Hotwords F9 showhotwords &Page &Next Alt+Right &Previous Alt+Left previous &First Alt+Up first &Last Alt+Down &Back Shift+F2 &History... Ctrl+F2 history N&ew Page Ctrl+N newpage &Help &Contents F1 contents Status &Bar F12 statusbar $Control$ Compiler Report Compiler Control Zfinished Trace #report EsetTime M6compile failed BATCH: error FILE: failcount Files buttonUp 4logical error gfailcount #done setTime selectedTextlines "FILE:" "Trace" compile "Files" failed finished "BATCH:" l > textlineCount( report Trace Report Load Control File --- Failed --- Trace EsetTime M6compile #report error makeReport FILE: failcount Control Files buttonClick buttonClick 4logical error gfailcount selectedTextlines "Control" "Trace" setTime textlineCount( "Files") "FILE:" compile makeReport "--- Failed ---" report Compile Everything Clear + , ! Report Trace Entities Compiler inputFile $Dictionaries$ Control Files buttonClick buttonClick inputFile "Trace" "Files" "Control" "Compiler" "Report" "Entities" "$Dictionaries$" B"Load" Clear buttonUp "Help" + , ! + , > + , !; + , ! files filelist buttonUp files,filelist Close dismiss dismiss The left hand window gives the descriptions of the source files that may be compiled. If it is empty then click Load Control File. The right hand window is used to give a trace of activity and any error messages. The Compiler box gives the name of the current compiler. The Report box give messages during loading and compiling. Click Load Control File to load the specifications of the source files to be compiled. Click on a line beginning FILE: to compile one source file. Click on a file beginning BATCH: to compile all the source files in that batch. Click Compile Everything to compile all source files. Click Clear to clear the windows and reset IDC manager. Click Help to see this help. Click Close to close IDC Manager nager Dismiss Fdismiss buttonClick buttonClick dismiss DISMISS Close inputFile buttonUp 4inputFile Close Control File Files $Control$ B"Close" buttonClick B"Clear" "Help" compile 4logical error compiler,Toolbook gfailcount 1running makeReport f (f) > 1 "Launching" && & CRLF "Trace" c minimized filename( "toolbook" Mt -- trace +"Waiting..." errorMessage "Failed " && && " f" && "Activating " && t & "File:" && f & "Options:" && o setRemote o x"OK" "--- " && f && "---" "Compiled:" && f "New 8:" && newName(f) "Closing " && t closeRemote -- Applications will create extra compilation successful elapsedTime ~("\",f) ~(".",f) f & "tbk" setTime 4starttime m && " j" && s && "sec" && " report "--- All source files compiled successfully ---" > 1 "---" && && " h" & && "failed "--- finished "--- Finished ---" enterApplication determineScreen centreWindow "Title" "Opening" "Asymetrix Toolbook [" && sysVersion && "]" setup loadInformation 4screen linkDLL "tb30win.dll" INT HorizontalDisplayRes() VerticalDisplayRes() 3DisplayLogPixelsX() KDisplayLogPixelsY() bes() unlinkDLL " h && v && ' && topleft( / h,v,sh,sv -- may need multiply h /96 repectively (sv-v)/2 (sh-h)/2 IDCtago,IDCtagc,IDCtage,IDCero,IDCrefc IDCentities,noendreq,IDCnamed,tags "amp &,lt <,gt >" "compile,source,batch" "List" captionBar dialogFrame defaultPosition -- Handlers SGML textstring -- reads up beginning 4logical tagnext inputFile, errorMessage "*TE" CR & LF & TAB & FORMFEED CR & LF & readFileTo( o > 0 substituteEntities( l,r,v b > 1 -- b=1 Vb+1 entityValue( l & v & 4stack e)>0 -- could we use a standard dictionary routine here? textlineCount( "$Dictionaries$") UE",e tagstring -- ,uselasttag -- ,IDCremark IDCformats gtraceLevel R holds most recently Freturns done (t)>15 -- t & "..." -- -- -- -- -- The readings (markked ** below) mean that comments -- declarations can only occur immediately 4another tag -- between them ignored. This ot be valid checkEmpty () -- ** "!--" x"--" () -- ** "!ENTITY" () -- ** removeComments( ) > 0 warning "EWA", "NULL" backtag ErrorMessage "URT", process t -- a comma-separated list converttoitems(t) taglist "--" butFirst(w) "--" butfirst(w)) n)>0 ISN",n, MQ"," -- should a be used e & CRLF attribute pt -- value processed assignment( varname( varvalue( checkAttributes opt, oneof( checkAllAttributes pt, merge( gcount,i >-- don't bother Xendtag : see NAV",n ~("=",v) > 0 MQ"," itemNumber(n,req) n,opt) n,ign)) Warning "RA", n,one) JAWE", MBS", tagClose skip textToEndOf handling gerrorcount inputfile, traceError x && "found " && y && "might be correct" "*TE" expected" "*SE" ~"unterminated reference - missing" && " && x && " xdeclared" "EOF" encountered" && " extra" && ytag" && enquote(x) && " xrecognised" "incorrectly " && x " && x " && must be specified" symbol" && y && " illegal " && x mising attributes" && x && " :" && m f"Continue" "Exit" sysSuspendMessages "--- :" && m warningTrace "--- :" && m 0 " && && x && "cannot have " && x && "does xseem :" && m -- Utilities ~("=",s) > 0 ~("=",s) ~("=",s) resetFile f 4IDCeof sysErrorNumber F-- EOF filename f ~("\",f) Vi+1 path ~("\",f) itemnumber(i,l) l ( 0 itemize(s) ,f)>0 quoted(s) f & "," & Vq+1 quotation Vq+1 s & "," i1 & & i2 & & i3 & ,listPath infoFile,vn endoffile -- Set values .exe" -- Look ~(".", 8) & & ".INF" x";") "controlFileListPath" unknown option information inputFile,compiler gerrorcount 4logical tagnext,uselasttag controlFileName() "Entities" "$Dictionaries$" sysErrorNumber>0 errorMessage "trying " && && " file." "Trace" "Files" textstring() unexpected process(tagstring()) O(" & c && "found)." attribute(" "Compiler" -- description done batch p",t) options",t) "BATCH:" && n & CRLF "Control" -- should be "source" ",bt) && o & "FILE:" && xtagClose(s) (" & s && " illegal here." makeReport "An was detected cloading the AerrorCount && "errors loaded" > 0 ControlFileName files,filelist,listPath filename( ~(".", x"\" & "\" & ".LST" > 0 newFile() "List" defaultPage "Select a %modal -- returns closed hidden isOpen F-- user clicked result linkDLL "TB30DLG. STRING openFileDlg( ,INT) 5 (*.ibc),*. ",1) addFile(r) unLinkDLL " textlineCount( ) > 10 Clear Close enterPage + , #? + , > + , #? + , #? + , #? +#,!Y w, #? Closing Trace is running. elapsedTime toolbook Options: #errorMessage --- Failed to compile compiler Activating Failed to open fSfilename Waiting... 8newName trace New book: Launching error Toolbook makeReport File: failcount Compiled: compile .&, " newName starttime seconds setTime ,!J compile,source,batch IDCtage IDCero center IDCtagc IDCnamed batch IDCtago setup readFileTo tagnext #errorMessage DZsubstituteEntities inputFile IDCtago textstring .&, " .&, " .&, " IDCrefc entityValue #errorMessage IDCero DZsubstituteEntities substituteEntities -$+#? +#,H4 +#,%H.%+#? IDCentities Entities #errorMessage IDCero $Dictionaries$ entityValue + , / + , "c + , / + , / !ENTITY readFileTo tagnext lasttag IDCtage $entity false textstring #errorMessage IDCtagc checkEmpty trace inputFile uselasttag Awarning IDCtago removeComments tagstring tagnext uselasttag backtag #ErrorMessage removeComments checkEmpty converttoitems process ZIprocess tagstring taglist #errorMessage @~butfirst @~butFirst removeComments removeComments Entities #errorMessage IDCero #ErrorMessage $Dictionaries$ entity declaration removeComments entity #errorMessage assignment DZsubstituteEntities 18varname svarvalue attribute oneof IDCnamed merge "checkAllAttributes checkAttributes + , " .&, " oneof itemNumber IDCtage assignment #errorMessage 18varname attribute value #ErrorMessage svarvalue AWarning checkAllAttributes IDCtage tagClose textstring tagstring textstring #errorMessage ?btagClose Ctaglist textToEndOf +#,!Y + , #? + , #? + , #? w, #? w, #? + , ! entity Continue might be correct null value for attribute in system - text expected not recognised null entity reference the symbol unterminated entity reference - missing found when or extra is illegal in continue not declared one of the attributes end of file encountered Kenquote missing errorcount in system - tag expected IDCrefc incorrectly delimited comment must be specified attribute traceError missing quote in null tag Error: inputfile IDCtagc IDCtago extra = or mising space in attribute errorMessage --- Error: trace traceError --- Warning: trace warningTrace w, #? Continue attribute end tag does not seem to have = warningTrace Kenquote Warning: inputfile cannot have attributes is not used continue warning assignment varname varvalue false IDCeof resetFile .&, " #errorMessage IDCeof readFileTo .&, " filename .&, " itemnumber oneof .&, " itemnumber Bitemize converttoitems w, #> @~butFirst Bitemize quoted itemize w, #> #errorMessage @~butFirst Bitemize missing quotation mark quoted butFirst Trace trace .&, " listPath c:\tb30\tb30.exe unknown option in information file Toolbook #errorMessage assignment fSfilename controlFileListPath 18varname Toolbook svarvalue loadInformation + , ! + , #? w, #? + , ! .&, " +#,!" +#,!" An error was detected while loading the control file errorcount FILE: errors detected while loading control file attribute source Control file loaded options Trace compile compile expected ( trying to open controlFileName Entities expected ( #errorMessage compiler ?btagClose found). false ZIprocess as input file. BATCH: Compiler is illegal here. batch inputFile $Dictionaries$ tagstring makeReport uselasttag textstring Control unexpected text at start of file. Files tagnext buttonUp + , "j + , / + , / + , > + , #> + , ! + , ! listPath Select a Control File files fSfilename %result filelist 7newFile ControlFileName Control File (*.ibc),*.ibc openFileDlg openFileDlg Select a control file TB30DLG.DLL addFile newFile + , "X + , / + , / + , "X + , / files addFile $Dictionaries$ Entities path,"c:\mcq\example" $Dictionaries$ +(me. In the remainder of this manual it will be assumed that the default installation directory has been used. If this is not the case then the appropriate (mental) changes should be made. It is advisable to install the compiler on the hard disk of a PC and not on a server. It is more efficient to perform compilation on a hard disk system and then transfer the compiled files. 2.2 Testing the installation The installation can be tested as follows. This test assumes that the complete authoring system for Toolbook is available and can be found in C:\TB30\TB30.EXE (or C:\MTB30\MTB30.EXE for the multimedia version), and that the filetype TBK is associated with Toolbook. If the the Toolbook system is stored elsewhere on your system then edit the file IDCMAN.INF so that the path given there is the correct one. TBK can be associated with TB30.EXE (or, if you have the Multimedia version of the Authoring Kit, MTB30.EXE) or with TBLOAD.EXE provided that ASYM.INI tells TBLOAD to use TB30.EXE or MTB30.EX256COLORBMP CARDFILEEXE CONNECT DAT MSD EXE WINMINE EXE NETWATCHEXE ARCADE BMP AWFXPROTDLL