head	1.12;
access;
symbols
	groff-1_20_1_real:1.12
	groff-1_20_1:1.12
	groff-1_20:1.12
	groff-1_19_2:1.10
	FDL:1.8
	groff-1_19_1:1.8
	groff-1_19:1.6
	groff-1_18_1:1.5
	groff-1_18:1.4
	import:1.1.1.1
	mom:1.1.1;
locks; strict;
comment	@# @;


1.12
date	2009.01.05.20.10.47;	author wl;	state Exp;
branches;
next	1.11;
commitid	LOYcfESGVCXMFixt;

1.11
date	2007.08.18.07.06.56;	author wl;	state Exp;
branches;
next	1.10;
commitid	MlsHTu3GOQmABcus;

1.10
date	2005.05.14.07.07.12;	author wl;	state Exp;
branches;
next	1.9;

1.9
date	2004.12.08.07.57.47;	author wl;	state Exp;
branches;
next	1.8;

1.8
date	2003.07.07.20.55.43;	author wlemb;	state Exp;
branches;
next	1.7;

1.7
date	2003.05.19.05.07.46;	author wlemb;	state Exp;
branches;
next	1.6;

1.6
date	2003.02.25.21.07.17;	author wlemb;	state Exp;
branches;
next	1.5;

1.5
date	2002.09.04.22.01.03;	author wlemb;	state Exp;
branches;
next	1.4;

1.4
date	2002.07.17.04.50.29;	author wlemb;	state Exp;
branches;
next	1.3;

1.3
date	2002.06.13.10.46.11;	author wlemb;	state Exp;
branches;
next	1.2;

1.2
date	2002.06.06.13.11.42;	author wlemb;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.23.21.59.17;	author wlemb;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2002.05.23.21.59.17;	author wlemb;	state Exp;
branches;
next	;


desc
@@


1.12
log
@Update copyright year.
@
text
@" Copyright 2004, 2005, 2006, 2009
" Free Software Foundation, Inc.
"
" Copying and distribution of this file, with or without modification,
" are permitted in any medium without royalty provided the copyright
" notice and this notice are preserved.

#Mom
language mom
extension .mom .tmac

startword .
color startword normal

inword _.'
color inword normal

other initialpunct
mostly normal

backslash none

color args         like fixed
color braces       like char
color brackets     like underlined
color chars        like emphasized
color decimals     like number
color ellipsis     normal
color escapes      like keyword
color math         like cursor
color misc         like string
color operators    like string
color parens       like comment
color reg_string   like math
color tmac_escapes like keyword
color single_slash like char

font args DA DE EN ES FR IT NL NO PT SV
font args DEFAULT CHAPTER NAMED LETTER
font args TYPESET TYPEWRITE
font args FINAL DRAFT
font args BLOCK QUAD
font args LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM L R C J
font args OFF QUIT END EXIT DONE NO ALL
font args PAGE NUMBER STAR
font args LETTER LEGAL EXECUTIVE LEDGER TABLOID QUARTO FOLIO
font args 10x14 A3 A4 A5 B4 B5
font args SINGLESPACE
font args FACTOR
font args DASH BULLET ALPHA DIGIT USER
font args RGB CYM CMYK GRAY GREY
font args COND CONDX EXT EXTX SUP SUPX CONDSUP CONDSUPX EXTSUP EXTSUPX
font args BOLDER BOLDERX SLANT SLANTX
font args UP DOWN BCK FWD BU BP FU FP
font args ROM IT BD BDI PREV
font args ST
font args SUSPEND RESUME

prefix            { \{ \{\
font braces       { \{ \{\
prefix            [ ]
font brackets     [ ]
prefix            \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
font chars        \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq \(lq \(rq
prefix            \(14 \(12 \(34 \(+-
font chars        \(14 \(12 \(34 \(+-
prefix            \fR \fB \fI \fP \f0 \f1 \f2 \f3
font chars        \fR \fB \fI \fP \f0 \f1 \f2 \f3
prefix            .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
font decimals     . .0 .1 .2 .3 .4 .5 .6 .7 .8 .9
prefix            \/ \/. \/? \/! \/, \/; \/:
font escapes      \/ \/. \/? \/! \/, \/; \/:
prefix            \, \,. \,? \,! \,, \,; \,:
font escapes      \, \,. \,? \,! \,, \,; \,:
prefix            \~ \0 \: \| \^ \& \% \!
font escapes      \~ \0 \: \| \^ \& \% \!
prefix            \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
font escapes      \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
prefix            ...
font ellipsis     ...
prefix            + - * / = == < > <= >= <? >? %
font math         + - * / = == < > <= >= <? >? %
prefix            |
font misc         |
prefix            ! : &
font operators    ! : &
prefix            ( )
font parens       ( )
prefix            # * $
font reg_string   # * $
prefix            \n \* \[
font single_slash \n \* \[
prefix            \\n \\* \\$
font tmac_escapes \\n \\* \\$

comment   \#
comment   \"
@


1.11
log
@

Add and update copyright messages.
@
text
@d1 1
a1 1
" Copyright 2004, 2005, 2006
@


1.10
log
@

*Thu May 12 2005

o Added margin notes capability

o Added mom-specific refer support; refer calls can be embedded in
  running text, sent to footnotes or endnotes, or collected for
  output on a bibliography page; also added mom-specific refer
  control macros

o Added bibliography page capability, with full suite of control
  macros

o Added referencing of footnotes and endnotes by line number

o Added capability to have footnotes run on when footnotes are
  being referenced by line number

o Added a post footnote space option, in case users want a little
  space between their footnotes

o Added ENDNOTE_MARKER_STYLE, so user can choose between endnotes
  identified by a numerical marker in the text, or by line number

o Added control macros to accommodate differing needs for endnotes
  identified by line number

o Added ENDNOTE_TITLE_SPACE, so user can control starting position
  of the endnotes page title

o Extended LIST so that it accepts lowercase alpha, uppercase roman
  numeral and lowercase roman numeral enumerators; also added a
  "prefix" argument (which comes *after* the separator argument)

o Changed RESET_LIST so that it can reset a list to any number,
  letter, or roman numeral, instead of just 1, a, A, I and i

o Change to handling of footnote/endnote markers in text; input
  lines before FOOTNOTE still require \c, but input line after
  FOOTNOTE OFF must be entered as a literal continuation of the
  line before FOOTNOTE, including any required word space or
  punctuation (this so users can get the footnote marker in text
  either before or after the punctuation without hassle)

o Added QUOTE_AUTOLEAD and BLOCKQUOTE_AUTOLEAD, so user can have
  quotes and blockquotes leaded differently from running text

o Reworked QUOTE and BLOCKQUOTE to accommodate _AUTOLEAD control;
  spacing above and below quotes is equalized *on a per quote
  basis* (not completely happy with this, but at least it gives
  users some flexibility in designing (block)quotes)

*Fri Mar 18 2005

o Added mom.vim to /examples
@
text
@d1 7
@


1.9
log
@

o Small fixes to elvis_syntax.new (dealing with strings, \{\ and \}

o Changed
    .    ie \\n[#START] \{\
    .       if \\n[#DOC_HEADER]=0 \{ . \}
    .    \}
  in HEAD to
    .    ie \\n[#START] \{\
    .       if \\n[#DOC_HEADER]=0 \{ .RLD 1v \}
    .    \}
  so that HEADs at the start of docs with no docheaders falls on
  the correct baseline.

o Removed spurious parens from if ( \\n[#TRAP_DISTANCE] < \\n[#DOC_LEAD]*2 )
  in SUBHEAD.
@
text
@d50 1
@


1.8
log
@

Added a SHIM macro that calculates and moves to the next "legal"
baseline during document processing (useful if user starts playing
around with spacing/leading on a page and needs to get the leading
back on track).

Fixed handling of DOCHEADER OFF <distance> so that the first line of
running text falls on a "legal" baseline when <distance> is given.

Other cleanups.
@
text
@d3 87
a89 141
extension .mom
startword .\
inword _(
keyword .ALD .ALIAS .ALWAYS_FULLSPACE_QUOTES .ATTRIBUTE_STRING
keyword .AUTHOR .AUTHOR_FAMILY .AUTHOR_FONT .AUTHOR_SIZE .AUTOLEAD .BLANKPAGE
keyword .BLOCKQUOTE .BLOCKQUOTE_FAMILY .BLOCKQUOTE_FONT .BLOCKQUOTE_QUAD .BLOCKQUOTE_SIZE
keyword .B_MARGIN .BR .BR_AT_LINE_KERN .BREAK_QUOTE
keyword .CAPS .CENTER .CENTRE
keyword .CHAPTER .CHAPTER_TITLE .CHAPTER_STRING .CITATION .CITE .CLOSING
keyword .COLLATE .COL_BREAK .COL_BREAK .COL_NEXT .COLUMNS
keyword .COMMENT .CONDENSE .COPYSTYLE
keyword .DATE .DEFAULTS
keyword .DOC_FAM .DOC_FAMILY .DOCHEADER
keyword .DOCHEADER_ADVANCE .DOCHEADER_LEAD
keyword .DOC_LEAD .DOC_LEAD_ADJUST .DOC_LEFT_MARGIN .DOC_LINE_LENGTH
keyword .DOC_LLENGTH .DOC_L_LENGTH .DOC_L_MARGIN .DOC_LMARGIN
keyword .DOC_LS .DOC_PS .DOC_PT_SIZE .DOC_QUAD
keyword .DOC_RIGHT_MARGIN .DOC_R_MARGIN .DOC_RMARGIN
keyword .DOCTYPE .DOCTYPE_FAMILY .DOCTYPE_FONT .DOCTYPE_SIZE .DOC_TITLE
keyword .DRAFT .DRAFT_STRING .DRAFT_WITH_PAGENUMBER
keyword .DROPCAP .DROPCAP_ADJUST .DROPCAP_FAMILY .DROPCAP_FONT .DROPCAP_GUTTER .DROPCAP_OFF
keyword .EL
keyword .ENDNOTE .ENDNOTES
keyword .ENDNOTE_FAMILY .ENDNOTE_FONT .ENDNOTE_PT_SIZE .ENDNOTE_LEAD .ENDNOTE_QUAD
keyword .ENDNOTE_STRING .ENDNOTE_STRING_FAMILY .ENDNOTE_STRING_FONT .ENDNOTE_STRING_SIZE
keyword .ENDNOTE_STRING_QUAD .ENDNOTE_STRING_UNDERSCORE
keyword .ENDNOTE_TITLE .ENDNOTE_TITLE_FAMILY .ENDNOTE_TITLE_FONT .ENDNOTE_TITLE_SIZE
keyword .ENDNOTE_TITLE_QUAD .ENDNOTE_TITLE_UNDERSCORE
keyword .ENDNOTE_NUMBER_FAMILY .ENDNOTE_NUMBER_FONT .ENDNOTE_NUMBER_SIZE
keyword .ENDNOTE_NUMBERS_ALIGN_RIGHT .ENDNOTE_NUMBERS_ALIGN_LEFT
keyword .ENDNOTE_PARA_INDENT .ENDNOTE_PARA_SPACE .ENDNOTES_FOOTER_CENTER .ENDNOTES_HEADER_CENTER
keyword .ENDNOTE_STRING_CAPS .ENDNOTES_NO_COLUMNS .ENDNOTES_NO_FIRST_PAGENUM
keyword .ENDNOTES_ALLOWS_HEADERS .ENDNOTES_PAGENUM_STYLE .ENDNOTES_FIRST_PAGENUMBER
keyword .ENDNOTE_SINGLESPACE
keyword .EPIGRAPH .EPIGRAPH_AUTOLEAD .EPIGRAPH_FAMILY .EPIGRAPH_FONT
keyword .EPIGRAPH_INDENT .EPIGRAPH_QUAD .EPIGRAPH_SIZE
keyword .EW .EXTEND
keyword .FAM .FAMILY
keyword .FINIS .FINIS_STRING
keyword .FOOTER .FOOTER_CENTER .FOOTER_CENTER_CAPS .FOOTER_CENTER_FAM .FOOTER_CENTER_FAMILY
keyword .FOOTER_CENTER_FONT .FOOTER_CENTER_FT .FOOTER_CENTER_PS .FOOTER_CENTER_SIZE
keyword .FOOTER_CENTRE .FOOTER_CENTRE_CAPS .FOOTER_CENTRE_FAM .FOOTER_CENTRE_FAMILY
keyword .FOOTER_CENTRE_FT .FOOTER_CENTRE_PS .FOOTER_CENTRE_SIZE .FOOTER_FAM
keyword .FOOTER_FAMILY .FOOTER_GAP .FOOTER_LEFT .FOOTER_LEFT_CAPS .FOOTER_LEFT_FAM
keyword .FOOTER_LEFT_FAMILY .FOOTER_LEFT_FONT .FOOTER_LEFT_FT .FOOTER_LEFT_PS
keyword .FOOTER_LEFT_SIZE .FOOTER_MARGIN .FOOTER_ON_FIRST_PAGE .FOOTER_PLAIN
keyword .FOOTER_RECTO .FOOTER_RIGHT .FOOTER_RIGHT_CAPS .FOOTER_RIGHT_FAM .FOOTER_RIGHT_FAMILY
keyword .FOOTER_RIGHT_FONT .FOOTER_RIGHT_FT .FOOTER_RIGHT_PS .FOOTER_RIGHT_SIZE
keyword .FOOTER_RULE .FOOTER_RULE_GAP .FOOTERS .FOOTER_SIZE .FOOTER_VERSO
keyword .FOOTNOTE .FOOTNOTE_AUTOLEAD .FOOTNOTE_FAMILY .FOOTNOTE_FONT .FOOTNOTE_MARKERS
keyword .FOOTNOTE_MARKER_STYLE .FOOTNOTE_QUAD .FOOTNOTE_RULE .FOOTNOTE_RULE_ADJ
keyword .FOOTNOTE_RULE_LENGTH .FOOTNOTE_SIZE
keyword .FROM .FT
keyword .GREETING
keyword .HDRFTR_CENTER .HDRFTR_CENTER .HDRFTR_CENTER_CAPS .HDRFTR_CENTER_FAMILY
keyword .HDRFTR_CENTER_FONT .HDRFTR_CENTER_SIZE .HDRFTR_FAMILY .HDRFTR_GAP .HDRFTR_CENTER_PAD
keyword .HDRFTR_LEFT .HDRFTR_LEFT .HDRFTR_LEFT_CAPS .HDRFTR_LEFT_FAMILY
keyword .HDRFTR_LEFT_FONT .HDRFTR_LEFT_SIZE .HDRFTR_MARGIN .HDRFTR_PLAIN
keyword .HDRFTR_RIGHT .HDRFTR_RIGHT_CAPS .HDRFTR_RIGHT_FAMILY .HDRFTR_RIGHT_FONT
keyword .HDRFTR_RIGHT_SIZE .HDRFTR_RULE .HDRFTR_RULE_GAP .HDRFTR_RULE_INTERNAL
keyword .HDRFTR_RULE_INTERNAL .HDRFTR_SIZE
keyword .HEAD .HEAD_CAPS .HEADER .HEADER_CENTER .HEADER_CENTER_CAPS
keyword .HEADER_CENTER_FAM .HEADER_CENTER_FAMILY .HEADER_CENTER_FONT
keyword .HEADER_CENTER_FT .HEADER_CENTER_PS .HEADER_CENTER_SIZE .HEADER_CENTRE
keyword .HEADER_CENTRE_CAPS .HEADER_CENTRE_FAM .HEADER_CENTRE_FAMILY
keyword .HEADER_CENTRE_FONT .HEADER_CENTRE_FT .HEADER_CENTRE_PS .HEADER_CENTRE_SIZE
keyword .HEADER_FAM .HEADER_FAMILY .HEADER_GAP
keyword .HEADER_LEFT .HEADER_LEFT_CAPS .HEADER_LEFT_FAM .HEADER_LEFT_FAMILY
keyword .HEADER_LEFT_FONT .HEADER_LEFT_FT .HEADER_LEFT_PS .HEADER_LEFT_SIZE
keyword .HEADER_MARGIN .HEADER_PLAIN
keyword .HEADER_RECTO .HEADER_RIGHT .HEADER_RIGHT_CAPS .HEADER_RIGHT_FAM .HEADER_RIGHT_FAMILY
keyword .HEADER_RIGHT_FONT .HEADER_RIGHT_FT .HEADER_RIGHT_PS .HEADER_RIGHT_SIZE .HEADER_VERSO
keyword .HEADER_RULE .HEADER_RULE_GAP .HEADERS .HEADER_SIZE
keyword .HEAD_FAMILY .HEAD_FONT .HEAD_QUAD .HEAD_SIZE .HEAD_SPACE .HEAD_UNDERLINE
keyword .HI .HY .HYPHENATE .HYPHENATION .HY_SET
keyword .IB .IBX .IBQ .IH .IL .ILX .ILQ
keyword .IQ .IR .IRX .IRQ .IT .IX
keyword .INDENT_FIRST_PARAS .ITALIC_MEANS_ITALIC
keyword .JUSTIFY
keyword .KERN
keyword .LEADER_CHARACTER .LEFT .LIG .LIGATURES .LINEBREAK .LL .LL .L_MARGIN .LS
keyword .MCO .MCR .MCX
keyword .NEWPAGE .NEW_PAGE .NO_SUITE .NUMBER_HEADS .NUMBER_PARAHEADS .NUMBER_SUBHEADS
keyword .PAD .PADMARKER .PAD_STRING .PAGE .PAGE_LENGTH .PAGELENGTH .PAGEWIDTH
keyword .PAGENUM .PAGENUM_FAMILY .PAGENUM_FONT .PAGENUM_HYPHENS
keyword .PAGENUM_ON_FIRST_PAGE .PAGENUM_POS .PAGENUM_SIZE .PAGENUM_STYLE .PAGENUMBER
keyword .PAGINATE .PAGINATION .PAPER
keyword .PARAHEAD .PARAHEAD_FAMILY .PARAHEAD_FONT .PARAHEAD_INDENT .PARAHEAD_SIZE
keyword .PARA_INDENT .PARA_SPACE
keyword .PP .PP_FONT .PP_FT .PT_SIZE .PSPIC
keyword .PRINTSTYLE
keyword .QUAD
keyword .QUOTE .QUOTE_FAMILY .QUOTE_FONT .QUOTE_INDENT .QUOTE_SIZE
keyword .RECTO_VERSO
keyword .RESET_FOOTNOTE_NUMBER .RESET_HEAD_NUMBER .RESET_PARAHEAD_NUMBER
keyword .RESET_SUBHEAD_NUMBER
keyword .REVISION .REVISION_STRING .RIGHT .RLD .R_MARGIN .RW
keyword .SETBOLDER .SETSLANT .SHIM .SILENT .SLANT_MEANS_SLANT .SMARTQUOTES .SP .SPACE
keyword .SPREAD .SS .ST .START .STRING .SUBHEAD .SUBHEAD_FAMILY .SUBHEAD_FONT .SUBHEAD_SIZE
keyword .SUBTITLE .SUBTITLE_FAMILY .SUBTITLE_FONT .SUBTITLE_SIZE
keyword .SWITCH_FOOTERS .SWITCH_HDRFTR .SWITCH_HEADERS
keyword .SUSPEND_PAGINATION .RESTORE_PAGINATION
keyword .TAB_SET .TAB .TABSET .TB .TI
keyword .TITLE .TITLE_FAMILY .TITLE_FONT .TITLE_SIZE .T_MARGIN
keyword .TN .TO .TOC
keyword .TOC_FAMILY .TOC_PT_SIZE .TOC_LEAD .TOC_PAGENUM_STYLE
keyword .TOC_HEADER_FAMILY .TOC_HEADER_FONT .TOC_HEADER_SIZE .TOC_HEADER_QUAD .TOC_HEADER_STRING
keyword .TOC_TITLE_FAMILY .TOC_TITLE_FONT .TOC_TITLE_SIZE .TOC_TITLE_INDENT
keyword .TOC_HEAD_FAMILY .TOC_HEAD_FONT .TOC_HEAD_SIZE .TOC_HEAD_INDENT
keyword .TOC_SUBHEAD_FAMILY .TOC_SUBHEAD_FONT .TOC_SUBHEAD_SIZE .TOC_SUBHEAD_INDENT
keyword .TOC_PARAHEAD_FAMILY .TOC_PARAHEAD_FONT .TOC_PARAHEAD_SIZE .TOC_PARAHEAD_INDENT
keyword .TOC_PN_FAMILY .TOC_PN_FONT .TOC_PN_SIZE
keyword .TOC_APPENDS_AUTHOR .TOC_RV_SWITCH .TOC_PADDING .PAGINATE_TOC
keyword .TQ .TRAP .TYPESIZE
keyword .UNDERLINE .UNDERLINE_ITALIC .UNDERLINE_QUOTES .UNDERLINE_SLANT
keyword .UNDERSCORE .UNDERSCORE_2 .UNDERSCORE2
keyword .WS
font fixed DEFAULT CHAPTER NAMED LETTER
font fixed TYPESET TYPEWRITE
font fixed FINAL DRAFT
font fixed BLOCK QUAD
font fixed LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM 
font fixed OFF QUIT END EXIT DONE NO ALL
font fixed PAGE NUMBER STAR
font fixed COND EXT
font fixed LETTER LEGAL EXECUTIVE LEDGER TABLOID QUARTO FOLIO
font fixed 10x14 A3 A4 A5 B4 B5
font fixed SINGLESPACE
font fixed FACTOR
font underlined \/ \/. \/? \/! \/, \/; \/:
font underlined \, \,. \,? \,! \,, \,; \,:
font underlined \\ \~ \% \0 \: \( \| \^ \& \%
font underlined \b \c \C \d \D \e \f \f( \h \l \L \p \r \s \s+ \s- \S \u \v \w
font fixed \(bu \(co \(ct \(de \(dg \(di \(em \(en \(mu \(pl \(rg \(sc \(sq
font fixed \(14 \(12 \(34 \(+-
font fixed # ' ^
font italic "
character \]
comment \#
comment \"
comment \!
@


1.7
log
@
o Added TOC (finally) and a nearly complete set of associated
  control macros

o Added new control macros to endnotes:

  ENDNOTES_STRING_CAPS       - capitalize the endnotes string
  ENDNOTES_NO_COLUMNS        - allows docs in columns and endnotes not
  ENDNOTES_PAGENUM_STYLE     - set page numbering style for endnotes
  ENDNOTES_FIRST_PAGENUMBER  - set first pagenumber for endnotes
  ENDNOTES_ALLOWS_HEADERS    - page headers on endnotes pages off or on
  ENDNOTES_NO_FIRST_PAGENUM  - allows non-printing first page number when page footers are being used instead of headers
  ENDNOTES_SINGLE_SPACE      - for TYPEWRITE, if doc double-spaced
  SUSPEND/RESTORE_PAGINATION - turns page numbering off for endnotes

o Added an ADJUST option to ENDNOTE_LEAD

o Added DOC_TITLE (like TITLE, but sets document-wide title for collated docs)

o Added HDRFTR_CENTER_PAD, to allow adjustments to placement of
  HDRFTR_CENTER_STRING

o Added BLANKPAGE macro, to output blank pages (silently numbered)

o Extensive changes to DEFAULTS, START, COLLATE, HEAD, SUBHEAD and
  PARAHEAD because of new TOC and extended flexibility of ENDNOTES
  page design

o Fixed DOCHEADER OFF (distance), FINIS

o (Re)-fixed handling of post epigraph spacing after #START for
  TYPEWRITE double-spaced.
@
text
@d100 1
a100 1
keyword .SETBOLDER .SETSLANT .SILENT .SLANT_MEANS_SLANT .SMARTQUOTES .SP .SPACE
@


1.6
log
@
o Added James Ramsey's proposed CHAPTER_TITLE macro, along with his
  rewritten START macro and his utility macros to make START easier
  to read.

o Expanded handling of CHAPTER_TITLE to encompass TYPEWRITE, as well as
  plugging it into the docheaders.  Made CHAPTER_TITLE backwardly
  compatible so that pre-1.1.5 docs using CHAPTER_STRING to create a
  chapter title remain unaffected when groffed with 1.1.5.

o Created control macros for CHAPTER_TITLE FAMILY, FONT and SIZE.
  Added defaults for handling of CHAPTER title to DEFAULTS.  Documented
  CHAPTER_TITLE and everything that goes along with it.

o Fixed broken draft and revision in headers/footers.

o Fixed \*[RULE] so that it behaves properly with indents and justified
  copy.

o Fixed/tweaked handling of epigraph spacing in TYPEWRITE.

o Fixed broken spacing of docheaders in TYPEWRITE.

o Fixed an oversight in CLOSING for DOCTYPE LETTER (closing wasn't
  being set flush left)

o Changed .ne in .HEAD when PRINTSTYLE TYPESET from 5 to 4.  With 5,
  heads required at least 2 lines of text underneath or they'd be
  defered to the next page, which created too much whitespace at the
  end of the page.  Heads will now be processed on the same page if the
  head plus at least one line of text underneath fits.  I figure it's
  easier for the user to break to a new page manually if this behaviour
  is unsatisfactory than to massage the page to fix the excess
  whitespace.
@
text
@d7 1
a7 1
keyword .AUTHOR .AUTHOR_FAMILY .AUTHOR_FONT .AUTHOR_SIZE .AUTOLEAD
d11 1
a11 1
keyword .CHAPTER .CHAPTER_TITLE CHAPTER_STRING .CITATION .CITE .CLOSING
d21 1
a21 1
keyword .DOCTYPE .DOCTYPE_FAMILY .DOCTYPE_FONT .DOCTYPE_SIZE
d34 3
d58 1
a58 1
keyword .HDRFTR_CENTER_FONT .HDRFTR_CENTER_SIZE .HDRFTR_FAMILY .HDRFTR_GAP
d88 1
a88 1
keyword .PAGENUM_ON_FIRST_PAGE .PAGENUM_POS .PAGENUM_SIZE .PAGENUM_STYLE
d104 1
d107 10
a116 1
keyword .TN .TO .TQ .TRAP .TYPESIZE
d125 1
a125 1
font fixed OFF QUIT END EXIT DONE NO
@


1.5
log
@
o Changed .IX to .IQ.  The older form still works, but emits a message
  advising the user to update to the newer.  (The macro in om.tmac
  still remains IX; IQ is an alias.)  Docs updated to reflect the
  change.

*Tue Aug 20 2002

o Added new (better) way to handle inline kerning.  \*[BU #] and
  \*[FU #] allow passing an argument to the inline string.  The older
  forms \*[BU#] and \*[FU#] still work, though.

o Changed handling of inline horizontal and vertical movements.
  Horizontal movements are now done with \*[BCK #<unit>] and
  \*[FWD #<unit>]; verticals with \*[UP #<unit>] and \*[DOWN #<unit>].
  The older forms \*[FP#] and \*[BP#] still work (horizontals), as do
  \*[ALD#] and \*[RLD#] (verticals).

*Mon Aug 19 2002

o Fixed ENDNOTES so footnotes output properly when ENDNOTES is called

o Added ENDNOTES_HDRFTR_CENTER so that default no-print of header
  center string on endnotes page(s) when DOCTYPE is CHAPTER can
  be disabled (i.e. header center will be printed).
@
text
@d10 2
a11 2
keyword .CAPS .CENTER .CENTRE .CHAPTER
keyword .CHAPTER_STRING .CITATION .CITE .CLOSING
@


1.4
log
@
o Added capability of endnotes and pertinent control macros to om.tmac.

o Added document entries pertaining to endnote macros.

o Incorporated endnote macros into elvis_syntax.

o Small doc fixes.

o Tidied up indenting of om.tmac.

o Fixed handling of underlining of italics in PRINTSTYLE TYPEWRITE
  (there was a problem with footnotes getting underlined when they
  shouldn't have been).

o Removed ENDNOTES from TODO

o Fixed the character translations for UNDERLINE so they work properly
  with digraphs.
@
text
@d9 1
a9 1
keyword .B_MARGIN .BR .BREAK_QUOTE
d33 1
a33 1
keyword .ENDNOTE_PARA_INDENT .ENDNOTE_PARA_SPACE
d75 2
a76 2
keyword .IB .IBX .IH .IL .ILX
keyword .IR .IRX .IT .IX
@


1.3
log
@
o Macro .PS renamed to .PT_SIZE.  Alias .TS removed.

o .tr bits in .CAPS rewritten in the form .tr \['E].

o General cleanup of docs to reflect changes.

o Small changes/additions to `elvis_syntax'.
@
text
@d25 9
@


1.2
log
@
*Wed Jun  5 2002

o Makefile.sub (TFLAG): Add `$(top_builddir)/tmac'.

*Tue Jun  4 2002

o Makefile.sub (groff_bin_dirs): Fix typo (forgotten `src' element).

*Mon Jun  3 2002

o Makefile.sub (uninstall_sub): Don't use `momdocdir' but `htmldocdir'.
  Add missing backslash.

*Sat Jun  1 2002

o Makefile.in (prepare_make_examples): Test for `penguin.ps', not
  `examples/penguin.ps'.

*Wed May 29 2002

o Rewrote portions of PAGENUM_STYLE and COPYSTYLE so that PAGENUM_STYLE
  behaves as advertised.

*Fri May 24 2002

o /Makefile.sub (momdocdir): Removed.
  (HTMLDOCFILES): Prepend `momdoc/'.
  (EXTRAEXAMPLEFILES): Removed.  Added entries to...
  (EXAMPLEFILES): This.
  (.SUFFIXES, .mom.ps): New.
  (prepare_make_examples): Updated.
  (examples/*.ps): Removed; .mom.ps will handle this.
  (install_data): Updated.

*Thu May 23 2002

o Applied two small bug fixes to om.tmac (patches 1.1.1a and 1.1.1b).

o mom is now part of groff.

o Some renaming to avoid problems with 8+3 filesystems:

    examples/docprocessing_typeset.mom   -> examples/typeset.mom
    examples/docprocessing_typewrite.mom -> examples/typewrite.mom
    examples/typesetting_macros.mom      -> examples/macros.mom
    examples/penguin_small2_bw.ps        -> examples/penguin.ps

o Removed `INSTALL' and `README' since groff takes care of installation
  now.

o Added Makefile.sub.

o Added mom.tmac (which simply calls om.tmac).

o Added groff_mom.man for orthogonality; it simply points to the HTML
  documentation.

*Thu May 16 2002

o Added macro DRAFT_WITH_PAGENUMBER so user can have draft/revision
  info attached to the pagenumber in COPYSTYLE DRAFT, instead of having
  it HEADER center.  Always having it HEADER center was creating problems
  with long doc titles, esp. with PRINTSTYLE TYPEWRITE (which is when
  COPYSTYLE DRAFT is most likely to be used).  Now user has the choice,
  in these circumstances, either to reduce HEADER_SIZE, or to displace
  the draft/revision info.  Also rewrote portions of COPYSTYLE so that
  if no revision number is given in the reference macros, "Rev. #"
  doesn't appear when COPYSTYLE DRAFT.

*Fri May 10 2002

o Added capability of user-defined, single string recto/verso
  headers/footers.

o Added new entries to docs about the above.  Made some additional
  small changes to toc.html, rectoverso.html, and headfootpage.html
  to supplement the new entries.

o Small fix to handling of footer separator rule -- was 1 point too low
  owing to fuzziness of #CAP_HEIGHT as returned by SIZESPECS.

o Added some more useful stuff to elvis_syntax.

*Sun May 05 2002

o Fix to DEFAULTS so that L_MARGIN and R_MARGIN are reprocessed if
  DOCTYPE LETTER.  R_MARGIN, as set by DOCTYPE LETTER had no preceding
  PAGEWIDTH or PAPER from which to get #PAGE_WIDTH for figuring out
  line length.

o Additional fix to DEFAULTS in handling DOCTYPE LETTER so that if user
  sets line length prior to START, no reprocessing of R_MARGIN occurs.
  This necessitated adding a new number register: #USER_SET_L_LENGTH

*Sat May 04 23:48:05 EDT 2002

o Added .cflags 4 /\(en -- was driving me nuts that lines wouldn't
  break after these characters; I'm assuming others feel the same way

* Fri May 03 2002

o Made some small fixes to space handling around quotes, mostly to do
  with quotes immediately after START and quotes after (sub)heads.

* Wed May 01 2002

o Fixed a small bug that was causing the first .PP after START to begin
  at the top margin of the page regardless of any type that preceded
  .PP when docheaders were off.

o Fixed HEADER so that when HEADERS are off the first line of type on
  pages after the first falls properly at the top margin
@
text
@d73 1
a73 1
keyword .NEWPAGE .NEW_PAGE .NUMBER_HEADS .NUMBER_PARAHEADS .NUMBER_SUBHEADS
d80 1
a80 1
keyword .PP .PP_FONT .PP_FT .PS .PSPIC
d94 1
a94 1
keyword .TN .TO .TQ .TRAP .TS .TYPESIZE
@


1.1
log
@Initial revision
@
text
@d22 1
a22 1
keyword .DRAFT .DRAFT_STRING
d37 1
a37 1
keyword .FOOTER_RIGHT .FOOTER_RIGHT_CAPS .FOOTER_RIGHT_FAM .FOOTER_RIGHT_FAMILY
d39 1
a39 1
keyword .FOOTER_RULE .FOOTER_RULE_GAP .FOOTERS .FOOTER_SIZE
d61 2
a62 2
keyword .HEADER_RIGHT .HEADER_RIGHT_CAPS .HEADER_RIGHT_FAM .HEADER_RIGHT_FAMILY
keyword .HEADER_RIGHT_FONT .HEADER_RIGHT_FT .HEADER_RIGHT_PS .HEADER_RIGHT_SIZE
d102 2
a103 2
font fixed LEFT RIGHT CENTER CENTRE JUSTIFY TOP BOTTOM
font fixed OFF QUIT END EXIT DONE
a104 1
font fixed BI
d116 2
a117 1
font fixed # '
@


1.1.1.1
log
@Import of mom
@
text
@@
