Home | History | Annotate | Line # | Download | only in mm
      1  1.1  christos ######################################################################
      2  1.1  christos Id: NOTES,v 2.0 2000/09/14 03:40:24 jhaegg Exp 
      3  1.1  christos 
      4  1.1  christos Beware!
      5  1.1  christos This may be old information. Trust only the source. :-)
      6  1.1  christos 
      7  1.1  christos Implementation notes. (Or how to make your own national mm)
      8  1.1  christos 
      9  1.1  christos Different commands:
     10  1.1  christos 
     11  1.1  christos COVER [arg]
     12  1.1  christos MT [arg [addressee]]
     13  1.1  christos The arg is part of a filename in mm/*.MT or mm/*.cov.
     14  1.1  christos This file is read when the macro is executed. Therefore it must be
     15  1.1  christos put before any text output.
     16  1.1  christos In each file there are definitions of all extra macros needed for the
     17  1.1  christos cover sheet. MT files is only for compatibility reasons, and has several
     18  1.1  christos limits due to that it don't know when the cover starts, and cannot
     19  1.1  christos change sizes. Use COVER for new coversheet macros.
     20  1.1  christos 
     21  1.1  christos But with MT it is possible to write all of the AT&T covers.
     22  1.1  christos An example can be found in mm/0.MT.
     23  1.1  christos 
     24  1.1  christos When writing a new cover using COVER, have in mind that the cover
     25  1.1  christos should print the page with the COVEND macro. This macro
     26  1.1  christos should be defined by the new macrofile.
     27  1.1  christos 
     28  1.1  christos Here is a part of ms.cov:
     29  1.1  christos > .\"-----------------
     30  1.1  christos > .de COVEND
     31  1.1  christos > .sp |4.2c
     32  1.1  christos > .cov@print-title
     33  1.1  christos > .cov@print-authors
     34  1.1  christos > .cov@print-firm
     35  1.1  christos > .cov@print-abstract
     36  1.1  christos > .cov@print-date
     37  1.1  christos This is important, since COVER disables the page header.
     38  1.1  christos > .pg@enable-top-trap
     39  1.1  christos Should begin with page one (normally).
     40  1.1  christos > .bp 1
     41  1.1  christos And enable the trap at the page footer.
     42  1.1  christos > .pg@enable-trap
     43  1.1  christos > ..
     44  1.1  christos 
     45  1.1  christos #########################
     46  1.1  christos 
     47  1.1  christos Variables for covers:
     48  1.1  christos I = integer
     49  1.1  christos S = string
     50  1.1  christos D = diversion
     51  1.1  christos M = macro
     52  1.1  christos 
     53  1.1  christos Name			Type	Desc.
     54  1.1  christos cov*au			I	The number of authors.
     55  1.1  christos 
     56  1.1  christos cov*title		M	Title collected with .TL.
     57  1.1  christos 
     58  1.1  christos cov*au!x!y		S	Author(s) given to .AU
     59  1.1  christos cov*at!x!y		S	Author(s) title given to .AT
     60  1.1  christos 				x is the author-index [1-cov*au],
     61  1.1  christos 				y is the argument-index [1-9].
     62  1.1  christos 				Look at the table with indexes.
     63  1.1  christos 
     64  1.1  christos cov*firm		I	Author(s) firm.
     65  1.1  christos 
     66  1.1  christos cov*abs-arg		I	Argument to abstract.
     67  1.1  christos 
     68  1.1  christos cov*abs-ind		I	Indent for abstract.
     69  1.1  christos 
     70  1.1  christos cov*abs-name		S	The string 'ABSTRACT', changed with .AST
     71  1.1  christos 
     72  1.1  christos cov*abstract		M	The abstract.
     73  1.1  christos 
     74  1.1  christos cov*new-date		S	The date (todays date if ND is not used)
     75  1.1  christos 
     76  1.1  christos cov*mt-type		S	MT type
     77  1.1  christos cov*mt-addresse 	S	MT addressee
     78  1.1  christos 
     79  1.1  christos 
     80  1.1  christos ##########################
     81  1.1  christos Argument-index for cov*au:
     82  1.1  christos 
     83  1.1  christos Index		Desc.
     84  1.1  christos 1		name
     85  1.1  christos 2		initials
     86  1.1  christos 3		location
     87  1.1  christos 4		department
     88  1.1  christos 5		extension
     89  1.1  christos 6		room
     90  1.1  christos 7		arg 7
     91  1.1  christos 8		arg 8
     92  1.1  christos 9		arg 9
     93  1.1  christos 
     94  1.1  christos The location is set to the contents of string cov*location-xxxx
     95  1.1  christos if location is equal to xxxx and cov*location-xxxx is defined
     96  1.1  christos in the file locale.
     97  1.1  christos 
     98  1.1  christos 
     99  1.1  christos Argument-index for cov*at:
    100  1.1  christos 
    101  1.1  christos Index		Desc.
    102  1.1  christos 1		title 1
    103  1.1  christos .		.
    104  1.1  christos .		.
    105  1.1  christos 9		title 9
    106