From 68d79799edfbdd3643c02e4c5cda2fd91ab8814b Mon Sep 17 00:00:00 2001 From: PTPi Date: Mon, 15 Jun 2009 03:01:23 +0000 Subject: o Doc fixes and updates o DROPCAP handling changed; uses local vertical motions now instead of .mk/.rt. o Added macro SUPERSCRIPT_RAISE_AMOUNT. o Added registers and strings to keep track of .RW and .EW and the amounts passed to them. o Various bug fixes (see BUGS) --- contrib/mom/BUGS | 17 ++++ contrib/mom/ChangeLog | 26 ++++-- contrib/mom/momdoc/cover.html | 4 +- contrib/mom/momdoc/definitions.html | 3 +- contrib/mom/momdoc/docelement.html | 57 ++++++++++++- contrib/mom/momdoc/goodies.html | 79 ++++++++++++++++- contrib/mom/momdoc/graphical.html | 8 +- contrib/mom/momdoc/inlines.html | 2 +- contrib/mom/momdoc/macrolist.html | 128 +++++++++++++++------------- contrib/mom/momdoc/rectoverso.html | 17 ++++ contrib/mom/momdoc/reserved.html | 14 +++ contrib/mom/momdoc/toc.html | 4 +- contrib/mom/momdoc/typemacdoc.html | 9 +- contrib/mom/momdoc/typesetting.html | 6 +- contrib/mom/om.tmac | 164 +++++++++++++++++++++++++----------- 15 files changed, 403 insertions(+), 135 deletions(-) (limited to 'contrib') diff --git a/contrib/mom/BUGS b/contrib/mom/BUGS index f1801667..8ac35e2a 100644 --- a/contrib/mom/BUGS +++ b/contrib/mom/BUGS @@ -24,6 +24,23 @@ Also, please--no html email. That, too, gets nuked. Version 1.5-c ============= +COVER_COUNTS_PAGES incrementing pagenum by 1 too many. +---Fixed--- + +HEADER/FOOTER_RECTO strings vanishing when the default CAPS option +is turned off. +---Fixed--- + +TQ not removing QUAD arg from cleared tabs. +---Fixed--- + +DROPCAP_OFF trap remaining in effect after dropcap has been +processed. +---Fixed--- + +PARAHEAD_SIZE 0 resulting in 0-sized type! +---Fixed--- + When DOC_LEAD is called to change document leading in collated docs, document leading steadily increases by small amounts at each subsequent call to COLLATE. diff --git a/contrib/mom/ChangeLog b/contrib/mom/ChangeLog index d33edce9..309a8ed1 100644 --- a/contrib/mom/ChangeLog +++ b/contrib/mom/ChangeLog @@ -1,3 +1,23 @@ +* Sun Jun 14 2009 + +o DROPCAP handling changed; uses local vertical motions now instead + of .mk/.rt. + +o Added macro SUPERSCRIPT_RAISE_AMOUNT + +o Added registers and strings to keep track of .RW and .EW and the + amounts passed to them. + +* Sat May 2 2009 + +o Fixed error in docs: COVERS_COUNT_PAGES changed to + COVER_COUNTS_PAGES. Ditto DOC_COVERS_COUNT_PAGES. + +* Fri May 1 2009 + +o Fixed PARAHEAD size so it properly adds the value of + \*[$PH_SIZE_CHANGE] to \n[#DOC_LEAD]. + * Sat Jan 17 2009 o Changed FAMILY, FT and PT_SIZE requests in DO_COVER to groff @@ -19,8 +39,6 @@ o Added possibility of quadding docheader left or right, as well as o Default definition of $QUOTE0 and $QUOTE1 in om.tmac changed from \[dq] to \[lq] and \[rq], respectively. -==================================================================== -======= * Sun Jan 4 2009 o Makefile.sub (CLEANADD): Add om.tmac-s. @@ -32,8 +50,6 @@ o Doc fixes in toc.html o Control of null pagenumbering of covers passed to \n%; formerly handled by \n[#PAGE_NUM_ADJ] -==================================================================== - * Tue Dec 23 2008 o Added a CAPS option to HDRFTR_RECTO and HDRFTR_VERSO to allow @@ -81,8 +97,6 @@ o Removed spurious 'sp |\\n[MN-curr-pos]u from MNbottom-right, prior o Added missing spaced paras bit in blockquotes. -==================================================================== - * Tue Jan 22 2008 o Fixed indent handling of refer items in endnotes. diff --git a/contrib/mom/momdoc/cover.html b/contrib/mom/momdoc/cover.html index 8abeee37..3182d084 100644 --- a/contrib/mom/momdoc/cover.html +++ b/contrib/mom/momdoc/cover.html @@ -637,8 +637,8 @@ same way as

-COVERS_COUNT_PAGES and -DOC_COVERS_COUNT_PAGES are toggle macros, hence +COVER_COUNTS_PAGES and +DOC_COVER_COUNTS_PAGES are toggle macros, hence invoking them by themselves means that mom will consider cover and doc cover pages in the pagination scheme; invoking them with any argument (OFF, NO, X, diff --git a/contrib/mom/momdoc/definitions.html b/contrib/mom/momdoc/definitions.html index 042af917..ef762803 100644 --- a/contrib/mom/momdoc/definitions.html +++ b/contrib/mom/momdoc/definitions.html @@ -736,7 +736,8 @@ or concept you're not familiar with. c (centimetres) m (ems) n (ens) - v (the current leading (line space)) + u (machine units) + v (the current leading [line space])

diff --git a/contrib/mom/momdoc/docelement.html b/contrib/mom/momdoc/docelement.html index 8d308a66..7bdfefcc 100644 --- a/contrib/mom/momdoc/docelement.html +++ b/contrib/mom/momdoc/docelement.html @@ -1482,8 +1482,9 @@ to introduce paragraphs below heads or subheads. If you wish, By default, paraheads are joined to the body of a paragraph, slightly indented (provided the paragraph is not a "first" paragraph as defined in -Indenting initial paragraphs). -In +Indenting initial paragraphs) +and separated from the body of the paragraph by a small amount of +horizontal space. In PRINTSTYLE TYPESET, they are set bold italic, slightly larger than paragraph text. In PRINTSTYLE TYPEWRITE, @@ -1495,6 +1496,20 @@ If these defaults don't suit you, you can change them with the parahead control macros.

+

+Tip: If you really need a heading level below +subhead (a sub-subhead) that isn't joined to the body of a +paragraph, you can trick PARAHEAD into giving you +one by creating a paragraph that contains only a parahead, like this: + +

+    .PP
+    .PARAHEAD "My Sub-Subhead"
+    .PP
+    <text>
+
+

+
@@ -1532,6 +1547,7 @@ there are macros to manage parahead numbering.
  1. Family/font/size/color
  2. Indent
  3. +
  4. Horizontal space
  5. Numbering
  6. Reset parahead numbering
@@ -1596,7 +1612,40 @@ are not indented unless you turn on.

-

3. Number paraheads — NUMBER_PARAHEADS

+

3. Horizontal space

+ +

+The default amount of horizontal space between a parahead and the +text that begins the body of a paragraph is 2/3 of an +em +for +PRINTSTYLE TYPESET) +and 1 +figure space +for +PRINTSTYLE TYPEWRITE). +

+ +

+The default for TYPEWRITE is fixed, but if the +default for TYPESET doesn't suit you, you can +change it with the macro, PARAHEAD_SPACE. +

+

+PARAHEAD_SPACE takes just one argument: the amount +of space you want, with a +unit of measure +appended. Thus, if you want the horizontal space between a parahead +and the start of paragraph text to be 6 +points, +you'd do: + +

+    .PARAHEAD_SPACE 6p
+
+

+ +

4. Number paraheads — NUMBER_PARAHEADS

If you'd like your paraheads numbered, simply invoke @@ -1627,7 +1676,7 @@ if you'd like chapter numbers prepended to the paragraph head numbers.

-

4. Reset paragraph head numbering — RESET_PARAHEAD_NUMBER

+

5. Reset paragraph head numbering — RESET_PARAHEAD_NUMBER

Should you wish to reset the parahead number to "1", invoke diff --git a/contrib/mom/momdoc/goodies.html b/contrib/mom/momdoc/goodies.html index fddce21c..e809dde2 100644 --- a/contrib/mom/momdoc/goodies.html +++ b/contrib/mom/momdoc/goodies.html @@ -49,6 +49,7 @@ nearly indispensable) routines to simplify typesetting.

  • CAPS (convert to upper case)
  • STRING (user-definable strings)
  • ESC_CHAR (change to escape character to something other than a backslash)
  • +
  • SIZESPECS (get cap-height, x-height and descender depth of a font)
  • Underscore/underline