diff options
author | PTPi <PTPi> | 2012-09-06 21:14:42 +0000 |
---|---|---|
committer | PTPi <PTPi> | 2012-09-06 21:14:42 +0000 |
commit | ee0f7ca007ad2d456d46027bed5a7bf16e74b527 (patch) | |
tree | f57b7b391db25679505f504b9ad15d903a910bcc /contrib | |
parent | 97485ec34521bfb70b9cb4fd8fa229f035189a31 (diff) | |
download | groff-ee0f7ca007ad2d456d46027bed5a7bf16e74b527.tar.gz |
Fixes missing period after page number(s) in some reference types
generated with refer.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/mom/BUGS | 4 | ||||
-rw-r--r-- | contrib/mom/momdoc/rectoverso.html | 29 | ||||
-rw-r--r-- | contrib/mom/momdoc/refer.html | 2 | ||||
-rw-r--r-- | contrib/mom/momdoc/tables-of-contents.html | 32 | ||||
-rw-r--r-- | contrib/mom/om.tmac | 4 |
5 files changed, 59 insertions, 12 deletions
diff --git a/contrib/mom/BUGS b/contrib/mom/BUGS index 673e83dd..8a83398a 100644 --- a/contrib/mom/BUGS +++ b/contrib/mom/BUGS @@ -25,6 +25,10 @@ Also, please--no html email. That, too, gets nuked. Version 2.0 =========== +Terminal period after page number(s) in refer items not always +printing. +---Fixed--- + ==================================================================== Version 6-a diff --git a/contrib/mom/momdoc/rectoverso.html b/contrib/mom/momdoc/rectoverso.html index b4ccde5d..e5814e91 100644 --- a/contrib/mom/momdoc/rectoverso.html +++ b/contrib/mom/momdoc/rectoverso.html @@ -281,17 +281,30 @@ that require their own titles, looks like this: <div class="box-tip"> <p class="tip"> <span class="tip">Tip:</span> -If the last -<a href="definitions.html#outputline">output line</a> -of a document before COLLATE falls too close to the bottom margin -for running text, mom may output a blank page with only a header -or footer between collated documents. In order to avoid this, I -recommend always preceding COLLATE with -<kbd><a href="typesetting.html#el">.EL</a></kbd>, -like this +If the last line of text before <kbd>.COLLATE</kbd> +falls too close to the bottom margin, or if the line is followed +by a macro likely to cause a linebreak (eg <kbd>.LIST OFF</kbd> or +<kbd>.IQ</kbd>), mom may output a superfluous blank page before +the start of the following document. +</p> + +<p class="tip-bottom"> +In order to avoid this, insert +<a href="docprocessing.html#EL"><kbd>.EL</kbd></a> +after the last line of text, before <kbd>.COLLATE</kbd> and/or any +concluding macros. For example, +<br/> +<span class="pre-in-pp"> + some concluding text. + .EL + .COLLATE +</span> +or <br/> <span class="pre-in-pp"> + some concluding text. .EL + .LIST OFF .COLLATE </span> </p> diff --git a/contrib/mom/momdoc/refer.html b/contrib/mom/momdoc/refer.html index 2eff0ea7..da57b472 100644 --- a/contrib/mom/momdoc/refer.html +++ b/contrib/mom/momdoc/refer.html @@ -253,7 +253,7 @@ means the full path including the filename, eg <p style="margin-top: .5em;"> If you want a bibliography, place this block at the <i>bottom</i> of -your mom file, prior to invoking +your mom file, either prior to or immediately after invoking <a href="#bibliography">BIBLIOGRAPHY</a>. </p> diff --git a/contrib/mom/momdoc/tables-of-contents.html b/contrib/mom/momdoc/tables-of-contents.html index 62363005..3248e705 100644 --- a/contrib/mom/momdoc/tables-of-contents.html +++ b/contrib/mom/momdoc/tables-of-contents.html @@ -285,6 +285,38 @@ If you want a table of contents, just place <kbd>.TOC</kbd> at the very end of your document. Mom takes care of the rest. </p> +<div class="box-tip"> +<p class="tip"> +<span class="tip">Tip:</span> +If the last line of text in a document, before <kbd>.TOC</kbd>, +falls too close to the bottom margin, or if the line is followed +by a macro likely to cause a linebreak (eg <kbd>.LIST OFF</kbd> or +<kbd>.IQ</kbd>), mom may output a superfluous blank page before the +Table of Contents. +</p> + +<p class="tip-bottom"> +In order to avoid this, insert +<a href="docprocessing.html#EL"><kbd>.EL</kbd></a> +after the last line of text, before <kbd>.TOC</kbd> and/or any +concluding macros. For example, +<br/> +<span class="pre-in-pp"> + some concluding text. + .EL + .TOC +</span> +or +<br/> +<span class="pre-in-pp"> + some concluding text. + .EL + .LIST OFF + .TOC +</span> +</p> +</div> + <div class="rule-short"><hr/></div> <h2 id="toc-control-top" class="macro-group">Control macros for tables of contents</h2> diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac index 9a4c0099..4b2328a6 100644 --- a/contrib/mom/om.tmac +++ b/contrib/mom/om.tmac @@ -11764,8 +11764,6 @@ $DOC_COVER_TITLE_\\n+[#DOC_COVER_TITLE_NUM] \\$\\n[#DOC_COVER_TITLE_NUM] . FAMILY \\*[$PAGE_NUM_FAM] . FT \\*[$PAGE_NUM_FT] . PT_SIZE \\n[#DOC_PT_SIZE]u\\*[$PAGE_NUM_SIZE_CHANGE] -\#. if \\n[#TOC] .ab \\n[.ps] -\#. if \\n[#TOC] .tm \\n[#TOC_PS]\\*[$TOC_PN_SIZE_CHANGE] . if \\n[#PRINT_STYLE]=1 .TYPEWRITER . if \\n[#PAGE_NUM_V_POS]=1 .vs 0 . if o \{\ @@ -17417,7 +17415,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]' .ie '\\*[$REF_STYLE]'NOTE' \{\ . ie \\n[ref*type]=1 .ref*field P : "" . . el .ref*field P "" "\|" -. nr ref*suppress-period 1 +. if \\n[ref*type]=1 .nr ref*suppress-period 1 .\} .el \{\ . ie \\n[ref*type]=1 .ref*field P \|: |