Home | History | Annotate | Line # | Download | only in mom
      1  1.1  christos *Thu Aug 11 2005
      2  1.1  christos 
      3  1.1  christos o Makefile.sub (HTMLDOCFILES): Add `refer.html'
      4  1.1  christos 
      5  1.1  christos *Mon Jun 20 2005
      6  1.1  christos 
      7  1.1  christos o Makefile.sub (HTMLDOCFILES_, EXAMPLEFILES_, PROCESSEDEXAMPLEFILES_): New
      8  1.1  christos   variables.
      9  1.1  christos   (install_data): Install files in `mom' subdirectories.
     10  1.1  christos   Make it work actually.
     11  1.1  christos   (uninstall_sub): Updated.
     12  1.1  christos 
     13  1.1  christos *Thu Jun 16 2005
     14  1.1  christos 
     15  1.1  christos o Makefile.sub (install_data, uninstall_sub): Use $(exampledir) for example
     16  1.1  christos files.  Reported by Keith Marshall.
     17  1.1  christos 
     18  1.1  christos *Mon May 16 2005
     19  1.1  christos 
     20  1.1  christos o Update groff_mom.man.
     21  1.1  christos 
     22  1.1  christos *Thu May 12 2005
     23  1.1  christos 
     24  1.1  christos o Added margin notes capability
     25  1.1  christos 
     26  1.1  christos o Added mom-specific refer support; refer calls can be embedded in
     27  1.1  christos   running text, sent to footnotes or endnotes, or collected for
     28  1.1  christos   output on a bibliography page; also added mom-specific refer
     29  1.1  christos   control macros
     30  1.1  christos 
     31  1.1  christos o Added bibliography page capability, with full suite of control
     32  1.1  christos   macros
     33  1.1  christos 
     34  1.1  christos o Added referencing of footnotes and endnotes by line number
     35  1.1  christos 
     36  1.1  christos o Added capability to have footnotes run on when footnotes are
     37  1.1  christos   being referenced by line number
     38  1.1  christos 
     39  1.1  christos o Added a post footnote space option, in case users want a little
     40  1.1  christos   space between their footnotes
     41  1.1  christos 
     42  1.1  christos o Added ENDNOTE_MARKER_STYLE, so user can choose between endnotes
     43  1.1  christos   identified by a numerical marker in the text, or by line number
     44  1.1  christos 
     45  1.1  christos o Added control macros to accommodate differing needs for endnotes
     46  1.1  christos   identified by line number
     47  1.1  christos 
     48  1.1  christos o Added ENDNOTE_TITLE_SPACE, so user can control starting position
     49  1.1  christos   of the endnotes page title
     50  1.1  christos 
     51  1.1  christos o Extended LIST so that it accepts lowercase alpha, uppercase roman
     52  1.1  christos   numeral and lowercase roman numeral enumerators; also added a
     53  1.1  christos   "prefix" argument (which comes *after* the separator argument)
     54  1.1  christos 
     55  1.1  christos o Changed RESET_LIST so that it can reset a list to any number,
     56  1.1  christos   letter, or roman numeral, instead of just 1, a, A, I and i
     57  1.1  christos 
     58  1.1  christos o Change to handling of footnote/endnote markers in text; input
     59  1.1  christos   lines before FOOTNOTE still require \c, but input line after
     60  1.1  christos   FOOTNOTE OFF must be entered as a literal continuation of the
     61  1.1  christos   line before FOOTNOTE, including any required word space or
     62  1.1  christos   punctuation (this so users can get the footnote marker in text
     63  1.1  christos   either before or after the punctuation without hassle)
     64  1.1  christos 
     65  1.1  christos o Added QUOTE_AUTOLEAD and BLOCKQUOTE_AUTOLEAD, so user can have
     66  1.1  christos   quotes and blockquotes leaded differently from running text
     67  1.1  christos 
     68  1.1  christos o Reworked QUOTE and BLOCKQUOTE to accommodate _AUTOLEAD control;
     69  1.1  christos   spacing above and below quotes is equalized *on a per quote
     70  1.1  christos   basis* (not completely happy with this, but at least it gives
     71  1.1  christos   users some flexibility in designing (block)quotes)
     72  1.1  christos 
     73  1.1  christos *Fri Mar 18 2005
     74  1.1  christos 
     75  1.1  christos o Added mom.vim to /examples
     76  1.1  christos 
     77  1.1  christos *Thu Jan 20 2005
     78  1.1  christos 
     79  1.1  christos o Added \*[TB+] and \*[B] to give inline functionality of .TN and
     80  1.1  christos   .EL, respectively.
     81  1.1  christos 
     82  1.1  christos o Added SECTION and SECTION_CHAR as aliases of LINEBREAK and
     83  1.1  christos   LINEBREAK_CHAR
     84  1.1  christos 
     85  1.1  christos o Added a NOBREAK option to PAD, so when PAD is called, it's possible
     86  1.1  christos   to instruct mom not to advance on the page.
     87  1.1  christos 
     88  1.1  christos *Wed Jan 19 2005
     89  1.1  christos 
     90  1.1  christos o New macro, ADD_SPACE, so that extra space can be added at the
     91  1.1  christos   top of a new page in document processing; the .ns call in HEADER
     92  1.1  christos   was making additional space impossible
     93  1.1  christos 
     94  1.1  christos o Reworked handling of ALD/SPACE/SP and LS when they're used at
     95  1.1  christos   the tops of pages during pure (i.e. non-docprocessing)
     96  1.1  christos   typesetting.  First lines were still wandering.  Should also be
     97  1.1  christos   more intuitive: ALD after LS advances the specified distance from
     98  1.1  christos   the top baseline; LS after ALD doesn't change the position of the
     99  1.1  christos   first baseline (i.e. merely sets the lead for the text that
    100  1.1  christos   follows).
    101  1.1  christos 
    102  1.1  christos *Tue Dec 14 2004
    103  1.1  christos 
    104  1.1  christos o Fixed a small problem with spacing under quotes when paragraph
    105  1.1  christos   spacing is turned on.
    106  1.1  christos 
    107  1.1  christos *Fri Dec 10 2004
    108  1.1  christos 
    109  1.1  christos o Put all calls in VFP_CHECK inside their own environment.  Without
    110  1.1  christos   the .ev call, the trap invoked VFP_CHECK was chopping off the
    111  1.1  christos   first word of the last line before footnotes.
    112  1.1  christos 
    113  1.1  christos *Dec 6 2004
    114  1.1  christos 
    115  1.1  christos o Small fixes to elvis_syntax.new (dealing with strings, \{\ and \}
    116  1.1  christos 
    117  1.1  christos o Changed
    118  1.1  christos     .    ie \\n[#START] \{\
    119  1.1  christos     .       if \\n[#DOC_HEADER]=0 \{ . \}
    120  1.1  christos     .    \}
    121  1.1  christos   in HEAD to
    122  1.1  christos     .    ie \\n[#START] \{\
    123  1.1  christos     .       if \\n[#DOC_HEADER]=0 \{ .RLD 1v \}
    124  1.1  christos     .    \}
    125  1.1  christos   so that HEADs at the start of docs with no docheaders falls on
    126  1.1  christos   the correct baseline.
    127  1.1  christos 
    128  1.1  christos *Dec 3 2004
    129  1.1  christos 
    130  1.1  christos o Removed spurious parens from if ( \\n[#TRAP_DISTANCE] < \\n[#DOC_LEAD]*2 )
    131  1.1  christos   in SUBHEAD.
    132  1.1  christos 
    133  1.1  christos *Oct 14 2004
    134  1.1  christos 
    135  1.1  christos o Reworked the LL macro so that the argument can take a prepended +
    136  1.1  christos   or - sign (i.e. the argument is relative to the current line
    137  1.1  christos   length).
    138  1.1  christos 
    139  1.1  christos *Oct 13 2004
    140  1.1  christos 
    141  1.1  christos o Added an .if \\n(.n=0 if to the ie clause in LS that controls how mom
    142  1.1  christos   responds to initial LS invocation at page top if T_MARGIN has
    143  1.1  christos   been set.  Now, if there's text on the "top" baseline, LS behaves
    144  1.1  christos   as expected when invoked afterwards.
    145  1.1  christos 
    146  1.1  christos *Oct 11 2004
    147  1.1  christos 
    148  1.1  christos o Added an ie !r#DOCS clause to the processing of "top baseline"
    149  1.1  christos   ALDs.  ALD is used extensively (internally) in the document
    150  1.1  christos   processing macros, and does not need to check--indeed, should not
    151  1.1  christos   check--for top baseline placement prior to execution.
    152  1.1  christos 
    153  1.1  christos *Sep 29 2004
    154  1.1  christos 
    155  1.1  christos o Additions to elvis_syntax.new
    156  1.1  christos 
    157  1.1  christos *Sep 12 2004
    158  1.1  christos 
    159  1.1  christos o Small fixes to the documentation.
    160  1.1  christos 
    161  1.1  christos *Aug 21 2004
    162  1.1  christos 
    163  1.1  christos o Removed superfluous second arguments from strings UP, DOWN, FWD
    164  1.1  christos   and BCK
    165  1.1  christos 
    166  1.1  christos *Aug 8 2004
    167  1.1  christos 
    168  1.1  christos o Version changed from the 1.1.x series to 1.2.  All of the
    169  1.1  christos   features I originally wanted mom to have originally have been
    170  1.1  christos   implemented, and appear to be stable.
    171  1.1  christos 
    172  1.1  christos o Major overhaul to the setting of page traps and the handling of
    173  1.1  christos   footnotes, both "normal" footnotes and footnotes that occur
    174  1.1  christos   inside QUOTE, BLOCKQUOTE and EPIGRAPH.
    175  1.1  christos 
    176  1.1  christos o Addtion of font "styles" to om.tmac, plus changes to the FAMILY
    177  1.1  christos   and FT macros to manage them.  New section in the doc appendices
    178  1.1  christos   on adding fonts and managing the new font styles.
    179  1.1  christos 
    180  1.1  christos o Mom now uses a "fallback font" whenever there's an illegal call
    181  1.1  christos   to FAMILY.
    182  1.1  christos 
    183  1.1  christos o RW and EW now affect only the font in effect.  A change of family
    184  1.1  christos   or font disables them.
    185  1.1  christos 
    186  1.1  christos o BR_AT_LINE_KERN now properly does a .brp (spread and break) when
    187  1.1  christos   used in justified text.
    188  1.1  christos 
    189  1.1  christos o NEWPAGE, which used to be an alias for .bp, has been moved into
    190  1.1  christos   its own macro, in order to make it more responsive to some unusal
    191  1.1  christos   situations.
    192  1.1  christos 
    193  1.1  christos o Some changes to elvis_syn.new, including that the file extensions
    194  1.1  christos   recognized by elvis now include both .mom and .tmac.  This makes
    195  1.1  christos   om.tmac much easier to read.
    196  1.1  christos 
    197  1.1  christos *Jul 6 2004
    198  1.1  christos 
    199  1.1  christos o FT and FAM(ILY) reworked to take advantage of if S, if F and
    200  1.1  christos   \n[.sty] additions to groff (1.19.2).  Warnings are emitted if a
    201  1.1  christos   style hasn't been registered, or if a font style doesn't exist in
    202  1.1  christos   the current family.  Invalid .FAM(ILY) calls now use a "fallback"
    203  1.1  christos   font" (although no warning is issued); fallback is user-settable
    204  1.1  christos 
    205  1.1  christos o New macro, FALLBACK_FONT.  Not only controls the fallback font
    206  1.1  christos   for invalid family calls, but also controls whether mom aborts on
    207  1.1  christos   invalid .FT calls after issuing a warning.
    208  1.1  christos 
    209  1.1  christos o RW/EW now affect only the current font (or font style)
    210  1.1  christos 
    211  1.1  christos o BR_AT_LINE_KERN now (properly) does a break-and-spread when text
    212  1.1  christos   is justified.
    213  1.1  christos 
    214  1.1  christos o Fairly extensive list of .sty's added to om.tmac.  Hopefully,
    215  1.1  christos   this will make life easier for users wishing to add new fonts
    216  1.1  christos   and/or entire new families to their groff site-font/devps
    217  1.1  christos   directory.
    218  1.1  christos 
    219  1.1  christos *Jun 6 2004
    220  1.1  christos 
    221  1.1  christos o Altered kerning slightly for footnote markers in text.  Daggers
    222  1.1  christos   and double-daggers were getting a bit jammed 
    223  1.1  christos 
    224  1.1  christos *Fri Jun 4 2004
    225  1.1  christos 
    226  1.1  christos o Makefile.sub (HTMLDOCFILES, EXAMPLEFILES, PROCESSEDEXAMPLEFILES): Updated.
    227  1.1  christos 
    228  1.1  christos *Thu Jun 3 2004
    229  1.1  christos 
    230  1.1  christos o Rewrote the routines dealing with _FAMILY, _FONT, _SIZE, _COLOR
    231  1.1  christos   and _QUAD.  A single macro for each checks for the calling alias
    232  1.1  christos   (e.g. TITLE_FAMILY in _FAMILY), and performs the appropriate
    233  1.1  christos   action.
    234  1.1  christos 
    235  1.1  christos o All "COLOUR" aliases of "COLOR", no matter where, have been
    236  1.1  christos   removed.
    237  1.1  christos 
    238  1.1  christos o Added cover and doc cover page generation.
    239  1.1  christos 
    240  1.1  christos o Added reference macros COVERTITLE, DOC_COVERTITLE, MISC and
    241  1.1  christos   COPYRIGHT (for use with covers only)
    242  1.1  christos 
    243  1.1  christos o Fixed EL and TN so they don't spring page traps; in nofill modes
    244  1.1  christos   the preceding input line must be terminated by \c.
    245  1.1  christos 
    246  1.1  christos o Added #T_MARGIN_LEAD_ADJ to DO_B_MARGIN, DO_T_MARGIN and NEWPAGE
    247  1.1  christos   to ensure accurate placement of first lines on new pages when
    248  1.1  christos   docprocessing is not taking place.
    249  1.1  christos 
    250  1.1  christos o Made NEWPAGE it's own macro; formerly just an alias of .bp.
    251  1.1  christos 
    252  1.1  christos o Made BREAKQUOTE obsolete; rewrote sections of footnote handling,
    253  1.1  christos   including adding support macros to deal with processing of
    254  1.1  christos   footnotes that were started inside quotes, blockquotes and
    255  1.1  christos   epigraphs.
    256  1.1  christos 
    257  1.1  christos o Added a TERMINATE .em to docprocessing (except letters) to ensure
    258  1.1  christos   that deferred footnotes print on the last page of a doc.
    259  1.1  christos 
    260  1.1  christos 
    261  1.1  christos *Mar 15 2004
    262  1.1  christos 
    263  1.1  christos o Added color support
    264  1.1  christos 
    265  1.1  christos o Adjusted vertical placement of hyphens around page numbering
    266  1.1  christos   so that they are better centered on the height of the page
    267  1.1  christos   number.
    268  1.1  christos 
    269  1.1  christos o Re-wrote portions of the document processing macros so that tabs
    270  1.1  christos   behave in a consistent and intuitive manner.  Tab structures are
    271  1.1  christos   now properly preserved from page to page and column to column.
    272  1.1  christos 
    273  1.1  christos *Feb 20 2004
    274  1.1  christos 
    275  1.1  christos o Rewrote the macros associated with DOCTYPE LETTER so that the
    276  1.1  christos   user can enter DATE, TO and FROM in any order s/he likes.  For
    277  1.1  christos   backward compatibility, if the older, fixed order (DATE-TO-FROM)
    278  1.1  christos   is used, the date goes flush right with two linespaces after
    279  1.1  christos   it, while the other fields go flush left with a single linespace
    280  1.1  christos   separating them.
    281  1.1  christos 
    282  1.1  christos o Fixed handling of DOCHEADER OFF <distance> when <distance> fell
    283  1.1  christos   short of the top margin of running text (the change is actually
    284  1.1  christos   in the SHIM macro, which is called by DOCHEADER).
    285  1.1  christos 
    286  1.1  christos o Added a selection of iso 639 two-letter language codes as
    287  1.1  christos   optional arguments to SMARTQUOTES, so that the use can enter
    288  1.1  christos   her/his language code to get language specific quoting styles
    289  1.1  christos 
    290  1.1  christos o Changed the way the strings for \*[ST<n>], \*[ST<n>X], \*[FU<n>]
    291  1.1  christos   and \*[BU<n>] are read.  Formerly, they were entered literally.
    292  1.1  christos   Now they're entered as an array.
    293  1.1  christos 
    294  1.1  christos *Jan 24 2004
    295  1.1  christos 
    296  1.1  christos o Added lists and associated macros.  Mom now does (nested) lists.
    297  1.1  christos 
    298  1.1  christos o Added German-style lowered double quotes and two styles of
    299  1.1  christos   guillemets to SMARTQUOTES.
    300  1.1  christos 
    301  1.1  christos o Added macro SIZE, intended to be called inline as \*[SIZE <n>].
    302  1.1  christos   This is to bring mom's inline size change syntax into line with
    303  1.1  christos   her other inlines.
    304  1.1  christos 
    305  1.1  christos o Added ESC_CHAR as an alias of .ec
    306  1.1  christos 
    307  1.1  christos o Added doc entries for lists.
    308  1.1  christos 
    309  1.1  christos o Updated SMARTQUOTES entry in docs.
    310  1.1  christos 
    311  1.1  christos o Updated reserved words in docs.
    312  1.1  christos 
    313  1.1  christos o Fixed a few more typos in docs.
    314  1.1  christos 
    315  1.1  christos *Tue Oct 21 2003
    316  1.1  christos 
    317  1.1  christos o Changed \n[#DRAFT] and \n[#REVISION] to strings \*[$DRAFT] and
    318  1.1  christos   \*[$REVISION], allowing for the possibility of blank entries that
    319  1.1  christos   don't mess up headers/footers with zeros if user doesn't want any
    320  1.1  christos   numbers.
    321  1.1  christos 
    322  1.1  christos o Extended handling of draft and revision numbers and strings in
    323  1.1  christos   headers/footers for increased flexibility.  It's possible now to
    324  1.1  christos   have just about any combo of DRAFT_STRING, DRAFT, REVISION_STRING
    325  1.1  christos   and REVISION, and have them come out in headers/footers as one
    326  1.1  christos   intuitively expects/wants.
    327  1.1  christos 
    328  1.1  christos *Fri Jul 25 2003
    329  1.1  christos 
    330  1.1  christos o Added a .bp after .if \\n[#START]=1 in FOOTER.  Without it,
    331  1.1  christos   in document processing mode, documents that use *none* of the
    332  1.1  christos   docprocessing tags (yes, there are times when users want to do
    333  1.1  christos   this) ignored the footer trap.
    334  1.1  christos 
    335  1.1  christos *Fri Jun 6 2003
    336  1.1  christos 
    337  1.1  christos o Changed register #DOCHEADER_LEAD_ADJ to string
    338  1.1  christos 
    339  1.1  christos *Wed May 21 2003
    340  1.1  christos 
    341  1.1  christos o DOC_TITLE changed to be used exclusively with DOCTYPE DEFAULT
    342  1.1  christos 
    343  1.1  christos o Fixed problem with restoration of previous doc pagenum
    344  1.1  christos   style when endnotes use a different pagenum style (set with
    345  1.1  christos   ENDNOTES_PAGENUM_STYLE)
    346  1.1  christos 
    347  1.1  christos o Fixed handling of headers/footers with respect to endnotes.  Now,
    348  1.1  christos   when either headers or footers are on, mom picks up the correct
    349  1.1  christos   page header/footer on the last page prior to ENDNOTES, gets the
    350  1.1  christos   pageheaders correct for endnotes pages *including the last one*,
    351  1.1  christos   and picks up correct page headers/footers for the subsequent docs
    352  1.1  christos   after COLLATE
    353  1.1  christos 
    354  1.1  christos *Sat May 17 2003
    355  1.1  christos 
    356  1.1  christos o Added TOC (finally) and a nearly complete set of associated
    357  1.1  christos   control macros
    358  1.1  christos 
    359  1.1  christos o Added new control macros to endnotes:
    360  1.1  christos 
    361  1.1  christos   ENDNOTES_STRING_CAPS       - capitalize the endnotes string
    362  1.1  christos   ENDNOTES_NO_COLUMNS        - allows docs in columns and endnotes not
    363  1.1  christos   ENDNOTES_PAGENUM_STYLE     - set page numbering style for endnotes
    364  1.1  christos   ENDNOTES_FIRST_PAGENUMBER  - set first pagenumber for endnotes
    365  1.1  christos   ENDNOTES_ALLOWS_HEADERS    - page headers on endnotes pages off or on
    366  1.1  christos   ENDNOTES_NO_FIRST_PAGENUM  - allows non-printing first page number when page footers are being used instead of headers
    367  1.1  christos   ENDNOTES_SINGLE_SPACE      - for TYPEWRITE, if doc double-spaced
    368  1.1  christos   SUSPEND/RESTORE_PAGINATION - turns page numbering off for endnotes
    369  1.1  christos 
    370  1.1  christos o Added an ADJUST option to ENDNOTE_LEAD
    371  1.1  christos 
    372  1.1  christos o Added DOC_TITLE (like TITLE, but sets document-wide title for collated docs)
    373  1.1  christos 
    374  1.1  christos o Added HDRFTR_CENTER_PAD, to allow adjustments to placement of
    375  1.1  christos   HDRFTR_CENTER_STRING
    376  1.1  christos 
    377  1.1  christos o Added BLANKPAGE macro, to output blank pages (silently numbered)
    378  1.1  christos 
    379  1.1  christos o Extensive changes to DEFAULTS, START, COLLATE, HEAD, SUBHEAD and
    380  1.1  christos   PARAHEAD because of new TOC and extended flexibility of ENDNOTES
    381  1.1  christos   page design
    382  1.1  christos 
    383  1.1  christos o Fixed DOCHEADER OFF (distance), FINIS
    384  1.1  christos 
    385  1.1  christos -----------------------------------------------------------------------
    386  1.1  christos 
    387  1.1  christos *Sat Feb 22 2003
    388  1.1  christos 
    389  1.1  christos o (Re)-fixed handling of post epigraph spacing after #START for
    390  1.1  christos   TYPEWRITE double-spaced.
    391  1.1  christos 
    392  1.1  christos ------------------------------------------------------------------------
    393  1.1  christos 
    394  1.1  christos *Sun Feb 16 2003
    395  1.1  christos 
    396  1.1  christos o Added James Ramsey's proposed CHAPTER_TITLE macro, along with his
    397  1.1  christos   rewritten START macro and his utility macros to make START easier
    398  1.1  christos   to read.
    399  1.1  christos 
    400  1.1  christos o Expanded handling of CHAPTER_TITLE to encompass TYPEWRITE, as well as
    401  1.1  christos   plugging it into the docheaders.  Made CHAPTER_TITLE backwardly
    402  1.1  christos   compatible so that pre-1.1.5 docs using CHAPTER_STRING to create a
    403  1.1  christos   chapter title remain unaffected when groffed with 1.1.5.
    404  1.1  christos 
    405  1.1  christos o Created control macros for CHAPTER_TITLE FAMILY, FONT and SIZE.
    406  1.1  christos   Added defaults for handling of CHAPTER title to DEFAULTS.  Documented
    407  1.1  christos   CHAPTER_TITLE and everything that goes along with it.
    408  1.1  christos 
    409  1.1  christos o Fixed broken draft and revision in headers/footers.
    410  1.1  christos 
    411  1.1  christos o Fixed \*[RULE] so that it behaves properly with indents and justified
    412  1.1  christos   copy.
    413  1.1  christos 
    414  1.1  christos o Fixed/tweaked handling of epigraph spacing in TYPEWRITE.
    415  1.1  christos 
    416  1.1  christos o Fixed broken spacing of docheaders in TYPEWRITE.
    417  1.1  christos 
    418  1.1  christos *Mon Feb 3 2003
    419  1.1  christos 
    420  1.1  christos o Fixed an oversight in CLOSING for DOCTYPE LETTER (closing wasn't
    421  1.1  christos   being set flush left)
    422  1.1  christos 
    423  1.1  christos *Sun Sep 29 2002
    424  1.1  christos 
    425  1.1  christos o Changed .ne in .HEAD when PRINTSTYLE TYPESET from 5 to 4.  With 5,
    426  1.1  christos   heads required at least 2 lines of text underneath or they'd be
    427  1.1  christos   defered to the next page, which created too much whitespace at the
    428  1.1  christos   end of the page.  Heads will now be processed on the same page if the
    429  1.1  christos   head plus at least one line of text underneath fits.  I figure it's
    430  1.1  christos   easier for the user to break to a new page manually if this behaviour
    431  1.1  christos   is unsatisfactory than to massage the page to fix the excess
    432  1.1  christos   whitespace.
    433  1.1  christos 
    434  1.1  christos *Sun Aug 25 2002
    435  1.1  christos 
    436  1.1  christos o Changed .IX to .IQ.  The older form still works, but emits a message
    437  1.1  christos   advising the user to update to the newer.  (The macro in om.tmac
    438  1.1  christos   still remains IX; IQ is an alias.)  Docs updated to reflect the
    439  1.1  christos   change.
    440  1.1  christos 
    441  1.1  christos *Tue Aug 20 2002
    442  1.1  christos 
    443  1.1  christos o Added new (better) way to handle inline kerning.  \*[BU #] and
    444  1.1  christos   \*[FU #] allow passing an argument to the inline string.  The older
    445  1.1  christos   forms \*[BU#] and \*[FU#] still work, though.
    446  1.1  christos 
    447  1.1  christos o Changed handling of inline horizontal and vertical movements.
    448  1.1  christos   Horizontal movements are now done with \*[BCK #<unit>] and
    449  1.1  christos   \*[FWD #<unit>]; verticals with \*[UP #<unit>] and \*[DOWN #<unit>].
    450  1.1  christos   The older forms \*[FP#] and \*[BP#] still work (horizontals), as do
    451  1.1  christos   \*[ALD#] and \*[RLD#] (verticals).
    452  1.1  christos 
    453  1.1  christos ------------------------------------------------------------------------
    454  1.1  christos 
    455  1.1  christos *Mon Aug 19 2002
    456  1.1  christos 
    457  1.1  christos o Fixed ENDNOTES so footnotes output properly when ENDNOTES is called
    458  1.1  christos 
    459  1.1  christos o Added ENDNOTES_HDRFTR_CENTER so that default no-print of header
    460  1.1  christos   center string on endnotes page(s) when DOCTYPE is CHAPTER can
    461  1.1  christos   be disabled (i.e. header center will be printed).
    462  1.1  christos 
    463  1.1  christos *Sat Aug 10 2002
    464  1.1  christos 
    465  1.1  christos o Added .nf to top of PAD, with a test beforehand for current fill
    466  1.1  christos   mode.  If fill mode was on, it's restored after PAD completes
    467  1.1  christos   processing.  Updated reserved.html to include number register
    468  1.1  christos   #FILL_MODE.
    469  1.1  christos 
    470  1.1  christos *Fri Jul 12 2002
    471  1.1  christos 
    472  1.1  christos o More fixes to underlining.
    473  1.1  christos 
    474  1.1  christos *Fri Jul 5 2002
    475  1.1  christos 
    476  1.1  christos o Added capability of endnotes and pertinent control macros to om.tmac.
    477  1.1  christos 
    478  1.1  christos o Added document entries pertaining to endnote macros.
    479  1.1  christos 
    480  1.1  christos o Incorporated endnote macros into elvis_syntax.
    481  1.1  christos 
    482  1.1  christos o Small doc fixes.
    483  1.1  christos 
    484  1.1  christos o Tidied up indenting of om.tmac.
    485  1.1  christos 
    486  1.1  christos o Fixed handling of underlining of italics in PRINTSTYLE TYPEWRITE
    487  1.1  christos   (there was a problem with footnotes getting underlined when they
    488  1.1  christos   shouldn't have been).
    489  1.1  christos 
    490  1.1  christos o Removed ENDNOTES from TODO
    491  1.1  christos 
    492  1.1  christos o Fixed the character translations for UNDERLINE so they work properly
    493  1.1  christos   with digraphs.
    494  1.1  christos 
    495  1.1  christos *Mon Jul 1 2002
    496  1.1  christos 
    497  1.1  christos o Expanded docprocessing.html entry "Special Note on Chapters".  Tidied
    498  1.1  christos   up html a bit.
    499  1.1  christos 
    500  1.1  christos *Sat Jun 15 2002
    501  1.1  christos 
    502  1.1  christos o Small fix to PAD to make the use of inlines within the pad string
    503  1.1  christos   more intuitive.
    504  1.1  christos 
    505  1.1  christos o Added \*[RULE] ( = \l'\n(.lu' ) so that full measure rules (either to
    506  1.1  christos   full line length or within tabs) are easier to set.
    507  1.1  christos 
    508  1.1  christos *Sat Jun 8 2002
    509  1.1  christos 
    510  1.1  christos o Macro .PS renamed to .PT_SIZE.  Alias .TS removed.
    511  1.1  christos 
    512  1.1  christos o .tr bits in .CAPS rewritten in the form .tr \[`E].
    513  1.1  christos 
    514  1.1  christos o General cleanup of docs to reflect changes
    515  1.1  christos 
    516  1.1  christos o Small changes/additions to elvis_syn
    517  1.1  christos 
    518  1.1  christos *Thu Jun 6 2002
    519  1.1  christos 
    520  1.1  christos o In DOCTYPE, in .if '\\$1'LETTER', added .FOOTER_RIGHT_SIZE +0.
    521  1.1  christos   Without it, the suite page was printing at the default
    522  1.1  christos   FOOTER_RIGHT_SIZE of -.5, which didn't look good.
    523  1.1  christos 
    524  1.1  christos *Wed Jun  5 2002
    525  1.1  christos 
    526  1.1  christos o Makefile.sub (TFLAG): Add `$(top_builddir)/tmac'.
    527  1.1  christos 
    528  1.1  christos *Tue Jun  4 2002
    529  1.1  christos 
    530  1.1  christos o Makefile.sub (groff_bin_dirs): Fix typo (forgotten `src' element).
    531  1.1  christos 
    532  1.1  christos *Mon Jun  3 2002
    533  1.1  christos 
    534  1.1  christos o Makefile.sub (uninstall_sub): Don't use `momdocdir' but `htmldocdir'.
    535  1.1  christos   Add missing backslash.
    536  1.1  christos 
    537  1.1  christos *Sat Jun  1 2002
    538  1.1  christos 
    539  1.1  christos o Makefile.in (prepare_make_examples): Test for `penguin.ps', not
    540  1.1  christos   `examples/penguin.ps'.
    541  1.1  christos 
    542  1.1  christos *Wed May 29 2002
    543  1.1  christos 
    544  1.1  christos o Rewrote portions of PAGENUM_STYLE and COPYSTYLE so that PAGENUM_STYLE
    545  1.1  christos   behaves as advertised.
    546  1.1  christos 
    547  1.1  christos *Fri May 24 2002
    548  1.1  christos 
    549  1.1  christos o /Makefile.sub (momdocdir): Removed.
    550  1.1  christos   (HTMLDOCFILES): Prepend `momdoc/'.
    551  1.1  christos   (EXTRAEXAMPLEFILES): Removed.  Added entries to...
    552  1.1  christos   (EXAMPLEFILES): This.
    553  1.1  christos   (.SUFFIXES, .mom.ps): New.
    554  1.1  christos   (prepare_make_examples): Updated.
    555  1.1  christos   (examples/*.ps): Removed; .mom.ps will handle this.
    556  1.1  christos   (install_data): Updated.  
    557  1.1  christos 
    558  1.1  christos *Thu May 23 2002
    559  1.1  christos 
    560  1.1  christos o Applied two small bug fixes to om.tmac (patches 1.1.1a and 1.1.1b).
    561  1.1  christos 
    562  1.1  christos o mom is now part of groff.
    563  1.1  christos 
    564  1.1  christos o Some renaming to avoid problems with 8+3 filesystems:
    565  1.1  christos 
    566  1.1  christos     examples/docprocessing_typeset.mom   -> examples/typeset.mom
    567  1.1  christos     examples/docprocessing_typewrite.mom -> examples/typewrite.mom
    568  1.1  christos     examples/typesetting_macros.mom      -> examples/macros.mom
    569  1.1  christos     examples/penguin_small2_bw.ps        -> examples/penguin.ps
    570  1.1  christos 
    571  1.1  christos o Removed `INSTALL' and `README' since groff takes care of installation
    572  1.1  christos   now.
    573  1.1  christos 
    574  1.1  christos o Added Makefile.sub.
    575  1.1  christos 
    576  1.1  christos o Added mom.tmac (which simply calls om.tmac).
    577  1.1  christos 
    578  1.1  christos o Added groff_mom.man for orthogonality; it simply points to the HTML
    579  1.1  christos   documentation.
    580  1.1  christos 
    581  1.1  christos *Thu May 16 2002
    582  1.1  christos 
    583  1.1  christos o Added macro DRAFT_WITH_PAGENUMBER so user can have draft/revision
    584  1.1  christos   info attached to the pagenumber in COPYSTYLE DRAFT, instead of having
    585  1.1  christos   it HEADER center.  Always having it HEADER center was creating problems
    586  1.1  christos   with long doc titles, esp. with PRINTSTYLE TYPEWRITE (which is when
    587  1.1  christos   COPYSTYLE DRAFT is most likely to be used).  Now user has the choice,
    588  1.1  christos   in these circumstances, either to reduce HEADER_SIZE, or to displace
    589  1.1  christos   the draft/revision info.  Also rewrote portions of COPYSTYLE so that
    590  1.1  christos   if no revision number is given in the reference macros, "Rev. #"
    591  1.1  christos   doesn't appear when COPYSTYLE DRAFT.
    592  1.1  christos 
    593  1.1  christos *Fri May 10 2002
    594  1.1  christos 
    595  1.1  christos o Added capability of user-defined, single string recto/verso
    596  1.1  christos   headers/footers.
    597  1.1  christos 
    598  1.1  christos o Added new entries to docs about the above.  Made some additional
    599  1.1  christos   small changes to toc.html, rectoverso.html, and headfootpage.html
    600  1.1  christos   to supplement the new entries.
    601  1.1  christos 
    602  1.1  christos o Small fix to handling of footer separator rule -- was 1 point too low
    603  1.1  christos   owing to fuzziness of #CAP_HEIGHT as returned by SIZESPECS.
    604  1.1  christos 
    605  1.1  christos o Added some more useful stuff to elvis_syntax.
    606  1.1  christos 
    607  1.1  christos *Sun May 05 2002
    608  1.1  christos 
    609  1.1  christos o Fix to DEFAULTS so that L_MARGIN and R_MARGIN are reprocessed if
    610  1.1  christos   DOCTYPE LETTER.  R_MARGIN, as set by DOCTYPE LETTER had no preceding
    611  1.1  christos   PAGEWIDTH or PAPER from which to get #PAGE_WIDTH for figuring out
    612  1.1  christos   line length.
    613  1.1  christos 
    614  1.1  christos o Additional fix to DEFAULTS in handling DOCTYPE LETTER so that if user
    615  1.1  christos   sets line length prior to START, no reprocessing of R_MARGIN occurs.
    616  1.1  christos   This necessitated adding a new number register: #USER_SET_L_LENGTH
    617  1.1  christos 
    618  1.1  christos *Sat May 04 23:48:05 EDT 2002
    619  1.1  christos 
    620  1.1  christos o Added .cflags 4 /\(en -- was driving me nuts that lines wouldn't
    621  1.1  christos   break after these characters; I'm assuming others feel the same way
    622  1.1  christos 
    623  1.1  christos * Fri May 03 2002
    624  1.1  christos 
    625  1.1  christos o Made some small fixes to space handling around quotes, mostly to do
    626  1.1  christos   with quotes immediately after START and quotes after (sub)heads.
    627  1.1  christos 
    628  1.1  christos * Wed May 01 2002
    629  1.1  christos 
    630  1.1  christos o Fixed a small bug that was causing the first .PP after START to begin
    631  1.1  christos   at the top margin of the page regardless of any type that preceded
    632  1.1  christos   .PP when docheaders were off.
    633  1.1  christos 
    634  1.1  christos o Fixed HEADER so that when HEADERS are off the first line of type on
    635  1.1  christos   pages after the first falls properly at the top margin
    636  1.1  christos 
    637  1.1  christos *Sat Apr 27 2002
    638  1.1  christos 
    639  1.1  christos o Renamed docprocessing_macros.mom in /examples to
    640  1.1  christos   docprocessing_typeset.mom.  Added docprocessing_typewrite.mom, as
    641  1.1  christos   well as a README file.
    642  1.1  christos 
    643  1.1  christos o Fixed UNDERLINE_QUOTES (for PRINTSTYLE TYPEWRITE) so they really are
    644  1.1  christos   on by default as the docs say.
    645  1.1  christos 
    646  1.1  christos o Changes to doc entry on COLLATE:
    647  1.1  christos 
    648  1.1  christos     - removed bit about using COLLATE after a cover page (I wrote the
    649  1.1  christos       entry *before* I wrote the macro!).  Cover pages should be
    650  1.1  christos       followed by NEWPAGE, not COLLATE.
    651  1.1  christos 
    652  1.1  christos     - added caution about mixing PRINTSTYLEs
    653  1.1  christos 
    654  1.1  christos     - added caution about using DOC_FAMILY to change family of all
    655  1.1  christos       document elements after COLLATE
    656  1.1  christos 
    657  1.1  christos o Made HEADER_SIZE (and, by extension, FOOTER_SIZE) available to
    658  1.1  christos   PRINTSTYLE TYPEWRITE.  Changed appropriate doc entries to reflect
    659  1.1  christos   this.
    660  1.1  christos 
    661  1.1  christos *Wed Apr 24 2002
    662  1.1  christos 
    663  1.1  christos o Small change to DO_QUOTE to correct a problem with quotes and
    664  1.1  christos   blockquotes that fall in the middle of paragraphs (i.e. text after
    665  1.1  christos   the quote is not a new para).  Basically, added a bit that stores the
    666  1.1  christos   current para indent, sets para indent to 0, invokes a PP, then
    667  1.1  christos   restores the original para indent.
    668  1.1  christos 
    669  1.1  christos o Added new macro, BREAK_QUOTE, to deal with the problem of
    670  1.1  christos   footnotes in quotes and blockquotes that cross pages or columns.
    671  1.1  christos 
    672  1.1  christos   Quotes and blockquotes are read into diversions, which means they
    673  1.1  christos   get their footnote information from the page/column on which they
    674  1.1  christos   were started.  If a footnoted quote crosses a page/column, what
    675  1.1  christos   sometimes happens is that the footnote itself is output at the
    676  1.1  christos   bottom of page/column where the quote started, whereas the text
    677  1.1  christos   marker for the footnote appears on the next page/column where the
    678  1.1  christos   quote ends.  Furthermore, the text marker is the one appropriate
    679  1.1  christos   to the previous page.  BREAK_QUOTE is a workaround.
    680  1.1  christos 
    681  1.1  christos o Added directory /examples to archive.
    682  1.1  christos 
    683  1.1  christos o Added typesetting_macros.mom, docprocessing_macros.mom, elvis_syntax
    684  1.1  christos   and penguin_small2_bw.ps to /examples.
    685  1.1  christos 
    686  1.1  christos o Added BREAK_QUOTE to docs, made some additions to reserved words
    687  1.1  christos   list, and corrected a few little doc errors.
    688  1.1  christos 
    689  1.1  christos *Mon Apr 22 2002
    690  1.1  christos 
    691  1.1  christos o Added default .L_MARGIN 1i and .R_MARGIN 1i to PAPER, PAGE, and
    692  1.1  christos   PAGEWIDTH.  L_MARGIN is essential otherwise left indents and tabs
    693  1.1  christos   don't have a register #L_MARGIN to work with.  The default right
    694  1.1  christos   margin is a convenience only.  Updated the doc entries for L_MARGIN
    695  1.1  christos   and R_MARGIN to reflect the change.
    696  1.1  christos 
    697  1.1  christos *Sun Apr 21 2002
    698  1.1  christos 
    699  1.1  christos o Changes to COLLATE:
    700  1.1  christos 
    701  1.1  christos     - added some "resets" (LL, LS, QUAD)
    702  1.1  christos     - added a check for whether pagination is at page top (either
    703  1.1  christos       because FOOTERS are on or because PAGENUM_POS was user set).
    704  1.1  christos       If pagination is on, and PAGENUM_POS is TOP, it's turned off
    705  1.1  christos       for next page (start of next collated document) and restored
    706  1.1  christos       for subsequent pages unless PAGENUM_ON_FIRST_PAGE is on, in
    707  1.1  christos       which case the page number appears at page top.
    708  1.1  christos 
    709  1.1  christos o The macro TRAPS is always invoked at the end of DEFAULTS (which is
    710  1.1  christos   called by START).  Formerly, TRAPS was only invoked at the start
    711  1.1  christos   of a doc, not after COLLATE.  Now runs after COLLATE as well.
    712  1.1  christos 
    713  1.1  christos o Distance from $DOC_TYPE in DOCTYPE NAMED "<string>" to start of
    714  1.1  christos   running text was one linespace too deep.  Fixed (in START).
    715  1.1  christos 
    716  1.1  christos o When 1st arg to PAGENUM_POS was user set to TOP, running text was
    717  1.1  christos   printing 1 linespace too high, even when PAGINATION was OFF.  Same
    718  1.1  christos   problem when HEADERS were OFF (i.e. nothing in the header margin at
    719  1.1  christos   all).  Fixed by removing -\\n[#DOC_LEAD]u from all .sp |\\n[#T_MARGIN]u
    720  1.1  christos   calls of .el portion after .ie \\n[#HEADERS_ON].
    721  1.1  christos 
    722  1.1  christos o Added new macro: PAGENUM_ON_FIRST_PAGE.  Normally, when FOOTERS are
    723  1.1  christos   being used instead of HEADERS, mom doesn't print the page number at
    724  1.1  christos   the top of the first page of a doc, or the first page of collated
    725  1.1  christos   docs.  New macro allows user to get mom to put the page number on
    726  1.1  christos   "first" pages if that's desired.  Updated docs to include the macro.
    727  1.1  christos 
    728  1.1  christos o More little fixes to docs.
    729  1.1  christos 
    730  1.1  christos *Thu Apr 18 2002
    731  1.1  christos 
    732  1.1  christos o Fixed TI (temporary indent) so that it continues to work as expected,
    733  1.1  christos   even when called while another type of indent is in effect.
    734  1.1  christos 
    735  1.1  christos *Tue Apr 16 2002
    736  1.1  christos 
    737  1.1  christos o String tabs weren't working as advertised when set from within
    738  1.1  christos   a tab.  Fixed.  Two new registers added: #ST_OFFSET and #IN_TAB.
    739  1.1  christos   String tabs now behave poperly and intuitively when set within tabs.
    740  1.1  christos 
    741  1.1  christos o Added a note to docs about surrounding \w'...' escape with double-
    742  1.1  christos   quotes when it's used as an argument to macros
    743  1.1  christos 
    744  1.1  christos o Added a note to docs that SILENT does not deposit a .br
    745  1.1  christos 
    746  1.1  christos *Mon Apr 15  2002
    747  1.1  christos 
    748  1.1  christos o Added new macro BR_AT_LINE_KERN if user wants mom to deposit .br's
    749  1.1  christos   before .RW and/or .EW.
    750  1.1  christos 
    751  1.1  christos o Added 1/4 points to inline escapes \*[ALD] and \*[RLD].
    752  1.1  christos 
    753  1.1  christos o Added 1/4 points to inline escapes \*[FP] and \*[BP]
    754  1.1  christos 
    755  1.1  christos o Updated docs to reflect the above changes.
    756  1.1  christos 
    757  1.1  christos *Fri Apr 12 2002
    758  1.1  christos 
    759  1.1  christos o Fixed .RW and .EW which weren't working because of a missing \ in
    760  1.1  christos   \\n(.f register.  Also made it so that .RW and .EW affect all fonts
    761  1.1  christos   in positions 1, 2, 3, and 4 at once, hence line kerning now affects
    762  1.1  christos   all fonts that appear after it, not just the font that was current at
    763  1.1  christos   the time of the macros' invocation.
    764  1.1  christos 
    765  1.1  christos o .SS and .WS now working properly.  .WS no longer has any effect on
    766  1.1  christos   .SS, which remains constant regardless of .WS.  Furthermore, .SS no
    767  1.1  christos   longer gets its value by adding \*[$SS_VAR] + \n[.ss].  Instead,
    768  1.1  christos   it remains constant.  Don't know what I was thinking when I wrote
    769  1.1  christos   the routine in the first place.
    770  1.1  christos 
    771  1.1  christos o Updated and rewrote doc entry pertaining to SS
    772  1.1  christos 
    773  1.1  christos *Wed Apr 10 2002
    774  1.1  christos 
    775  1.1  christos o Renamed tmac.om to om.tmac to bring macro file's name into line
    776  1.1  christos   with current groff policy
    777  1.1  christos 
    778  1.1  christos o Added more standard paper sizes to PAPER.
    779  1.1  christos 
    780  1.1  christos o Fixed T_MARGIN, LS, and AUTOLEAD so that if T_MARGIN is set before LS
    781  1.1  christos   or AUTOLEAD at the top of a file, the first line of type falls
    782  1.1  christos   properly on the baseline set by T_MARGIN.  Previously, LS and
    783  1.1  christos   AUTOLEAD automatically advanced by the value passed to them before
    784  1.1  christos   setting the first line of type, meaning that the first line of type
    785  1.1  christos   fell at T_MARGINu+1v instead of T_MARGIN.
    786  1.1  christos 
    787  1.1  christos o Updated docs to reflect changes.
    788  1.1  christos 
    789  1.1  christos o Removed #TEST_FOR_NUMERIC from list of reserved words.
    790  1.1  christos 
    791  1.1  christos o Added "t" and #T_MARGIN_SET to list of reserved words.
    792  1.1  christos 
    793  1.1  christos *Sat Apr 6 2002
    794  1.1  christos 
    795  1.1  christos o Added FACTOR arg to AUTOLEAD, so if user wants autolead to be a factor
    796  1.1  christos   of point size, instead of being the sum of pointsize + autolead, s/he
    797  1.1  christos   has the choice.  Incorporated appropriate changes to PS and LS.
    798  1.1  christos 
    799  1.1  christos o Added new register #AUTOLEAD_FACTOR to reserved words.  Modified
    800  1.1  christos   comments for AUTOLEAD, PS, and LS to reflect changes.  Also
    801  1.1  christos   corrected an error where #AUTOLEAD_VALUE had mistakenly been written
    802  1.1  christos   $AUTOLEAD_VALUE in comments in the macro file, and removed erroneous
    803  1.1  christos   | <anything>.  Updated AUTOLEAD entry in momdoc/typesetting.html
    804  1.1  christos   to reflect the changes.
    805  1.1  christos 
    806  1.1  christos *Wed Apr 3 2002
    807  1.1  christos 
    808  1.1  christos o Cleaned up html errors in the docs.
    809  1.1  christos 
    810  1.1  christos o Added "Next," "Prev" and "Top" links to top and bottom of doc files.
    811  1.1  christos 
    812  1.1  christos o Fixed some typos in the docs.
    813