diff options
author | PTPi <PTPi> | 2006-05-09 21:41:36 +0000 |
---|---|---|
committer | PTPi <PTPi> | 2006-05-09 21:41:36 +0000 |
commit | 39582f03d40dd3871d09ba268e37708946d04512 (patch) | |
tree | 6a058fcae6afefa8c4be0531566501cac0447122 /contrib/mom/momdoc/docprocessing.html | |
parent | fb3c9cd17da07c96b9abd759787e58d77a342c2f (diff) | |
download | groff-39582f03d40dd3871d09ba268e37708946d04512.tar.gz |
o Corrected doc entry that stated TOC control macros can be entered
anywhere in a file prior to invoking TOC (TOC control macros must
come before START).
o Removed spurious .nop from .ie \\n[#PRE_COLLATE]=1 clause in
FAMILY (fixes bug that was causing page numbers on pages before
COLLATE or TOC to be printed too low).
o Added a test at top of COLLATE to set register #NO_BREAK to 1
if the distance to the next trap is less than one linespace; used
in NEWPAGE to determine whether to do a 'br or .br. (fixes BUG
that was causing COLLATE, NEWPAGE, and TOC to spit out a blank
page when the last line of text before them happened to fall on
the last legal baseline of the page).
o Changed pad marker used to format TOC entries to permit use of
the pound/number sign (#) in head elements.
o New macro, PREFIX_CHAPTER_NUMBER, to allow users to prepend
chapter numbers to the numbering scheme used in head element
numbering.
o Added missing periods at the ends of head, subhead, parahead
numbers.
o CHAPTER, with a numeric argument, can now be used to identify any
document as a "chapter" for the purposes of prefixing the
argument to CHAPTER to the numbering scheme of head elements.
o Fixed alignment of TOC entries.
o Removed .rr #DOC_HEADER and replaced with
.if \\n[#DOC_HEADER]=1 \{ .nr #DOC_HEADER 2 \}
near the end of START. I.e., #DOC_HEADER becomes "2" if
docheaders were on in the previous document. COLLATE tests for 2
in order to reset #DOC_HEADER to 1 for use in the user-invoked START
that comes after a COLLATE.
o Added register, #CHAPTER_CALLED, to CHAPTER; tested for in
PREFIX_CHAPTER_NUMBER to determine whether the argument to CHAPTER
can be used to establish a chapter number for chapter number
prefixes in head element numbering.
o Fixed bug that was causing shifted lists, when returned to, to
revert to the left margin instead of observing the correct
indent+shift for the list.
o Added a check in LIST so that if user invokes LIST with RETURN,
mom doesn't get confused by the initial `R' (which she was using
to check if the arg to LIST was ROMAN or roman).
o Replaced an incorrectly copied code block in SUBHEAD that was
preventing SUBHEAD from processing subheads properly when
PARA_SPACE was on.
o trivial corrections to docs
Diffstat (limited to 'contrib/mom/momdoc/docprocessing.html')
-rw-r--r-- | contrib/mom/momdoc/docprocessing.html | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/contrib/mom/momdoc/docprocessing.html b/contrib/mom/momdoc/docprocessing.html index 16a5d543..21e97b30 100644 --- a/contrib/mom/momdoc/docprocessing.html +++ b/contrib/mom/momdoc/docprocessing.html @@ -819,8 +819,14 @@ Please note that if your argument to <strong>CHAPTER</strong> runs to more than one word, you must enclose the argument in double-quotes. <p> -If you're not using <strong>DOCTYPE CHAPTER</strong>, the macro serves -no purpose and <strong>mom</strong> ignores it. +If you're not using <strong>DOCTYPE CHAPTER</strong>, the macro can +be used to identify any document as a chapter <em>for the purpose of +prepending a chapter number to numbered head elements</em>, provided +you pass it a +<a href="definitions.html#TERMS_NUMERICARGUMENT">numeric argument</a>. +See +<a href="docelement.html#PREFIX_CHAPTER_NUMBER">PREFIX_CHAPTER_NUMBER</a>. + <p> <a name="CHAPTER_STRING"><strong>CHAPTER_STRING</strong></a> <p> @@ -1457,7 +1463,8 @@ and revision information in this circumstance, use <li>no draft or revision number appears in the page headers </ol> <p> -<strong>NOTE:</strong> The centre part of page headers can get crowded, +<a name="COPYSTYLE_NOTE"><strong>NOTE:</strong></a> +The centre part of page headers can get crowded, especially with <a href="docprocessing.html#DOCTYPE">DOCTYPE CHAPTER</a> and |