175584Sru###################################################################### 275584Sru$Id: NOTES,v 2.0 2000/09/14 03:40:24 jhaegg Exp $ 375584Sru 475584SruBeware! 575584SruThis may be old information. Trust only the source. :-) 675584Sru 775584SruImplementation notes. (Or how to make your own national mm) 875584Sru 975584SruDifferent commands: 1075584Sru 1175584SruCOVER [arg] 1275584SruMT [arg [addressee]] 1375584SruThe arg is part of a filename in mm/*.MT or mm/*.cov. 1475584SruThis file is read when the macro is executed. Therefore it must be 1575584Sruput before any text output. 1675584SruIn each file there are definitions of all extra macros needed for the 1775584Srucover sheet. MT files is only for compatibility reasons, and has several 1875584Srulimits due to that it don't know when the cover starts, and cannot 1975584Sruchange sizes. Use COVER for new coversheet macros. 2075584Sru 2175584SruBut with MT it is possible to write all of the AT&T covers. 2275584SruAn example can be found in mm/0.MT. 2375584Sru 2475584SruWhen writing a new cover using COVER, have in mind that the cover 2575584Srushould print the page with the COVEND macro. This macro 2675584Srushould be defined by the new macrofile. 2775584Sru 2875584SruHere is a part of ms.cov: 2975584Sru> .\"----------------- 3075584Sru> .de COVEND 3175584Sru> .sp |4.2c 3275584Sru> .cov@print-title 3375584Sru> .cov@print-authors 3475584Sru> .cov@print-firm 3575584Sru> .cov@print-abstract 3675584Sru> .cov@print-date 3775584SruThis is important, since COVER disables the page header. 3875584Sru> .pg@enable-top-trap 3975584SruShould begin with page one (normally). 4075584Sru> .bp 1 4175584SruAnd enable the trap at the page footer. 4275584Sru> .pg@enable-trap 4375584Sru> .. 4475584Sru 4575584Sru######################### 4675584Sru 4775584SruVariables for covers: 4875584SruI = integer 4975584SruS = string 5075584SruD = diversion 5175584SruM = macro 5275584Sru 5375584SruName Type Desc. 5475584Srucov*au I The number of authors. 5575584Sru 5675584Srucov*title M Title collected with .TL. 5775584Sru 5875584Srucov*au!x!y S Author(s) given to .AU 5975584Srucov*at!x!y S Author(s) title given to .AT 6075584Sru x is the author-index [1-cov*au], 6175584Sru y is the argument-index [1-9]. 6275584Sru Look at the table with indexes. 6375584Sru 6475584Srucov*firm I Author(s) firm. 6575584Sru 6675584Srucov*abs-arg I Argument to abstract. 6775584Sru 6875584Srucov*abs-ind I Indent for abstract. 6975584Sru 7075584Srucov*abs-name S The string 'ABSTRACT', changed with .AST 7175584Sru 7275584Srucov*abstract M The abstract. 7375584Sru 7475584Srucov*new-date S The date (todays date if ND is not used) 7575584Sru 7675584Srucov*mt-type S MT type 7775584Srucov*mt-addresse S MT addressee 7875584Sru 7975584Sru 8075584Sru########################## 8175584SruArgument-index for cov*au: 8275584Sru 8375584SruIndex Desc. 8475584Sru1 name 8575584Sru2 initials 8675584Sru3 location 8775584Sru4 department 8875584Sru5 extension 8975584Sru6 room 9075584Sru7 arg 7 9175584Sru8 arg 8 9275584Sru9 arg 9 9375584Sru 9475584SruThe location is set to the contents of string cov*location-xxxx 9575584Sruif location is equal to xxxx and cov*location-xxxx is defined 9675584Sruin the file locale. 9775584Sru 9875584Sru 9975584SruArgument-index for cov*at: 10075584Sru 10175584SruIndex Desc. 10275584Sru1 title 1 10375584Sru. . 10475584Sru. . 10575584Sru9 title 9 106