diff options
author | wl <wl> | 2005-01-24 08:23:21 +0000 |
---|---|---|
committer | wl <wl> | 2005-01-24 08:23:21 +0000 |
commit | 73e3d1d1b6fde5df4829a2642e5c51bbd7794b23 (patch) | |
tree | e8faad3c84e0d970723e322e60291daab369b882 /contrib | |
parent | 27d342516bfee3b7332bab887a8cbc91d031cce7 (diff) | |
download | groff-73e3d1d1b6fde5df4829a2642e5c51bbd7794b23.tar.gz |
o Added \*[TB+] and \*[B] to give inline functionality of .TN and
.EL, respectively.
o Added SECTION and SECTION_CHAR as aliases of LINEBREAK and
LINEBREAK_CHAR
o Added a NOBREAK option to PAD, so when PAD is called, it's possible
to instruct mom not to advance on the page.
*Wed Jan 19 2005
o Reworked handling of ALD/SPACE/SP and LS when they're used at
the tops of pages during pure (i.e. non-docprocessing)
typesetting. First lines were still wandering. Should also be
more intuitive: ALD after LS advances the specified distance from
the top baseline; LS after ALD doesn't change the position of the
first baseline (i.e. merely sets the lead for the text that
follows).
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/mom/BUGS | 15 | ||||
-rw-r--r-- | contrib/mom/ChangeLog | 33 | ||||
-rw-r--r-- | contrib/mom/NEWS | 7 | ||||
-rw-r--r-- | contrib/mom/momdoc/docelement.html | 5 | ||||
-rw-r--r-- | contrib/mom/momdoc/docprocessing.html | 2 | ||||
-rw-r--r-- | contrib/mom/momdoc/goodies.html | 20 | ||||
-rw-r--r-- | contrib/mom/momdoc/inlines.html | 86 | ||||
-rw-r--r-- | contrib/mom/momdoc/macrolist.html | 405 | ||||
-rw-r--r-- | contrib/mom/momdoc/reserved.html | 28 | ||||
-rw-r--r-- | contrib/mom/momdoc/toc.html | 4 | ||||
-rw-r--r-- | contrib/mom/momdoc/typemacdoc.html | 66 | ||||
-rw-r--r-- | contrib/mom/momdoc/typesetting.html | 73 | ||||
-rw-r--r-- | contrib/mom/om.tmac | 197 |
13 files changed, 553 insertions, 388 deletions
diff --git a/contrib/mom/BUGS b/contrib/mom/BUGS index d512943b..28fcc721 100644 --- a/contrib/mom/BUGS +++ b/contrib/mom/BUGS @@ -15,6 +15,21 @@ Also, please--no html email. That, too, gets nuked. ======================================================================== +Version 1.2-e +============= + +Some string definitions in om.tmac had superfluous spaces after +them (e.g. $COVERTITLE). +---Fixed--- + +Spacing under quotes not correct when paragraph spacing is turned +on. +---Fixed--- + + +First word of last line before footnotes is getting chopped. +---Fixed--- + Version 1.2-d ============= diff --git a/contrib/mom/ChangeLog b/contrib/mom/ChangeLog index ff4d1765..ab3b6df1 100644 --- a/contrib/mom/ChangeLog +++ b/contrib/mom/ChangeLog @@ -1,3 +1,36 @@ +*Thu Jan 20 2005 + +o Added \*[TB+] and \*[B] to give inline functionality of .TN and + .EL, respectively. + +o Added SECTION and SECTION_CHAR as aliases of LINEBREAK and + LINEBREAK_CHAR + +o Added a NOBREAK option to PAD, so when PAD is called, it's possible + to instruct mom not to advance on the page. + +*Wed Jan 19 2005 + +o Reworked handling of ALD/SPACE/SP and LS when they're used at + the tops of pages during pure (i.e. non-docprocessing) + typesetting. First lines were still wandering. Should also be + more intuitive: ALD after LS advances the specified distance from + the top baseline; LS after ALD doesn't change the position of the + first baseline (i.e. merely sets the lead for the text that + follows). + + +*Tue Dec 14 2004 + +o Fixed a small problem with spacing under quotes when paragraph + spacing is turned on. + +*Fri Dec 10 2004 + +o Put all calls in VFP_CHECK inside their own environment. Without + the .ev call, the trap invoked VFP_CHECK was chopping off the + first word of the last line before footnotes. + *Dec 6 2004 o Small fixes to elvis_syntax.new (dealing with strings, \{\ and \} diff --git a/contrib/mom/NEWS b/contrib/mom/NEWS index 8f36b4f9..a41e9e8a 100644 --- a/contrib/mom/NEWS +++ b/contrib/mom/NEWS @@ -1,3 +1,10 @@ +Release 1.2-f +------------- + +Added ADD_SPACE, to permit users to insert space at the top of +running text (after the first page) when using the docprocessing +macros. + Releases 1.2-a and 1.2-b ------------------------ diff --git a/contrib/mom/momdoc/docelement.html b/contrib/mom/momdoc/docelement.html index e2fffc74..f006657d 100644 --- a/contrib/mom/momdoc/docelement.html +++ b/contrib/mom/momdoc/docelement.html @@ -1227,6 +1227,8 @@ with the linebreak character <a name="LINEBREAK"> Macro: <strong>LINEBREAK</strong> </a> +<br> +Alias: <strong>SECTION</strong> <p> <strong>LINEBREAK</strong> takes no arguments. Simply invoke it @@ -1242,9 +1244,10 @@ macro. Macro: <strong>LINEBREAK_CHAR</strong> <var>[ <character> ] [ <iterations> [ <vertical adjustment> ] ]</var> </a> <br> +Alias: <strong>SECTION_CHAR</strong> +<br> <em>*The third optional argument requires a <a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a></em>. - <p> <strong>LINEBREAK_CHAR</strong> determines what <strong>mom</strong> prints when <strong>LINEBREAK</strong> is invoked. It takes 3 diff --git a/contrib/mom/momdoc/docprocessing.html b/contrib/mom/momdoc/docprocessing.html index 85ae99f8..489d894a 100644 --- a/contrib/mom/momdoc/docprocessing.html +++ b/contrib/mom/momdoc/docprocessing.html @@ -125,7 +125,7 @@ <li><a href="docelement.html#PARAHEAD">PARAHEAD</a> <li><a href="docelement.html#PARAHEAD_CONTROL">Parahead control</a> </ul> - <li><a href="docelement.html#LINEBREAK_INTRO"><strong>Linebreaks (author linebreaks)</strong></a> + <li><a href="docelement.html#LINEBREAK_INTRO"><strong>Linebreaks (author linebreaks, also called section breaks)</strong></a> <ul> <li><a href="docelement.html#LINEBREAK">LINEBREAK</a> <li><a href="docelement.html#LINEBREAK_CONTROL">Linebreak control</a> diff --git a/contrib/mom/momdoc/goodies.html b/contrib/mom/momdoc/goodies.html index fde67a42..af6d2002 100644 --- a/contrib/mom/momdoc/goodies.html +++ b/contrib/mom/momdoc/goodies.html @@ -632,11 +632,13 @@ produces the same result as <hr width="66%" align="left"> <a name="PAD"><h3><u>Insert space into lines</u></h3></a> <br> -Macro: <strong>PAD</strong> <var>"<string with pad markers inserted>"</var> +Macro: <strong>PAD</strong> <var>"<string with pad markers inserted>" [NOBREAK]</var> <p> With <strong>PAD</strong>, you can insert unspecified amounts of -whitespace into a line. +whitespace into a line. The optional <strong>NOBREAK</strong> +argument tells <strong>mom</strong> not to advance on the page +after the <strong>PAD</strong> macro has been invoked. <p> <strong>PAD</strong> calculates the difference between the length of text on the line and the distance remaining to its end, then inserts @@ -688,21 +690,9 @@ groff's line drawing function, <a href="inlines.html#INLINE_LINEDRAWING_GROFF">\l</a> could be used.) <p> -Please note that the use of <kbd>.EL</kbd> after <kbd>.PAD</kbd> -in this example assumes that either -<a href="typesetting.html#QUAD">QUAD L | R | C | J</a> -or -<a href="typesetting.html#JUSTIFY">JUSTIFY</a> -are in effect. <strong>EL</strong> does not work after -<strong>PAD</strong> in -<a href="definitions.html#TERMS_NOFILL">nofill</a> -modes (i.e. -<a href="typesetting.html#LRC">.LEFT, .RIGHT or .CENTER</a>). -<p> <pre> .LL 30P - .PAD "Date \*[ST1]#\*[ST1X] Signature \*[ST2]###\*[ST2X]" - .EL + .PAD "Date \*[ST1]#\*[ST1X] Signature \*[ST2]###\*[ST2X]" NOBREAK .ST 1 J .ST 2 J .TAB 1 diff --git a/contrib/mom/momdoc/inlines.html b/contrib/mom/momdoc/inlines.html index 67f6552f..7f4ded52 100644 --- a/contrib/mom/momdoc/inlines.html +++ b/contrib/mom/momdoc/inlines.html @@ -89,6 +89,8 @@ that take <li><a href="#INLINE_KERNING_MOM">Pairwise kerning</a> <li><a href="#INLINE_HORIZONTAL_MOM">Horizontal movement</a> <li><a href="#INLINE_VERTICAL_MOM">Vertical movement</a> + <li><a href="#B">Terminate a line without advancing on the page</a> + <li><a href="#TB+">Call the next sequential tab without advancing on the page</a> <li><a href="#INLINE_RULE_MOM">Full measure rules</a> </ul> <li><a name="INLINES_GROFF"><strong>Groff inline escapes</strong></a> @@ -389,6 +391,70 @@ Both <strong>\*[ALD]</strong> and <strong>\*[RLD]</strong> work in points, hence you mustn't use a unit of measure. <p> +<!---INLINE_B_MOM---> + +<hr width="66%" align="left"> +<a name="B"><h3><u>Terminate a line without advancing on the page</u></h3></a> + +<p> +Sometimes, you want <strong>mom</strong> to break a line but not +advance on the page. See +<a href="typesetting.html#EL_EXAMPLE">here</a> +for an example of when you might want to do this. +<p> +In versions of <strong>mom</strong> prior to 1.2-f, this was +accomplished through the use of +<a href="typesetting.html#EL">EL</a>. +As of 1.2-f, you can, if you prefer, accomplish the same thing +by using the inline escape, <strong>\*[B]</strong>. Simply +attach the escape to the end of any line. Using the example +given in the document entry for <strong>EL</strong>, you'd use +<strong>\*[B}</strong> like this: + +<p> +<pre> + .LEFT + .LS 12.5 + A line of text.\*[B] + .ALD 24p + The next line of text. +</pre> + +<strong>\*[B]</strong> works reliably regardless of the current +<a href="definitions.html#TERMS_FILLED">fill mode</a>. +<p> + +<!---INLINE_TB+_MOM---> + +<hr width="66%" align="left"> +<a name="TB+"><h3><u>Call the next sequential tab without advancing on the page</u></h3></a> + +<p> +Sometimes, you want <strong>mom</strong> to move to the next tab in +sequence (e.g. from TAB 1 to TAB 2, or TAB 8 to TAB 9) without +<strong>mom</strong> advancing on the page. (See the example in +<a href="typesetting.html#NOTE_TN">here</a> +if you're not clear how <strong>mom</strong> manages tabs and +linebreaks.) +<p> +In versions of <strong>mom</strong> prior to 1.2-f, this was +accomplished through the use of +<a href="typesetting.html#TN">TN</a>. +As of 1.2-f, you can, if you prefer, accomplish the same thing +by using the inline escape, <strong>\*[TB+]</strong>. Simply +attach the escape to the end of any line in a tab, like this: + +<p> +<pre> + .TAB 1 + Some text\*[TB+] \" This line is in tab 1 + Some more text \" This line is in tab 2, on the same baseline as tab 1 +</pre> + +<strong>\*[TB+]</strong> works reliably regardless of the current +<a href="definitions.html#TERMS_FILLED">fill mode</a>. +<p> + <!---INLINE_RULE_MOM---> <hr width="66%" align="left"> @@ -418,7 +484,8 @@ or <a href="typesetting.html#JUSTIFY">JUSTIFY</a>), it requires a <a href="typesetting.html#BR">.BR</a> -on the line immediately before it; in +on the line immediately before it; otherwise, the rule will be drawn +on the same baseline occupied by any type preceding it. In <a href="definitions.html#TERMS_NOFILL">nofill modes</a> (i.e <a href="typesetting.html#LRC">LEFT</a>, @@ -665,14 +732,15 @@ a number of other line-drawing escapes, but frankly, using them for typographically precise drawing is a bit like hammering in a nail with a screwdriver -- doable, but not recommended. <p> -Groff comes with a number of "preprocessors" designed to ease -creating rules, boxes, splines, and so on (tbl, pic, and friends), but -I tend not to use them. A firm believer in the "right tool for -the job," I prefer a vector drawing program (in my case, tgif) -when I need to combine type with graphic elements (say, a complex -ruled form). Inserting the results into a document is easy enough -with <strong>.PSPIC</strong> (consult the <strong>groff_tmac</strong> -man page for information on this indispensable and easy-to-use macro). +Groff comes with a number of "preprocessors" designed +to ease creating rules, boxes, splines, and so on (tbl, pic, +and friends), but I tend not to use them. A firm believer +in the "right tool for the job," I prefer a vector +drawing program when I need to combine type with graphic elements +(say, a complex ruled form). Inserting the results into a +document is easy enough with <strong>.PSPIC</strong> (consult +the <strong>groff_tmac</strong> man page for information on this +indispensable and easy-to-use macro). <p> <!---INLINE_CHARACTERS_GROFF---> diff --git a/contrib/mom/momdoc/macrolist.html b/contrib/mom/momdoc/macrolist.html index 549d2750..b445782d 100644 --- a/contrib/mom/momdoc/macrolist.html +++ b/contrib/mom/momdoc/macrolist.html @@ -25,9 +25,9 @@ point to references found elsewhere in the documentation. <strong>NOTE:</strong> This guide uses tables extensively. Better make sure you're reading it in a browser that renders them sensibly. -<br> +<p> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Typesetting</th> <th>Document processing</th> @@ -113,46 +113,46 @@ sensibly. <td><a href="#40">Designing endnotes pages</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#41">Table of contents</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#42">Designing a table of contents</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#43">Finis</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#44">Headers and footers</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#45">Part-by-part control <br>of headers</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#46">Footers</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#47">Covers and doc covers</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#48">Customizing covers <br>and doc covers</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#49">Part-by-part control of <br>covers and doc covers</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="#50">Miscellaneous</a></td> </tr> </table> @@ -163,7 +163,7 @@ sensibly. <a name="1"><h3 align="center">Page/paper size; margins; line length</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Page/paper size</th> <th>Margins</th> @@ -177,22 +177,22 @@ sensibly. <tr> <td><a href="typesetting.html#PAGELENGTH">PAGELENGTH</a></td> <td><a href="typesetting.html#B_MARGIN">B_MARGIN</a></td> - <td></td> + <td> </td> </tr> <tr> <td><a href="typesetting.html#PAPER">PAPER</a></td> <td><a href="typesetting.html#L_MARGIN">L_MARGIN</a></td> - <td></td> + <td> </td> </tr> <tr> <td><a href="typesetting.html#PAGE">PAGE</a></td> <td><a href="typesetting.html#R_MARGIN">R_MARGIN</a></td> - <td></td> + <td> </td> </table> <a name="2"><h3 align="center">Family/font; pointsize; leading</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Family/font</th> <th>Point size</th> @@ -210,14 +210,14 @@ sensibly. </tr> <tr> <td><a href="typesetting.html#FALLBACK_FONT">FALLBACK_FONT</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> </table> <a name="3"><h3 align="center">Font modifications (pseudo-italic, -bold, -condensed, -extended)</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Italicize</th> <th>Embolden</th> @@ -246,7 +246,7 @@ sensibly. <a name="4"><h3 align="center">Underscoring and underlining</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Underscore</th> <th>Underline</th> @@ -263,7 +263,7 @@ sensibly. <a name="5"><h3 align="center">Colour</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Define colours</th> <th>Invoke colours</th> @@ -279,7 +279,7 @@ sensibly. <a name="6"><h3 align="center">Quad, justification and fill</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Fill modes</th> <th>No-fill modes</th> @@ -293,14 +293,14 @@ sensibly. <td><a href="typesetting.html#LRC">CENTER</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="typesetting.html#LRC">RIGHT</a></td> </tr> </table> <a name="7"><h3 align="center">Line termination</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Break</th> <th>Break (no space)</th> @@ -317,7 +317,7 @@ sensibly. <a name="8"><h3 align="center">Hyphenation</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Enable</th> <th>Set parameters</th> @@ -330,7 +330,7 @@ sensibly. <a name="9"><h3 align="center">Word and sentence spacing</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Word space</th> <th>Sentence space</th> @@ -343,7 +343,7 @@ sensibly. <a name="10"><h3 align="center">Character pair and full line kerning; ligatures</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Kern character pairs</th> <th>Kern full lines</th> @@ -357,18 +357,18 @@ sensibly. <tr> <td><a href="inlines.html#INLINE_KERNING_MOM">\*[BU n]</a> <td><a href="typesetting.html#EW">EW</a></td> - <td></td> + <td> </td> </tr> <tr> <td><a href="inlines.html#INLINE_KERNING_MOM">\*[FU n]</a> <td><a href="typesetting.html#BR_AT_LINE_KERN">BR_AT_LINE_KERN</a></td> - <td></td> + <td> </td> </tr> </table> <a name="11"><h3 align="center">Vertical movements</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Down</th> <th>Up</th> @@ -385,7 +385,7 @@ sensibly. <a name="12"><h3 align="center">Horizontal movements</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Forward</th> <th>Back</th> @@ -398,7 +398,7 @@ sensibly. <a name="13"><h3 align="center">Indents</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Left</th> <th>Right</th> @@ -419,15 +419,15 @@ sensibly. <td><a href="typesetting.html#IQ">ILX</a></td> <td><a href="typesetting.html#IQ">IRX</a></td> <td><a href="typesetting.html#IQ">IBX</a></td> - <td></td> - <td></td> - <td></td> + <td> </td> + <td> </td> + <td> </td> </tr> </table> <a name="14"><h3 align="center">Tabs</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Setup</th> <th>Invoking</th> @@ -441,18 +441,18 @@ sensibly. <tr> <td><a href="typesetting.html#INLINE_ST">\*[STn]...\*[STnX]</a></td> <td align="center"><a href="typesetting.html#TN">TN</a></td> - <td></td> + <td> </td> </tr> <tr> <td><a href="typesetting.html#ST">ST</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> </table> <a name="15"><h3 align="center">Manual columns</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Initializing</th> <th>Returning to top</th> @@ -467,7 +467,7 @@ sensibly. <a name="16"><h3 align="center">Superscripts</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Superscript</th> <th>Condensed superscript</th> @@ -482,7 +482,7 @@ sensibly. <a name="17"><h3 align="center">Dropcaps</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Invoking</th> <th>Dropcap control</th> @@ -492,26 +492,26 @@ sensibly. <td><a href="goodies.html#DROPCAP_FAMILY">DROPCAP_FAMILY</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="goodies.html#DROPCAP_FONT">DROPCAP_FONT</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="goodies.html#DROPCAP_COLOR">DROPCAP_COLOR</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="goodies.html#DROPCAP_ADJUST">DROPCAP_ADJUST</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="goodies.html#DROPCAP_GUTTER">DROPCAP_GUTTER</a></td> </tr> </table> <a name="18"><h3 align="center">Lists</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Initializing</th> <th>Setting items</th> @@ -523,20 +523,20 @@ sensibly. <td><a href="docelement.html#SHIFT_LIST">SHIFT_LIST</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html##RESET_LIST">RESET_LIST</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="#PAD_LIST_DIGITS">PAD_LIST_DIGITS</a></td> </tr> </table> <a name="19"><h3 align="center">Padding lines</h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr align="center"> <th>Pad a line</th> <th>Change the pad marker</th> @@ -549,7 +549,7 @@ sensibly. <a name="20"><h3 align="center">Miscellaneous</h3> -<table align="center" valign="center" border=2 cellpadding="6"> +<table align="center" valign="center" border=1 cellpadding="6"> <tr align="center"> <th>Newpage</th> <th>All caps</th> @@ -563,20 +563,20 @@ sensibly. <td align="left"><a href="inlines.html#INLINE_RULE_MOM">\*[RULE]</a></td> </tr> <tr align="left"> - <td></td> - <td></td> - <td></td> + <td> </td> + <td> </td> + <td> </td> <td><a href="goodies.html#LEADER">\*[LEADER]</a></td> </tr> <tr align="left"> - <td></td> - <td></td> - <td></td> + <td> </td> + <td> </td> + <td> </td> <td><a href="goodies.html#LEADER_CHARACTER">LEADER_CHARACTER</a></td> </tr> </table> <br> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Change the escape character</th> <th>Suppress input</th> @@ -588,9 +588,9 @@ sensibly. <td><a href="goodies.html#TRAP">TRAP</a></td> </tr> <tr align="center"> - <td></td> + <td> </td> <td><a href="goodies.html#SILENT">SILENT</a></td> - <td></td> + <td> </td> </tr> </tr> </table> @@ -602,7 +602,7 @@ sensibly. <a name="21"><h3 align="center">Reference macros</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Titles</th> <th>Authors</th> @@ -615,24 +615,24 @@ sensibly. </tr> <tr> <td><a href="docprocessing.html#SUBTITLE">SUBTITLE</a></td> - <td></td> + <td> </td> <td><a href="docprocessing.html#REVISION">REVISION</a></td> </tr> <tr> <td><a href="docprocessing.html#DOCTITLE">DOCTITLE</a></td> - <td></td> + <td> </td> <td><a href="docprocessing.html#DRAFT_STRING">DRAFT_STRING</a></td> </tr> <tr> <td><a href="docprocessing.html#CHAPTER">CHAPTER</a></td> - <td></td> + <td> </td> <td><a href="docprocessing.html#REVISION_STRING">REVISION_STRING</a></td> </tr> </table> <a name="22"><h3 align="center">Letters</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Headers</th> <th>Closing</th> @@ -645,24 +645,24 @@ sensibly. </tr> <tr> <td><a href="letters.html#FROM">FROM</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> <tr> <td><a href="letters.html#TO">TO</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> <tr> <td><a href="letters.html#GREETING">GREETING</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> </table> <a name="23"><h3 align="center">Document style</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Basic style</th> <th>Style control*</th> @@ -680,23 +680,23 @@ sensibly. <td><a href="docprocessing.html#DOC_LINE_LENGTH">DOC_LINE_LENGTH</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#DOC_FAMILY">DOC_FAMILY</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#DOC_PT_SIZE">DOC_PT_SIZE</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#DOC_LEAD">DOC_LEAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#DOC_LEAD_ADJUST">DOC_LEAD_ADJUST</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#DOC_QUAD">DOC_QUAD</a></td> </tr> </table> @@ -708,7 +708,7 @@ sensibly. <a name="24"><h3 align="center">Special to PRINTSTYLE TYPEWRITE</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Italic/underlining</th> <th>Quotes</th> @@ -719,20 +719,20 @@ sensibly. </tr> <tr> <td><a href="docprocessing.html#TYPEWRITE_CONTROL">ITALIC_MEANS_ITALIC</a></td> - <td></td> + <td> </td> </tr> <tr> <td><a href="docprocessing.html#TYPEWRITE_CONTROL">UNDERLINE_SLANT</a></td> - <td></td> + <td> </td> </tr> <tr> <td><a href="docprocessing.html#TYPEWRITE_CONTROL">SLANT_MEANS_SLANT</a></td> - <td></td> + <td> </td> </tr> </table> <a name="25"><h3 align="center">Begin document processing</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Absolutely required in order to initialize document processing</th> </tr> @@ -743,7 +743,7 @@ sensibly. <a name="26"><h3 align="center">Customizing the document header</h3></a> -<table align="center" valign="center" border=2 cellpadding="8"> +<table align="center" valign="center" border=1 cellpadding="8"> <tr> <th>Global</th> <th>Title</th> @@ -775,15 +775,15 @@ sensibly. <td><a href="docprocessing.html#CHANGE_SIZE">CHAPTER_TITLE_SIZE</a></td> </tr> <tr> - <td></td> - <td></td> - <td></td> + <td> </td> + <td> </td> + <td> </td> <td><a href="docprocessing.html#CHANGE_COLOR">CHAPTER_TITLE_COLOR</a></td> </tr> </table> <br> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Attribution</th> <th>Author</th> @@ -800,12 +800,12 @@ sensibly. <td><a href="docprocessing.html#CHANGE_FONT">DOCTYPE_FONT</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#CHANGE_SIZE">AUTHOR_SIZE</a></td> <td><a href="docprocessing.html#CHANGE_SIZE">DOCTYPE_SIZE</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#CHANGE_COLOR">AUTHOR_COLOR</a></td> <td><a href="docprocessing.html#CHANGE_COLOR">DOCTYPE_COLOR</a></td> </tr> @@ -813,7 +813,7 @@ sensibly. <a name="27"><h3 align="center">Pagination</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Paginate</th> <th>Style control</th> @@ -844,7 +844,7 @@ sensibly. </tr> <tr> <td><a href="docelement.html#SUSPEND_PAGINATION">RESTORE_PAGINATION</a></td> - <td></td> + <td> </td> </tr> </table> <p align="center"> @@ -852,7 +852,7 @@ sensibly. <a name="28"><h3 align="center">Recto/verso</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Enabling</th> <th>Controling</th> @@ -867,18 +867,18 @@ sensibly. <td align="center"><a href="headfootpage.html#HDRFTR_RECTOVERSO">HEADER_RECTO</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="rectoverso.html#SWITCH_HDRFTR">SWITCH_FOOTERS</a>*</td> <td align="center"><a href="headfootpage.html#HDRFTR_RECTOVERSO">HEADER_VERSO</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td align="center"><a href="headfootpage.html#HDRFTR_RECTOVERSO">FOOTER_RECTO</a>*</td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td align="center"><a href="headfootpage.html#HDRFTR_RECTOVERSO">FOOTER_VERSO</a>*</td> </tr> </table> @@ -894,7 +894,7 @@ their behaviour for footers. <a name="29"><h3 align="center">Automatic columns</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Enabling</th> <th>Controling</th> @@ -904,14 +904,14 @@ their behaviour for footers. <td><a href="docprocessing.html#COL_NEXT">COL_NEXT</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docprocessing.html#COL_BREAK">COL_BREAK</a></td> </tr> </table> <a name="30"><h3 align="center">Epigraphs</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -923,25 +923,25 @@ their behaviour for footers. <td><a href="docelement.html#EPIGRAPH_CONTROL">EPIGRAPH_AUTOLEAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#EPIGRAPH_CONTROL">EPIGRAPH_FONT</a></td> <td><a href="docelement.html#EPIGRAPH_CONTROL">EPIGRAPH_QUAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#EPIGRAPH_CONTROL">EPIGRAPH_SIZE</a></td> <td><a href="docelement.html#EPIGRAPH_CONTROL">EPIGRAPH_INDENT</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#EPIGRAPH_CONTROL">EPIGRAPH_COLOR</a></td> - <td></td> + <td> </td> </tr> </table> <a name="31"><h3 align="center">Heads</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -953,35 +953,35 @@ their behaviour for footers. <td><a href="docelement.html#HEAD_GENERAL">HEAD_QUAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#HEAD_GENERAL">HEAD_FONT</a></td> <td><a href="docelement.html#HEAD_CAPS">HEAD_CAPS</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#HEAD_GENERAL">HEAD_SIZE</a></td> <td><a href="docelement.html#HEAD_UNDERLINE">HEAD_UNDERLINE</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#HEAD_GENERAL">HEAD_COLOR</a></td> <td><a href="docelement.html#HEAD_SPACE">HEAD_SPACE</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#NUMBER_HEADS">NUMBER_HEADS</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#RESET_HEAD_NUMBER">RESET_HEAD_NUMBER</a></td> </tr> </table> <a name="32"><h3 align="center">Subheads</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -993,25 +993,25 @@ their behaviour for footers. <td><a href="docelement.html#SUBHEAD_GENERAL">SUBHEAD_QUAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#SUBHEAD_GENERAL">SUBHEAD_FONT</a></td> <td><a href="docelement.html#NUMBER_SUBHEADS">NUMBER_SUBHEADS</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#SUBHEAD_GENERAL">SUBHEAD_SIZE</a></td> <td><a href="docelement.html#RESET_SUBHEAD_NUMBER">RESET_SUBHEAD_NUMBER</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#SUBHEAD_CONTROL">SUBHEAD_COLOR</a></td> </tr> </table> <a name="33"><h3 align="center">Paragraph heads</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -1023,25 +1023,25 @@ their behaviour for footers. <td><a href="docelement.html#PARAHEAD_INDENT">PARAHEAD_INDENT</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#PARAHEAD_GENERAL">PARAHEAD_FONT</a></td> <td><a href="docelement.html#NUMBER_PARAHEADS">NUMBER_PARAHEADS</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#PARAHEAD_GENERAL">PARAHEAD_SIZE</a></td> <td><a href="docelement.html#RESET_PARAHEAD_NUMBER">RESET_PARAHEAD_NUMBER</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#PARAHEAD_GENERAL">PARAHEAD_COLOR</a></td> - <td></td> + <td> </td> </tr> </table> <a name="34"><h3 align="center">Paragraphs</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control*</th> @@ -1053,13 +1053,13 @@ their behaviour for footers. <td><a href="docelement.html#PARA_INDENT">PARA_INDENT</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#INDENT_FIRST_PARAS">INDENT_FIRST_PARAS</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#PP_SPACE">PARA_SPACE</a></td> </tr> </table> @@ -1076,7 +1076,7 @@ see (line-for-line cited text, e.g. poetry or code snippets) </h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -1088,17 +1088,17 @@ see <td><a href="docelement.html#QUOTE_GENERAL">QUOTE_INDENT</a>*</td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#QUOTE_GENERAL">QUOTE_FONT</a></td> <td><a href="docelement.html#ALWAYS_FULLSPACE_QUOTES">ALWAYS_FULLSPACE_QUOTES</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#QUOTE_GENERAL">QUOTE_SIZE</a></td> <td><a href="docelement.html#BREAK_QUOTE">BREAK_QUOTE</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#QUOTE_GENERAL">QUOTE_COLOR</a></td> <td><a href="docprocessing.html#UNDERLINE_QUOTES">UNDERLINE_QUOTES</a></td> </tr> @@ -1112,7 +1112,7 @@ and BLOCKQUOTE. (formatted citations) </h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -1124,19 +1124,19 @@ and BLOCKQUOTE. <td><a href="docelement.html#QUOTE_GENERAL">BLOCKQUOTE_INDENT</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#BLOCKQUOTE_GENERAL">BLOCKQUOTE_FONT</a></td> <td><a href="docelement.html#BLOCKQUOTE_GENERAL">BLOCKQUOTE_QUAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#BLOCKQUOTE_GENERAL">BLOCKQUOTE_SIZE</a></td> <td><a href="docelement.html#BREAK_QUOTE">BREAK_BLOCKQUOTE</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#BLOCKQUOTE_GENERAL">BLOCKQUOTE_COLOR</a></td> - <td></td> + <td> </td> </tr> </tr> </table> @@ -1149,7 +1149,7 @@ and QUOTE. (also called "scene breaks") </h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -1164,7 +1164,7 @@ and QUOTE. <a name="38"><h3 align="center">Footnotes</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type-style control</th> @@ -1176,38 +1176,38 @@ and QUOTE. <td><a href="docelement.html#FOOTNOTE_GENERAL">FOOTNOTE_AUTOLEAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#FOOTNOTE_GENERAL">FOOTNOTE_FONT</a></td> <td><a href="docelement.html#FOOTNOTE_GENERAL">FOOTNOTE_QUAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#FOOTNOTE_GENERAL">FOOTNOTE_SIZE</a></td> <td><a href="docelement.html#FOOTNOTE_MARKERS">FOOTNOTE_MARKERS</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#FOOTNOTE_GENERAL">FOOTNOTE_COLOR</a></td> <td><a href="docelement.html#FOOTNOTE_MARKER_STYLE">FOOTNOTE_MARKER_STYLE</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#RESET_FOOTNOTE_NUMBER">RESET_FOOTNOTE_NUMBER</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#FOOTNOTE_RULE">FOOTNOTE_RULE</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#FOOTNOTE_RULE_ADJ">FOOTNOTE_RULE_ADJ</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#FOOTNOTE_RULE_LENGTH">FOOTNOTE_RULE_LENGTH</a></td> </tr> </table> @@ -1216,7 +1216,7 @@ and QUOTE. <a name="39"><h3 align="center">Endnotes</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Input endnotes</th> <th>Output endnotes pages</th> @@ -1232,7 +1232,7 @@ and QUOTE. (if you want to change the defaults) </h3> -<table align="center" valign="center" border=2 cellpadding="6"> +<table align="center" valign="center" border=1 cellpadding="6"> <tr> <th>Type-style control</th> <th>Endnotes page @@ -1266,7 +1266,7 @@ and QUOTE. <td><a href="docelement.html#ENDNOTE_TITLE_CONTROL">ENDNOTE_TITLE_QUAD</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="docelement.html#ENDNOTE_STRING_UNDERSCORE">ENDNOTE_STRING_UNDERSCORE</a></td> <td><a href="docelement.html#ENDNOTE_TITLE_UNDERSCORE">ENDNOTE_TITLE_UNDERSCORE</a></td> </tr> @@ -1278,9 +1278,9 @@ endnotes **I.e. how each document in the endnotes for a collated document is identified (by default, the strings passed to the reference macro, .TITLE -<br> +<p> -<table align="center" valign="center" border=2 cellpadding="6"> +<table align="center" valign="center" border=1 cellpadding="6"> <tr> <th>Endnotes numbering</th> <th>Paragraph control</th> @@ -1298,23 +1298,23 @@ macro, .TITLE </tr> <tr> <td><a href="docelement.html#ENDNOTE_NUMBER_CONTROL">ENDNOTE_NUMBER_SIZE</a></td> - <td></td> + <td> </td> <td><a href="docelement.html#ENDNOTES_HDRFTR_CENTER">ENDNOTES_FOOTER_CENTER</a></td> </tr> <tr> <td><a href="docelement.html#ENDNOTE_NUMBERS_ALIGN_LEFT">ENDNOTE_NUMBERS_ALIGN_LEFT</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> <tr> <td><a href="docelement.html#ENDNOTE_NUMBERS_ALIGN_RIGHT">ENDNOTE_NUMBERS_ALIGN_RIGHT</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> </table> <br> -<table align="center" valign="center" border=2 cellpadding="6"> +<table align="center" valign="center" border=1 cellpadding="6"> <tr> <th>Endnotes page numbering</th> <th>Misc</th> @@ -1329,7 +1329,7 @@ macro, .TITLE </tr> <tr> <td><a href="docelement.html#ENDNOTES_NO_FIRST_PAGENUM">ENDNOTES_NO_FIRST_PAGENUM</a></td> - <td></td> + <td> </td> </tr> </table> <p align="center"> @@ -1339,7 +1339,7 @@ macro, .TITLE <a name="41"><h3 align="center">Table of contents</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Generate</th> <th>General @@ -1357,23 +1357,23 @@ macro, .TITLE <td><a href="docelement.html#TOC_HEADER_STRING">TOC_HEADER_STRING</a></td> </tr> <tr> - <td></td> + <td> </td> <td align="center"><a href="docelement.html#TOC_PT_SIZE">TOC_PT_SIZE</a></td> <td><a href="docelement.html#TOC_HEADER_FAMILY">TOC_HEADER_FAMILY</a></td> </tr> <tr> - <td></td> + <td> </td> <td align="center"><a href="docelement.html#TOC_LEAD">TOC_LEAD</a></td> <td><a href="docelement.html#TOC_HEADER_FONT">TOC_HEADER_FONT</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#TOC_HEADER_SIZE">TOC_HEADER_SIZE</a></td> </tr> <tr> - <td></td> - <td></td> + <td> </td> + <td> </td> <td><a href="docelement.html#TOC_HEADER_QUAD">TOC_HEADER_QUAD</a></td> </tr> </table> @@ -1385,7 +1385,7 @@ macro, .TITLE (if you want to change the defaults) </h3> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Title entries</th> <th>Head entries</th> @@ -1413,18 +1413,18 @@ macro, .TITLE </tr> <tr> <td><a href="docelement.html#TOC_TITLE">TOC_TITLE_SIZE</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> <tr> <td><a href="docelement.html#TOC_TITLE">TOC_TITLE_INDENT</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> </table> <br> -<table align="center" valign="center" border=2 cellpadding="6"> +<table align="center" valign="center" border=1 cellpadding="6"> <tr> <th>Parahead entries</th> <th>Page number entries</th> @@ -1441,19 +1441,19 @@ macro, .TITLE <td><a href="docelement.html#TOC_PARAHEAD">TOC_PARAHEAD_FONT</a></td> <td><a href="docelement.html#TOC_PN">TOC_PN_FONT</a></td> <td align="center"><a href="docelement.html#TOC_PAGENUM_STYLE">TOC_PAGENUM_STYLE</a>*</td> - <td></td> + <td> </td> </tr> <tr> <td><a href="docelement.html#TOC_PARAHEAD">TOC_PARAHEAD_SIZE</a></td> <td><a href="docelement.html#TOC_PN">TOC_PN_SIZE</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> <tr> <td><a href="docelement.html#TOC_PARAHEAD">TOC_PARAHEAD_INDENT</a></td> <td><a href="docelement.html#TOC_PADDING">TOC_PADDING</a></td> - <td></td> - <td></td> + <td> </td> + <td> </td> </tr> </table> <p align="center"> @@ -1461,7 +1461,7 @@ macro, .TITLE <a name="43"><h3 align="center">Finis</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Type style control</th> @@ -1472,7 +1472,7 @@ macro, .TITLE </tr> <tr> <td><a href="docelement.html#FINIS_STRING">FINIS_STRING</a></td> - <td></td> + <td> </td> </tr> </table> @@ -1484,8 +1484,9 @@ information they contain appears at the top of the page or at the bottom. Consequently, in the following, substitute FOOTERS for HEADERS, and FOOTER_ for HEADER_ if you're hunting down how to do something with footers. +<p> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Macro</th> <th>Placement</th> @@ -1502,28 +1503,28 @@ do something with footers. <td><a href="headfootpage.html#HDRFTR_GLOBAL_FAMILY">HEADER_FAMILY</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="headfootpage.html#HDRFTR_GAP">HEADER_GAP</a></td> <td><a href="headfootpage.html#HDRFTR_RECTOVERSO">HEADER_VERSO</a></td> <td><a href="headfootpage.html#HDRFTR_GLOBAL_SIZE">HEADER_SIZE</a></td> </tr> <tr> - <td></td> - <td></td> - <td></td> + <td> </td> + <td> </td> + <td> </td> <td><a href="headfootpage.html#HDRFTR_COLOR">HEADER_COLOR</a></td> </tr> <tr> - <td></td> - <td></td> - <td></td> + <td> </td> + <td> </td> + <td> </td> <td><a href="headfootpage.html#HDRFTR_PLAIN">HEADER_PLAIN</a></td> </tr> </table> <a name="45"><h3 align="center">Part-by-part control of headers</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Left</th> <th>Center</th> @@ -1560,14 +1561,14 @@ do something with footers. <td><a href="headfootpage.html#_CAPS">HEADER_RIGHT_CAPS</a></td> </tr> <tr> - <td></td> + <td> </td> <td><a href="headfootpage.html#HDRFTR_CENTER_PAD">HEADER_CENTER_PAD</a></td> - <td></td> + <td> </td> </tr> </table> <br> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Separator rule</th> <th>Misc</th> @@ -1582,7 +1583,7 @@ do something with footers. </tr> <tr> <td><a href="headfootpage.html#HDRFTR_RULE_COLOR">HEADER_RULE_COLOR</a></td> - <td></td> + <td> </td> </tr> </table> @@ -1591,7 +1592,7 @@ do something with footers. This is the one exception to the "HEADER also means FOOTER" convention used throughout the documentation. -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <td><a href="headfootpage.html#FOOTER_ON_FIRST_PAGE">FOOTER_ON_FIRST_PAGE</a></td> </tr> @@ -1599,7 +1600,7 @@ convention used throughout the documentation. <a name="47"><h3 align="center">Covers and doc covers</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Covers</th> <th>Doc covers</th> @@ -1617,7 +1618,7 @@ convention used throughout the documentation. <a name="48"><h3 align="center">Customizing covers and doc covers</h3></a> -<table align="center" valign="center" border=2 cellpadding="8"> +<table align="center" valign="center" border=1 cellpadding="8"> <tr> <th>Covers</th> <th>Doc covers</th> @@ -1646,7 +1647,7 @@ convention used throughout the documentation. For part-by-part control of the family, font, size and color, please see -<table align="center" valign="center" border=2 cellpadding="8"> +<table align="center" valign="center" border=1 cellpadding="8"> <tr> <td align="center"><a href="cover.html#COVER_CONTROL">Control macros--changing the defaults for covers and document covers</a></td> </tr> @@ -1657,7 +1658,7 @@ see <a name="50"><h3 align="center">Miscellaneous</h3></a> -<table align="center" valign="center" border=2 cellpadding="10"> +<table align="center" valign="center" border=1 cellpadding="10"> <tr> <th>Output a blank page</th> <th>Collate multiple documents</th> diff --git a/contrib/mom/momdoc/reserved.html b/contrib/mom/momdoc/reserved.html index 6f3b018d..228b69f1 100644 --- a/contrib/mom/momdoc/reserved.html +++ b/contrib/mom/momdoc/reserved.html @@ -167,8 +167,6 @@ PAD Insert padding spaces at marked places PADMARKER Sets character to use instead of # in PAD PRINT Simply prints args passed to it; keeps my code indented nicely -RESET_LEAD Trap invoked macro which resets the lead to the - value passed to LS when LS is called at Top Of Page RW Reduce white -- tighten overall line kern (character spacing) SILENT Don't print lines till SILENT OFF @@ -305,22 +303,18 @@ p Output line horiz position at end of of LIST #STORED_T_INDENT Current temporary indent at first invocation of LIST -t "mark" register set in T_MARGIN; recalled - in LS and AUTOLEAD if #T_MARGIN_SET is 1 #T_INDENT Value of temporary indent #T_MARGIN Top margin -#T_MARGIN_SET Did we set the top margin with T_MARGIN? - (toggle) #TAB_ACTIVE Are we in a tab? (toggle) #TAB_NUMBER Tab number #TAB_OFFSET Tab indent -#TOP_ALD Was ALD called at Top Of Page before text input? - (toggle) +#TOP Set to 1 in T_MARGIN, DO_T_MARGIN and ALD; tells + the first LS or AUTOLEAD on a page to maintain + the baseline position prior to the LS call #TOP_BASELINE_ADJ Amount by which to adjust the baseline position - of the first line on the page if an LS request - is greater than the current lead -#TOP_LEAD Was LS called at Top Of Page before text input? - (toggle) + of the first line on the page if an LS or AUTOLEAD + request differs from the lead current at the end of + the previous page #TOTAL_LISTS Total number of lists in a nest #USER_SET_L_LENGTH Did user invoke LL? (toggle) #USER_SET_TITLE_ITEM Did user invoke TOC_TITLE_ENTRY? @@ -506,6 +500,8 @@ PRINTSTYLE Print style (TYPEWRITE or TYPESET) Document tags ------------- +ADD_SPACE Special macro to add space to the top of a pages after + page 1; must be preceded by NEWPAGE BLOCKQUOTE Block-indented, quoted text COL_BREAK Breaks and spreads line before invocation; moves to next column on page or 1st col of next page. An alias @@ -889,6 +885,10 @@ TOC_ENTRIES TOC entries AUTHOR_<#> in AUTHOR #AUTHORS Equals final value of AUTHOR_NUM; used for authors in doc header +#BASELINE_MARK In PP, the vertical position on the page + (when paragraph spacing is on) after a + quote or blockquote has been output and + the post-quote space has been added. #BMARG Position of unvarying bottom margin during doc processing; required for collecting footnotes inside diversions @@ -1151,7 +1151,7 @@ dc "mark" register for document columns #HEAD_NUM Head number #HEAD_SPACE 2 line spaces before heads? (toggle; 1=yes, 0=no) -#HEAD_UNDERLINE Underline section titles? (toggle) +#HORIZ_MARK Horizontal #HOW_MANY Number of blank pages to output #IGNORE Should we ignore this macro? Set to 1 in TYPEWRITE. @@ -1187,6 +1187,8 @@ dc "mark" register for document columns subtract 1 line of footnote lead from FN_OVERFLOW in a PREV_FN_DEFERRED situation. +#NO_SPACE When para spacing is active, instructs + PP not to add space after a quote or blockquote. #NO_TRAP_RESET Should we reset page traps? (toggle) #NUM_AUTHORS # of authors mod 2 to test if odd or even # of authors diff --git a/contrib/mom/momdoc/toc.html b/contrib/mom/momdoc/toc.html index 1950b96d..ca5276e9 100644 --- a/contrib/mom/momdoc/toc.html +++ b/contrib/mom/momdoc/toc.html @@ -2,13 +2,13 @@ <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> -<title>Mom, version 1.2-d -- Table of Contents</title> +<title>Mom, version 1.2-f -- Table of Contents</title> </head> <body bgcolor="#dfdfdf"> <!====================================================================> -<h1 align="center"><u>Table of Contents for mom, version 1.2-d</u></h1> +<h1 align="center"><u>Table of Contents for mom, version 1.2-f</u></h1> The table of contents has grown quite large. If you've been using <strong>mom</strong> for a while, you might prefer the diff --git a/contrib/mom/momdoc/typemacdoc.html b/contrib/mom/momdoc/typemacdoc.html index e01ec7a5..164520cf 100644 --- a/contrib/mom/momdoc/typemacdoc.html +++ b/contrib/mom/momdoc/typemacdoc.html @@ -52,14 +52,6 @@ margins, line length, <a href="definitions.html#TERMS_LEADING">leading</a>, and <a href="definitions.html#TERMS_QUAD">quad</a>. -<p> -<strong>NOTE:</strong> See the section on -<a href="#TB_MARGINS">Top and bottom margins in document processing</a> -for information on how <strong>mom</strong> interprets -<a href="typesetting.html#T_MARGIN">T_MARGIN</a> -and -<a href="typesetting.html#B_MARGIN">B_MARGIN</a> -in document processing. <p> <strong>Mom</strong> assumes that any changes to these parameters @@ -71,6 +63,18 @@ middle of a document. <p> The following lists those typesetting macros whose behaviour during document processing requires some explanation. +(Please refer to +<a href="#TB_MARGINS">Top and bottom margins in document processing</a> +for information on how <strong>mom</strong> interprets +<a href="typesetting.html#T_MARGIN">T_MARGIN</a> +and +<a href="typesetting.html#B_MARGIN">B_MARGIN</a> +in document processing. Additionally, see +<a href="#ADD_SPACE">ADD_SPACE</a> +if you encounter the problem of trying to get <strong>mom</strong> +to put space at the tops of pages after the first.) + + <p> <pre> MACRO EFFECT DURING DOCUMENT PROCESSING @@ -177,6 +181,52 @@ running text, but have no effect on the placement of <a href="definitions.html#TERMS_FOOTER">footers</a>, or page numbers. +<a name="ADD_SPACE"> + <h2><u>ADD_SPACE</u></h2> +</a> + +<p> +Occasionally, you may want to insert space before the start of +<a href="definitions.html#TERMS_RUNNING">running text</a> +on pages after the first. +<p> +You might have tried using +<a href="typesetting.html#ALD">ALD</a> +or +<a href="typesetting.html#SPACE">SPACE</a> +and found it did nothing. This is because <strong>mom</strong> +normally inhibits any extra space before the start of running text +on pages after the first. +<p> +If you need the space, you must use the macro, +<strong>ADD_SPACE</strong>, in conjuction with +<a href="typesetting.html#NEWPAGE">NEWPAGE</a>. +<strong>ADD_SPACE</strong> takes as its single argument the +distance you want <strong>mom</strong> to advance from the normal +baseline position at the top of the page. A +<a href="definitions.html#TERMS_UNITOFMEASURE">unit of measure</a> +is required. + +<p> +For example, say you wanted to insert 2 inches of space before the +start of running text on a page other than the first. You'd +accomplish it with + +<p> +<pre> + .NEWPAGE + .ADD_SPACE 2i +</pre> + +which would terminate your current page, break to a new page, +print the header (assuming headers are on) and insert 2 inches of +space before the start of running text. +<p> +Since adding space in this way is almost sure to disrupt +<strong>mom</strong>'s ability to guarantee perfectly flush bottom +margins, I highly recommend using the +<a href="docprocessing.html#SHIM">SHIM</a> +macro immediately after <strong>ADD_SPACE</strong>. <p> <hr> <a href="macrolist.html#TOP">Next</a> diff --git a/contrib/mom/momdoc/typesetting.html b/contrib/mom/momdoc/typesetting.html index 479d83ed..a003575c 100644 --- a/contrib/mom/momdoc/typesetting.html +++ b/contrib/mom/momdoc/typesetting.html @@ -903,6 +903,19 @@ then later reset it to 12 with The size of type can also be changed inline. See <a href="inlines.html#INLINE_SIZE_MOM">Inline Escapes, changing point size</a>. <p> +<strong>NOTE:</strong> It is unfortunate that the <kbd>pic</kbd> +pre-processor uses <strong>PS</strong>, and thus +<strong>mom</strong>'s macro for setting point sizes can't use it. +However, if you aren't using <kbd>pic</kbd>, you might want to +alias <strong>PT_SIZE</strong> as <strong>PS</strong>, since +there'd be no conflict. +<p> +<pre> + .ALIAS PS PT_SIZE +</pre> + +would allow you to set point sizes with <kbd>.PS</kbd>. +<p> <!---LS---> @@ -1304,10 +1317,18 @@ escape. See <a href="#EL_NOTES">NOTES</a>, below. <br> -Furthermore, in nofill modes, EL does not work after the PAD macro. +*If you find remembering whether to put in the <kbd>\c</kbd> +bothersome, you may prefer to use the +<a href="definitions.html#TERMS_INLINES">inline escape</a> +alternative to +<kbd>.EL</kbd>, +<a href="inlines.html#B">\*[B]</a>, +which works consistently regardless of the fill mode. +<br> +*EL does not work after the PAD macro. See -<a href="#EL_EXCEPTION">Exception</a> -for a workaround</em>. +<a href="goodies.html#PAD">PAD</a> +for the way around this</em>. <p> The mnemonic "EL" is borrowed from old Compugraphic typesetting systems, where it stood for "End Line." Conceptually, @@ -1323,7 +1344,9 @@ taken.) <p> <strong>EL</strong>'s function is simple: it breaks a line without -advancing on the page. As an example of where you might use it, +advancing on the page. +<a name="EL_EXAMPLE">As</a> +an example of where you might use it, imagine that you're working from marked-up copy. The markup indicates 24 points of space between two given lines, but the prevailing line spacing is 12.5 points. You may find it more @@ -1403,31 +1426,7 @@ If <strong>EL</strong> is used after most macros or groff <a href="definitions.html#TERMS_PRIMITIVES">primitives</a> (see the exception, below), you don't have to worry about this, regardless of the fill mode. Just type <kbd>.EL</kbd> -<p> -<a name="EL_EXCEPTION"></a> -<strong>Exception: EL</strong> does not work after the -<a href="goodies.html#PAD">PAD</a> -macro when you're in a nofill mode. If you require -<strong>EL</strong> functionality after <strong>PAD</strong> while -in a nofill mode, you have to perform its function -"manually", e.g. -<p> -<pre> - .CENTER \" CENTER is a nofill mode - .PAD "#\*[ST1]A line of text\*[ST1X]#" - \# - .TRAP OFF \" -+ - .SP -1v \" |--> this is a "manual" EL - .TRAP \" -+ - \# - .ST 1 L - .TAB 1 - .ALD 2p - \*[RULE] - .RLD 2p - .TQ -</pre> -<p> +<br> <!---SP---> @@ -3371,10 +3370,20 @@ not 6 picas plus the 2 pica indent. Macro: <strong>TN</strong> <br> <em>*In tabs that aren't given the QUAD argument when they're set up -with TAB_SET or ST, you must terminate the line preceding TN with -the \c inline escape. See the +with +<a href="#TAB_SET">TAB_SET</a> +or +<a href="#ST">ST</a>, you must terminate the line preceding +<kbd>TN</kbd> with the \c inline escape. See the <a href="#TN_NOTE">ADDITIONAL NOTE</a>, -below.</em> +<br> +*If you find remembering whether to put in the <kbd>\c</kbd> +bothersome, you may prefer to use the +<a href="definitions.html#TERMS_INLINES">inline escape</a> +alternative to +<kbd>.TN</kbd>, +<a href="inlines.html#TB+">\*[TB+]</a>, +which works consistently regardless of the fill mode.</em> <p> <strong>TN</strong> moves over to the next tab in numeric diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac index 3248af5c..719cd362 100644 --- a/contrib/mom/om.tmac +++ b/contrib/mom/om.tmac @@ -23,7 +23,7 @@ .\" .\" .\" -\# Version 1.2-e +\# Version 1.2-f \# ------------- \# \# Antoine de St-Exupéry asserted that elegance in engineering is @@ -229,11 +229,9 @@ \# Requires unit of measure. \# .MAC T_MARGIN END -. br . nr #T_MARGIN (\\$1) -. nr #T_MARGIN_SET 1 +. nr #TOP 1 . if !\\n[#DOCS] \{\ -. PRINT \& . sp |\\n[#T_MARGIN]u-1v . \} . wh 0i DO_T_MARGIN @@ -301,7 +299,7 @@ \# .MAC DO_T_MARGIN END . ev T_MARGIN -. nr #T_MARGIN_SET 1 +. nr #TOP 1 . sp |\\n[#T_MARGIN]u-1v . ev . sp -\\n[#T_MARGIN_LEAD_ADJ]u @@ -555,40 +553,19 @@ \# Does not require unit of measure. LS automatically turns off AUTOLEAD. \# .MAC LS END -. br +. nr #OLD_LEAD \\n(.v . if \\n[#PRINT_STYLE]=1 \{ .return \} . if \\n[#IGNORE] \{ .return \} -. if \\n(nl=0 \{ .nr #TOP_LEAD 1 \} . if \\n[#AUTO_LEAD] \{\ . rr #AUTO_LEAD . rr #AUTOLEAD_FACTOR . \} -. nr #OLD_LEAD \\n(.v . vs \\$1 -. nr #TOP_BASELINE_ADJ \\n(.v-\\n[#OLD_LEAD] -. if !\\n[#DOCS] \{\ -. if \\n[#TOP_ALD]=1 \{\ -. sp -\\n[#TOP_BASELINE_ADJ]u -. rr #TOP_ALD -. \} -\# The following clause ensures that the first .LS call after a top -\# margin has been set (.T_MARGIN or .PAGE) doesn't change the -\# vertical position on the page -. if \\n[#T_MARGIN_SET]=1 \{\ -. ie (\\n(nl >= \\n[#T_MARGIN]) \{\ -. if \\n(.n=0 \{\ -' sp -\\n[#TOP_BASELINE_ADJ]u -. rr #T_MARGIN_SET -. \} -. \} -. el \{\ -. if !\\n[#TOP_LEAD]=0&\\n[#TOP_ALD]=0 \{ .nr #TOP_LEAD 1 \} -. vs 1u -. sp |\\n[#T_MARGIN]u -. wh \\n(nlu+1v RESET_LEAD -. rr #T_MARGIN_SET -. \} -. \} +. if \\n[#TOP] \{\ +. nr #TOP_BASELINE_ADJ \\n(.v-\\n[#OLD_LEAD] +. sp -\\n[#TOP_BASELINE_ADJ]u +. rr #TOP +. rr #TOP_BASELINE_ADJ . \} .END \# @@ -627,30 +604,11 @@ . el \{\ . vs \\n[#PT_SIZE]u+\\n[#AUTOLEAD_VALUE]u . \} -. nr #TOP_BASELINE_ADJ \\n(.v-\\n[#OLD_LEAD] -. if !\\n[#DOCS] \{\ -. if \\n[#TOP_ALD]=1 \{\ -. sp -\\n[#TOP_BASELINE_ADJ]u -. rr #TOP_ALD -. \} -\# The following clause ensures that the first .LS call after a top -\# margin has been set (.T_MARGIN or .PAGE) doesn't change the -\# vertical position on the page -. if \\n[#T_MARGIN_SET]=1 \{\ -. ie (\\n(nl >= \\n[#T_MARGIN]) \{\ -. if \\n(.n=0 \{\ -' sp -\\n[#TOP_BASELINE_ADJ]u -. rr #T_MARGIN_SET -. \} -. \} -. el \{\ -. if !\\n[#TOP_LEAD]=0&\\n[#TOP_ALD]=0 \{ .nr #TOP_LEAD 1 \} -. vs 1u -. sp |\\n[#T_MARGIN]u -. wh \\n(nlu+1v RESET_LEAD -. rr #T_MARGIN_SET -. \} -. \} +. if \\n[#TOP] \{\ +. nr #TOP_BASELINE_ADJ \\n(.v-\\n[#OLD_LEAD] +. sp -\\n[#TOP_BASELINE_ADJ]u +. rr #TOP +. rr #TOP_BASELINE_ADJ . \} .END \# @@ -1014,36 +972,21 @@ \# Requires a unit of measure. \# .MAC ALD END -. if \\n(nl=0 \{ .nr #TOP_ALD 1 \} -. if \\n(nl=\\n[#T_MARGIN] \{ .nr #TOP_LEAD 1 \} -. if !r#DOCS \{\ -. if \\n[#TOP_LEAD]=1 \{\ -. rr #TOP_ALD -. rr #TOP_LEAD -. RESET_LEAD -. RLD 1v -. \} -. \} +. if \\n(nl=0 \{ .nr #TOP 1 \} . if '\\$0'ALD' \{\ . nr #ALD (\\$1) -. ie \\n(nl=\\n[#T_MARGIN] \{\ -. ie !r#DOCS \{\ -. PRINT \& -. sp \\n[#ALD]u-1v -. \} -. el \{ .sp \\n[#ALD]u \} -. \} -. el \{ .sp \\n[#ALD]u \} +. sp \\n[#ALD]u +. \} +. if '\\$0'ADD_SPACE' \{\ +. nr #ALD (\\$1) +. rs +. sp \\n[#ALD]u . \} . if '\\$0'SPACE' \{\ -. ie \\n(nl=\\n[#T_MARGIN] \{\ -. ie !r#DOCS \{\ -. PRINT \& -. sp \\$1-1v -. \} -. el \{ .sp \\n[#ALD]u \} -. \} -. el \{ .sp \\$1u \} +. sp \\$1u +. \} +. if '\\$0'SP' \{\ +. sp \\$1u . \} .END \# @@ -1330,6 +1273,12 @@ . TRAP .END \# +\# An inline escape to accomplish the same thing. Actually +\# preferable, since it works with filled and non-filled copy and +\# doesn't require the user to remember to use (or not use) the \c. +\# +.ds B \h'|0'\c +\# \# ===================================================================== \# \# +++FILLING/QUADDING/JUSTIFYING+++ @@ -1644,7 +1593,12 @@ . nr #TAB_OFFSET (\\$2) . nr #TAB_LENGTH (\\$3) . MAC TAB\\n[#TAB_NUMBER] DONE \"Define TAB macro -. br +. if !\\\\n[#TB+]=1 \{ .br \} +. if \\\\n[#TB+]=1 \{\ +. EL +. vpt 0 +. rr #TB+ +. \} . in 0 . nr #TAB_ACTIVE 1 . nr #CURRENT_TAB \\n[#TAB_NUMBER] @@ -1709,6 +1663,11 @@ . TAB\\n[#NEXT_TAB] .END \# +\# An inline escape to accomplish the same thing. Actually +\# preferable, since it works with filled and non-filled copy and +\# doesn't require the user to remember to use (or not use) the \c. +\# +.ds TB+ "\c\\R'#TB+ 1'\\R'#TN 1'\\R'#NEXT_TAB \\n[#CURRENT_TAB]+1'\\*[TAB\\n[#NEXT_TAB]]\c \# \# TAB QUIT \# -------- @@ -2414,7 +2373,7 @@ .MAC PAD END . if \\n(.u=1 \{ .nr #FILL_MODE 1 \} . nf -. if !d$PAD_MARKER \{ .ds $PAD_MARKER # \} +. if !d$PAD_MARKER .ds $PAD_MARKER # . char \\*[$PAD_MARKER] \R'#PAD_COUNT \En[#PAD_COUNT]+1' . ds $FAMILY_FOR_PAD \\n[.fam] . fp \\n[.fp] \\*[$FONT] @@ -2456,6 +2415,11 @@ . rm $PAD_STRING . rm PAD_STRING . rchar # +. if '\\$2'NOBREAK' \{\ +. TRAP OFF +. EOL +. TRAP +. \} .END \# \# @@ -2692,6 +2656,7 @@ \c . EL . if \\n(.u=1 \{\ +. nr #FILL_WAS_ON 1 . ds $CURRENT_QUAD \\*[$QUAD_VALUE] . nf . \} @@ -2699,15 +2664,19 @@ . nr #RESTORE_L_LENGTH \\n(.l . if \\n[#INDENT_BOTH_ACTIVE] \{ .ll \\n(.lu-\\n[#BL_INDENT]u \} . if \\n[#INDENT_LEFT_ACTIVE] \{ .ll \\n(.lu-\\n[#L_INDENT]u \} -. PRINT \El'\En(.lu' +. PRINT \El'\En(.lu'\c . ll \\n[#RESTORE_L_LENGTH]u . rr #RESTORE_L_LENGTH . \} . el \{\ -. PRINT \El'\En(.lu' +. PRINT \El'\En(.lu'\c +. \} +. if r#FILL_WAS_ON \{\ +. fi +. rr #FILL_WAS_ON +. QUAD \\*[$CURRENT_QUAD] +. rm $CURRENT_QUAD . \} -. QUAD \\*[$CURRENT_QUAD] -. rm $CURRENT_QUAD . EL .END \# @@ -2735,8 +2704,8 @@ .MAC WS END . ds $WS_CONSTANT 12 . ds $WS_VAR \\$1 -. ie '\\$1'DEFAULT' \{ .ds $WS_VAR +0 \} -. el \{ .ds $WS (\\*[$WS_CONSTANT]\\*[$WS_VAR]) \} +. ie '\\$1'DEFAULT' .ds $WS_VAR +0 +. el .ds $WS (\\*[$WS_CONSTANT]\\*[$WS_VAR]) . ie \\n[.sss]=12 \{ .ss \\*[$WS] 12 \} . el \{\ . ss \\*[$WS] (\\*[$WS]\\*[$SS_VAR]) @@ -3339,6 +3308,7 @@ y\\R'#DESCENDER \\n[.cdp]' \# \# +++TYPESETTING ALIASES+++ \# +.ALIAS ADD_SPACE ALD .ALIAS CENTRE CENTER .ALIAS COLOUR COLOR .ALIAS COMMENT SILENT @@ -3355,6 +3325,7 @@ y\\R'#DESCENDER \\n[.cdp]' .ALIAS LIG LIGATURES .ALIAS NEWCOLOUR NEWCOLOR .ALIAS PADMARKER PAD_MARKER +.ALIAS SP ALD .ALIAS SPACE ALD .ALIAS TABSET TAB_SET .ALIAS TB TAB @@ -3491,6 +3462,7 @@ y\\R'#DESCENDER \\n[.cdp]' . UNDERLINE_QUOTES . nr #IGNORE_COLUMNS 1 . char \(em -- +. tr `' . \} . if '\\$1'TYPESET' \{\ . nr #PRINT_STYLE 2 @@ -3697,13 +3669,13 @@ y\\R'#DESCENDER \\n[.cdp]' . ie !'\\*[$CHAPTER_TITLE]'' \{\ . ds $HDRFTR_CENTER \\*[$CHAPTER_TITLE] . \} -. el \{ .ds $HDRFTR_CENTER \\*[$CHAPTER_STRING] \} +. el \{ .ds $HDRFTR_CENTER \\*[$CHAPTER_STRING]\} . \} . el \{\ . ie !'\\*[$CHAPTER_TITLE]'' \{\ . ds $HDRFTR_CENTER \\*[$CHAPTER_TITLE] . \} -. el \{ .ds $HDRFTR_CENTER \\*[$CHAPTER_STRING] \\*[$CHAPTER] \} +. el \{ .ds $HDRFTR_CENTER \\*[$CHAPTER_STRING] \\*[$CHAPTER]\} . \} . \} . el \{\ @@ -4628,25 +4600,25 @@ y\\R'#DESCENDER \\n[.cdp]' \# String defaults for both PRINTSTYLEs . ie \\n[#DOC_TYPE]=1 \{\ . ie '\\*[$DOC_TITLE]'' \{\ -. if \\n[#USER_DEF_HDRFTR_LEFT]=0 \{ .ds $HDRFTR_LEFT \\*[$AUTHOR_1] \} +. if \\n[#USER_DEF_HDRFTR_LEFT]=0 \{ .ds $HDRFTR_LEFT \\*[$AUTHOR_1]\} . rr #USER_DEF_HDRFTR_LEFT -. if \\n[#USER_DEF_HDRFTR_RIGHT]=0 \{ .ds $HDRFTR_RIGHT \\*[$TITLE] \} +. if \\n[#USER_DEF_HDRFTR_RIGHT]=0 \{ .ds $HDRFTR_RIGHT \\*[$TITLE]\} . rr #USER_DEF_HDRFTR_RIGHT . \} . el \{\ . if \\n[#COPY_STYLE]=1 \{ .DRAFT_WITH_PAGENUMBER \} -. if \\n[#USER_DEF_HDRFTR_LEFT]=0 \{ .ds $HDRFTR_LEFT \\*[$AUTHOR_1] \} +. if \\n[#USER_DEF_HDRFTR_LEFT]=0 \{ .ds $HDRFTR_LEFT \\*[$AUTHOR_1]\} . rr #USER_DEF_HDRFTR_LEFT -. if \\n[#USER_DEF_HDRFTR_CENTER]=0 \{ .ds $HDRFTR_CENTER \\*[$TITLE] \} +. if \\n[#USER_DEF_HDRFTR_CENTER]=0 \{ .ds $HDRFTR_CENTER \\*[$TITLE]\} . rr #USER_DEF_HDRFTR_CENTER -. if \\n[#USER_DEF_HDRFTR_RIGHT]=0 \{ .ds $HDRFTR_RIGHT \\*[$DOC_TITLE] \} +. if \\n[#USER_DEF_HDRFTR_RIGHT]=0 \{ .ds $HDRFTR_RIGHT \\*[$DOC_TITLE]\} . rr #USER_DEF_HDRFTR_RIGHT . \} . \} . el \{\ -. if \\n[#USER_DEF_HDRFTR_LEFT]=0 \{ .ds $HDRFTR_LEFT \\*[$AUTHOR_1] \} +. if \\n[#USER_DEF_HDRFTR_LEFT]=0 \{ .ds $HDRFTR_LEFT \\*[$AUTHOR_1]\} . rr #USER_DEF_HDRFTR_LEFT -. if \\n[#USER_DEF_HDRFTR_RIGHT]=0 \{ .ds $HDRFTR_RIGHT \\*[$TITLE] \} +. if \\n[#USER_DEF_HDRFTR_RIGHT]=0 \{ .ds $HDRFTR_RIGHT \\*[$TITLE]\} . rr #USER_DEF_HDRFTR_RIGHT . \} . if !d$ATTRIBUTE_STRING \{ .ATTRIBUTE_STRING "by" \} @@ -5244,8 +5216,8 @@ y\\R'#DESCENDER \\n[.cdp]' \# \# .MAC COVERTITLE END -. ie '\\$0'DOC_COVERTITLE' \{ .ds $DOC_COVER_TITLE \\$1 \} -. el \{ .ds $COVER_TITLE \\$1 \} +. ie '\\$0'DOC_COVERTITLE' \{ .ds $DOC_COVER_TITLE \\$1\} +. el \{ .ds $COVER_TITLE \\$1\} .END \# \# @@ -7737,7 +7709,7 @@ y\\R'#DESCENDER \\n[.cdp]' \# event that the user enters .TITLE in caps/lc), I've used \# quad left, quad centre, and quad right to arrange the three bits \# of the header, rather than .tl. This allows the use of the CAPS macro. -\# The downside is that I have to add \\v'-(\\n[#LEAD]u*#) in order +\# The downside is that I have to add \\v'-(\\n[#LEAD]u*<n>) in order \# for -Tlatin1 output to align the header/footer strings on the baseline. \# The console output still isn't brilliant, but at least it's \# comprehensible. @@ -9153,9 +9125,20 @@ y\\R'#DESCENDER \\n[.cdp]' . if \\n[#PP_SPACE] \{\ . if \\n[#PRINT_STYLE]=2 \{\ . ie \\n[#END_QUOTE] \{\ +. ALD \\n[#DOC_LEAD]u . rr #END_QUOTE +. nr #NO_SPACE 1 +. nr #BASELINE_MARK \\n(nl +. \} +. el \{\ +. if \\n[#NO_SPACE]=1 \{\ +. rr #NO_SPACE +. \} +. if !\\n(nl=\\n[#BASELINE_MARK] \{\ +. ALD \\n[#DOC_LEAD]u +. rr #BASELINE_MARK +. \} . \} -. el \{ .ALD \\n[#DOC_LEAD]u \} . \} . \} . ie \\n[#INDENT_ACTIVE] \{ .ti \\n[#INDENT]u+\\n[#PP_INDENT]u \} @@ -11418,7 +11401,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]' . el \{ .nr #PAGINATE 0 \} . \} . if \\n[#FOOTERS_ON]=1 \{\ -. if !'\\*[$HDRFTR_CENTER_OLD]'' \{ .ds $HDRFTR_CENTER \\*[$HDRFTR_CENTER_OLD] \} +. if !'\\*[$HDRFTR_CENTER_OLD]'' \{ .ds $HDRFTR_CENTER \\*[$HDRFTR_CENTER_OLD]\} . \} . NEWPAGE . if \\n[#FOOTERS_ON]=1 \{\ @@ -11786,7 +11769,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]' . \} . \} . if \\n[#FOOTERS_ON]=1 \{\ -. if !'\\*[$HDRFTR_CENTER_OLD]'' \{ .ds $HDRFTR_CENTER \\*[$HDRFTR_CENTER_OLD] \} +. if !'\\*[$HDRFTR_CENTER_OLD]'' \{ .ds $HDRFTR_CENTER \\*[$HDRFTR_CENTER_OLD]\} . ie \\n[#PAGINATE_TOC]=1 \{ .PAGINATE \} . el \{ .PAGINATION OFF \} . \} @@ -13208,6 +13191,10 @@ E\\R'#CAP_HEIGHT \\n[.cht]' .ALIAS DO_DOC_COVER DO_COVER .ALIAS PRINT_FOOTNOTE_RULE FOOTNOTE_RULE \# +\# Miscellaneous aliases +.ALIAS SECTION LINEBREAK +.ALIAS SECTION_CHAR LINEBREAK_CHAR +\# \# Miscellaneous macros to take care of backward compatibility \# ----------------------------------------------------------- \# |