summaryrefslogtreecommitdiff
path: root/contrib/mom/om.tmac
Commit message (Collapse)AuthorAgeFilesLines
* Added missing $AUTHOR_FAM string to _FAMILY.PTPi2010-09-051-1/+1
|
* o Changes to COVER and DOCCOVER for greater flexibility in placementPTPi2010-08-181-61/+186
| | | | | | | | | of elements o Improved handling of MISC info on cover pages for greater style flexibility o Added _FAMILY, _FONT, _SIZE and _COLOR control macros for CODE
* om.tmac:PTPi2009-11-221-1/+2
| | | | | | | | | | | | | | | | o Added CLOSING_INDENT and SIGNATURE_SPACE to DOCTYPE LETTER macros. 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. docs: o updated
* Email address change.PTPi2009-09-231-1/+1
|
* Fixed .ILX when called within .ITEM.PTPi2009-08-011-15/+23
|
* Restored a (somehow missing) dot at the start of line 7137.PTPi2009-07-101-1/+1
|
* o Added CLOSING_INDENT and SIGNATURE_SPACE to DOCTYPE LETTER macros.PTPi2009-07-071-7/+27
|
* o Doc fixes and updatesPTPi2009-06-151-50/+114
| | | | | | | | | 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)
* Updated email address.PTPi2009-03-071-93/+55
|
* Update copyright year.wl2009-01-051-2/+2
|
* * */*: Update GPL2 to GPL3.wl2009-01-041-5/+4
|
* o Removed check for the register #PAGINATE from top of filePTPi2008-12-311-1/+0
|
* o Doc fixes in toc.htmlPTPi2008-12-311-2/+8
| | | | | o Control of null pagenumbering of covers passed to \n%; formerly handled by \n[#PAGE_NUM_ADJ]
* s/legal/valid/, s/illegal/invalid/.wl2008-12-241-1/+1
|
* o Added a CAPS option to HDRFTR_RECTO and HDRFTR_VERSO to allowPTPi2008-12-241-23/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | capitalization of reserved strings when designing recto and/or verso headers. Fixed docs accordingly. o Added .nr #DIVER_DEPTH 0 to end of PRINT_PAGE_NUMBER to ensure that #DIVER_DEPTH=0 o Moved string definition of $FONT in macro FT to top of macro. o Moved string definition of $FAMILY in macro FAMILY to top of macro. o Changed condition generating #NO_BREAK at top of macro COLLATE from .if ( \\n[.t] < \\n[.v] ) \{ .nr #NO_BREAK 1 \} to .if ( (\\n[.t]-1) <= \\n[.v] ) \{ .nr #NO_BREAK 1 \} (Bottom-of-page trap is tripped 1 unit below last legal baseline, not on it.) o Commented out what appears to be a superfluous and destructive resetting of #VARIABLE_FOOTER_POSITION at line 13347 in FOOTNOTE macro. For now, fixes the "vanishing first footnote with some overflow" bug. o Added a bit to .PP to accommodate .PP_FONT I when PRINTSTYLE is TYPEWRITE and ITALIC_MEANS_ITALIC o Removed spurious 'sp |\\n[MN-curr-pos]u from MNbottom-right, prior to re-invoking traps. Hopefully, fixes vanishing RH margin notes bug. o Added missing spaced paras bit in blockquotes.
* Fixed indent handling of refer items in endnotes.PTPi2008-02-161-14/+18
| | | | | Amendations to refer.html. Removed dead email address from groff_mom.man and appendices.html.
* Bug fixes: DROPCAP, LIST, SHIFT_LIST, TOC output. MiscellaneousPTPi2007-09-131-27/+68
| | | | documentation fixes.
* o Updated examples/elvis_syntax.newPTPi2006-08-011-290/+1691
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Updated ChangeLog, NEWS, BUGS, copyright and groff_mom.man o Removed documentation files in preparation for restoring them in their new xhtml versions. o Changed all .LLs in LIST to .ll requests. o Added new macro, FINIS_STRING_CAPS, to control capitalization of the finis string. o Amended doc section on page set up to include directions for telling groff about the physical dimensions of printer sheets. o Added new arg to BLANKPAGE: NULL. If given, BLANKPAGE does not increment the page number when outputting a blank page. o Added new control macros, COVERS_COUNT_PAGES and DOC_COVERS_COUNT_PAGES in case user wants covers counted in the pagination scheme. o Added new final arg to COVER and DOC_COVER: BLANKPAGE. Instructs COVER or DOC_COVER to print a blank page after the cover. o Added new optional args to CODE: BR, BREAK, SPREAD. CODE can now be called inline; if called as a macro and the user wants a break or spread, s/he has to supply one of the args. o Added new macro, CODE_FAMILY, to set fixed-width family used by .CODE o Made EDITOR an alias of AUTHOR o Added optional arguments, COVER or DOC_COVER, to reference macros that may be used on covers and doc covers, allowing users greater flexibility in determining exactly what goes on covers and doc covers without screwing up the doc header or the default page headers/footers o Added macros to control the weight and placement of all underscore/underline rules used in typesetting and document processing o Added macros for drawing of rules, boxes and circles (ellipses) o Added macro, RULE_WEIGHT, to control weight of rules drawn with \*[RULE] o General doc updates, additions, amendations and corrections o Reformatted entirety of documentation to be xhtml clean o Added inlines \*[UC] and \*[LC] to handle inline caps; corrected doc entry stating that you can use \*[CAPS] and \*[CAPS OFF]; chief reason is to allow inline capitalization in strings passed to header/footer definitions. o Changed inline, \*[RULE], so that it always draws the rule one linespace beneath the last output line. Formerly, \*[RULE] drew the rule on the baseline of the current output line. o Changed UNDERSCORE and UNDERSCORE2 to use groff's \D'l <n> <n>' line drawing function. o Changed RULE to use groff's \D'l <n> <n>' line drawing function. o Added RULE_WEIGHT macro, to allow controlling weight of \*[RULE], expressed in points (including fractional points). o Added two new inlines, \*[UC] (all caps) and \*[LC] (caps/lowercase). These can be used in user-defined header/footer strings (if \E is used instead of just the backslash by itself) as well as in normal copy. o Added .FAMILY \\*[$DOC_FAMILY] and .FT R to the end of .DEFAULT_DOCHEADER, .CHAPTER_DOCHEADER and .NAMED_DOCHEADER. Fixes bug that was causing type which was set after .START when no docelement tag given to be set in the last family and font used in the docheader, instead of the expected $DOC_FAMILY and roman font (R). o Updated copyright file o Massive documentation cleanup to make docs well-formed xhtml o Rewrote portions of TITLE, COVERTITLE, DOCCOVERTITLE, CHAPTER_TITLE, SUBTITLE and MISC so that when they're called from .COLLATE, they properly clean out all associated strings and registers. Fixes the "vanishing $TITLE" bug. o Added missing .rm $AUTHORS to .AUTHOR. .as $AUTHORS now always starts with a clean slate. o Added a missing </nobr> tag to docelement.html.
* o In header and footer routines, changed all .FAMILY calls whenPTPi2006-06-101-58/+235
| | | | | | | | | | | | | | | | .PRINTSTYLE TYPESET to .fam o Fixed DOC_FAMILY so that PARAHEAD_FAMILY and LINENUMBER_FAMILY are properly set to the new value. o Re-worked .QUOTE_INDENT so that users can pass it an absolute value (by adding a scaling indicator to the arg) instead of just a value relative to the paragraph indent. Fixes bug (oversight?) that meant QUOTES and BLOCKQUOTES got no indent at all if the PP_INDENT was 0. Fixed EPIGRAPH_INDENT similarly. o Added missing default ENDNOTE_LINENUMBER_FAMILY and _FONT to DEFAULTS.
* o Changed distance of the underscores used in docheaders whenPTPi2006-06-081-452/+550
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PRINTSTYLE is TYPEWRITE from the default 2p to 4p. This is to leave room for the descenders if the strings are caps/lowercase. o Added strings $AUTHOR and $AUTHORS. $AUTHOR = $AUTHOR_1 (i.e. the first arg passed to .AUTHOR); $AUTHORS = a comma-separated concatenated string of all the args passed to .AUTHOR. o Updated docs. o Converted all .ig blocks in om.tmac to comment lines beginning with \#. This so that the comments will be stripped from om.tmac during make. The groff sources still contain the commented version of om.tmac, as do the tarballs posted on mom's homepage. o Added new macro, HEADERS_AND_FOOTERS, to allow having both headers and footers on a page. o Fixed whitespace around epigraphs after .DOCTYPE CHAPTER docheaders. o Added test in .PP_FONT for existence of $SAVED_PP_FT; if it's there, remove it (fixes bug that was causing .PP to ignore .PP_FONT after .COLLATE). Also fixed .PP so that it properly passes $PP_FT to .FT if $PP_FT has been re-defined to $SAVED_PP_FT. o Added a note about colorizing underscored text in the docs. o Adjusted the .ne value for heads and subheads (again) o In the documentation, removed the section stating that setting the family, font, pointsize and colour of line numbers wasn't possible. o Updated documentation entry for TOCs to include instructions for using psselect.
* o Added string $PRE_CODE_FAM to CODE; fixes bug that keptPTPi2006-05-201-3/+7
| | | | | | | | | CODE OFF from restoring the previous family_font combo o Added a test for existence of register #DEPTH to .ITEM; if it doesn't exist, ignore ITEM o BUGS and ChangeLog updated
* o Updated docsPTPi2006-05-191-281/+503
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Added macro, CODE o DOCTITLE, TITLE, CHAPTER_TITLE, SUBTITLE, COVERTITLE and DOC_COVERTITLE now accept multiple arguments; each is printed on a separate line in docheaders and on cover pages. Where the macros also supply reference information to page headers, endnotes and tables of contents, the args are concatenated. o Changed default DOCHEADER_LEAD to +0 when there's both the chapter number and a chapter title in DOCTYPE CHAPTER. Compensated by adding 1/4 of the leading in effect for docheaders between them. Applies equally similar situations on covers and doc covers. o Added missing default ENDNOTES_ALLOWS_HEADERS to DEFAULTS. o Added missing temporary change of the pad marker from # to ^ to the toc title collection routine of .ENDNOTES. o Added string $SAVED_PP_FT to start of .COLLATE; string is tested for in .PP o Improved testing for $FONT and $PP_FT in DEFAULTS o Trivial changes to docheader spacing for doctypes DEFAULT and NAMED when PRINTSTYLE is TYPEWRITE. o Call to .ne in HEAD moved higher in macro, and .ne's reduced each by 1. o Handling of "how much space is needed for subheads + 1 line of text" in SUBHEAD changed to a simple .ne. Fixes bug that was causing overprinting of columns when s/h was deferred to next page/column. o In macro, PRINT_HDRFTR, removed .EOL from clause .if \\n[#HDRFTR_COLOR]=1 o Fixed broken link to DOCTITLE in docs.
* o Corrected doc entry that stated TOC control macros can be enteredPTPi2006-05-091-100/+246
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Missing #COLLATE register (accidentally wiped out) creating variouswl2006-04-071-1/+2
| | | | | problems with .COLLATE (missing headers, leading increasing slightly each time .COLLATE invoked, etc).
* o Fix an endless loop which prevented compilation ofwl2006-03-281-3/+3
| | | | examples/typesetting.mom.
* o Added a .SHIM after .sp \\n[#DC_LINES]v in .DROPCAP. Fixeswl2006-03-171-27/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem of dropcaps in initial paragraphs after COLLATE being set slightly too high. o Added .rr #DOC_LEAD_ADJUST_OFF to .ie clause of DOC_LEAD_ADJUST and removed .rr #DOC_LEAD_ADJUST_OFF from DEFAULTS (after TRAPS) so that document leading adjustment (or lack thereof) is maintained from doc to doc when COLLATE is being used. o Added new register, #PRE_COLLATE. The .FAMILY macro is called several times during initial COLLATE processing, and contained a stanza that allowed FAMILY, after a collate, to invoke DOC_FAMILY if #COLLATE=1. This allowed users to use FAMILY after a COLLATE but before START in a way consistent with the behaviour described in the docs (namely, FAMILY before START sets the DOC_FAMILY). Since that functionality is still needed, #PRE_COLLATE instructs FAMILY not to reset DOC_FAMILY until COLLATE is complete (i.e. after the break to a new page). #PRE_COLLATE, if set to 1, is removed at the end of HEADER. o Added control macros for linenumbering family, font, point size and color o Added a NO_SHIM macro o Changed .PRINT "\h'\\n[#LIST_INDENT\\n[#DEPTH]]u' in the "ROMAN I, padded" and "roman i, padded" clauses of ITEM to .PRINT "\h'\\n[#HL_INDENT\\n[#DEPTH]]u' to fix bug associated with using both PAD_LIST_DIGITS LEFT and SHIFT_LIST.
* o Removed superfluous "if" from FONT, line 492wl2006-02-251-18/+19
| | | | | | | | | | | | o Removed #ADD_BREAK register from FOOTNOTE and ENDNOTE, along with the routines it invoked o Added an optional argument, BREAK, to FOOTNOTE OFF and ENDNOTE OFF, for correct and flexible handling of punctuation and continued lines when FOOTNOTE or ENDNOTE are called while nofill mode is active. o Created an alias for .so, INCLUDE.
* * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entrywl2006-02-241-4/+4
| | | | | | | | | | | | for \-. Remove commented out entries for \' and \` (there are no such glyph names). * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove commented out entries for \' and \`. * */*: s/legal/valid/ where appropriate.
* o Small fix to handling of underlining of italic text spanningwl2006-02-041-6/+10
| | | | pages in PRINTSTYLE TYPEWRITE.
* o Reworked changing and setting of traps associated with outputtingwl2006-01-141-32/+78
| | | | | | | | | | | | | | | | | left and right margin notes. See BUGS. o Bracketed outputting of margin notes diversions with .nf/.fi. o Corrected docs MN_INIT so that the optional first arg is properly given as RAGGED | SYMMETRIC o Fixed MN_INIT macro routine that reads MN_INIT args into strings so that the strings are first "initialized" with the @ character if the corresponding arg is blank. Since MN-init tests for \A and \B (correctly, I hope) for each of its args, the @ character should be safe.
* Version 1.3-awl2005-09-151-5/+8
| | | | | | | ============= First baseline of type isn't going where it's supposed to when the docheader is turned off.
* *** empty log message ***wl2005-08-071-2/+5
|
* *Thu May 12 2005wl2005-05-141-908/+3585
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* o Added \*[TB+] and \*[B] to give inline functionality of .TN andwl2005-01-241-105/+92
| | | | | | | | | | | | | | | | | | | | .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).
* (VFP_CHECK): Must be run in a separate environment.wl2004-12-101-10/+14
|
* o Small fixes to elvis_syntax.new (dealing with strings, \{\ and \}wl2004-12-081-85/+93
| | | | | | | | | | | | | | | | 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.
* o Reworked the LL macro so that the argument can take a prepended +wl2004-10-151-30/+65
| | | | | | | | | | | | | | | or - sign (i.e. the argument is relative to the current line length). o Added an .if \\n(.n=0 if to the ie clause in LS that controls how mom responds to initial LS invocation at page top if T_MARGIN has been set. Now, if there's text on the "top" baseline, LS behaves as expected when invoked afterwards. o Added an ie !r#DOCS clause to the processing of "top baseline" ALDs. ALD is used extensively (internally) in the document processing macros, and does not need to check--indeed, should not check--for top baseline placement prior to execution.
* o Additions to elvis_syntax.newwl2004-09-291-23/+83
|
* o Small fixes to the documentation.wl2004-09-131-1/+1
|
* Fix email address.wl2004-08-311-1/+1
|
* o Removed superfluous second arguments from strings UP, DOWN, FWDwlemb2004-08-281-17/+18
| | | | and BCK
* o Version changed from the 1.1.x series to 1.2. All of thewlemb2004-08-091-361/+1021
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | features I originally wanted mom to have originally have been implemented, and appear to be stable. o Major overhaul to the setting of page traps and the handling of footnotes, both "normal" footnotes and footnotes that occur inside QUOTE, BLOCKQUOTE and EPIGRAPH. o Addtion of font "styles" to om.tmac, plus changes to the FAMILY and FT macros to manage them. New section in the doc appendices on adding fonts and managing the new font styles. o Mom now uses a "fallback font" whenever there's an illegal call to FAMILY. o RW and EW now affect only the font in effect. A change of family or font disables them. o BR_AT_LINE_KERN now properly does a .brp (spread and break) when used in justified text. o NEWPAGE, which used to be an alias for .bp, has been moved into its own macro, in order to make it more responsive to some unusal situations. o Some changes to elvis_syn.new, including that the file extensions recognized by elvis now include both .mom and .tmac. This makes om.tmac much easier to read. *Jul 6 2004 o FT and FAM(ILY) reworked to take advantage of if S, if F and \n[.sty] additions to groff (1.19.2). Warnings are emitted if a style hasn't been registered, or if a font style doesn't exist in the current family. Invalid .FAM(ILY) calls now use a "fallback" font" (although no warning is issued); fallback is user-settable o New macro, FALLBACK_FONT. Not only controls the fallback font for invalid family calls, but also controls whether mom aborts on invalid .FT calls after issuing a warning. o RW/EW now affect only the current font (or font style) o BR_AT_LINE_KERN now (properly) does a break-and-spread when text is justified. o Fairly extensive list of .sty's added to om.tmac. Hopefully, this will make life easier for users wishing to add new fonts and/or entire new families to their groff site-font/devps directory. *Jun 6 2004 o Altered kerning slightly for footnote markers in text. Daggers and double-daggers were getting a bit jammed
* o Rewrote the routines dealing with _FAMILY, _FONT, _SIZE, _COLORwlemb2004-06-041-2163/+2498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and _QUAD. A single macro for each checks for the calling alias (e.g. TITLE_FAMILY in _FAMILY), and performs the appropriate action. o All "COLOUR" aliases of "COLOR", no matter where, have been removed. o Added cover and doc cover page generation. o Added reference macros COVERTITLE, DOC_COVERTITLE, MISC and COPYRIGHT (for use with covers only) o Fixed EL and TN so they don't spring page traps; in nofill modes the preceding input line must be terminated by \c. o Added #T_MARGIN_LEAD_ADJ to DO_B_MARGIN, DO_T_MARGIN and NEWPAGE to ensure accurate placement of first lines on new pages when docprocessing is not taking place. o Made NEWPAGE it's own macro; formerly just an alias of .bp. o Made BREAKQUOTE obsolete; rewrote sections of footnote handling, including adding support macros to deal with processing of footnotes that were started inside quotes, blockquotes and epigraphs. o Added a TERMINATE .em to docprocessing (except letters) to ensure that deferred footnotes print on the last page of a doc.
* o Added color supportwlemb2004-03-221-192/+966
| | | | | | | | | | o Adjusted vertical placement of hyphens around page numbering so that they are better centered on the height of the page number. o Re-wrote portions of the document processing macros so that tabs behave in a consistent and intuitive manner. Tab structures are now properly preserved from page to page and column to column.
* o Rewrote the macros associated with DOCTYPE LETTER so that thewlemb2004-02-221-234/+248
| | | | | | | | | | | | | | | | | | | | user can enter DATE, TO and FROM in any order s/he likes. For backward compatibility, if the older, fixed order (DATE-TO-FROM) is used, the date goes flush right with two linespaces after it, while the other fields go flush left with a single linespace separating them. o Fixed handling of DOCHEADER OFF <distance> when <distance> fell short of the top margin of running text (the change is actually in the SHIM macro, which is called by DOCHEADER). o Added a selection of iso 639 two-letter language codes as optional arguments to SMARTQUOTES, so that the use can enter her/his language code to get language specific quoting styles o Changed the way the strings for \*[ST<n>], \*[ST<n>X], \*[FU<n> and \*[BU<n> are read. Formerly, they were entered literally. Now they're entered as an array.
* fix typowlemb2004-01-261-2/+2
|
* o Added lists and associated macros. Mom now does (nested) lists.wlemb2004-01-251-22/+381
| | | | | | | | | | | | | | | | | | | o Added German-style lowered double quotes and two styles of guillemets to SMARTQUOTES. o Added macro SIZE, intended to be called inline as \*[SIZE <n>]. This is to bring mom's inline size change syntax into line with her other inlines. o Added ESC_CHAR as an alias of .ec o Added doc entries for lists. o Updated SMARTQUOTES entry in docs. o Updated reserved words in docs. o Fixed a few more typos in docs.
* o Changed \n[#DRAFT] and \n[#REVISION] to strings \*[$DRAFT] andwlemb2003-10-221-62/+131
| | | | | | | | | | | | \*[$REVISION], allowing for the possibility of blank entries that don't mess up headers/footers with zeros if user doesn't want any numbers. o Extended handling of draft and revision numbers and strings in headers/footers for increased flexibility. It's possible now to have just about any combo of DRAFT_STRING, DRAFT, REVISION_STRING and REVISION, and have them come out in headers/footers as one intuitively expects/wants.
* o Added a .bp after .if \\n[#START]=1 in FOOTER. Without it,wlemb2003-08-171-3/+4
| | | | | | | | in document processing mode, documents that use *none* of the docprocessing tags (yes, there are times when users want to do this) ignored the footer trap. o Changed register #DOCHEADER_LEAD_ADJ to string
* Added a SHIM macro that calculates and moves to the next "legal"wlemb2003-07-071-29/+69
| | | | | | | | | | | 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.