summaryrefslogtreecommitdiff
path: root/contrib/mom
Commit message (Collapse)AuthorAgeFilesLines
...
* o Changes to COVER and DOCCOVER for greater flexibility in placementPTPi2010-08-184-67/+214
| | | | | | | | | 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
* Complete overhaul of documentation; added new files.PTPi2010-08-1822-0/+32416
|
* Complete doc overhaul; removed old filesPTPi2010-08-1820-31421/+0
|
* om.tmac:PTPi2009-11-226-111/+61
| | | | | | | | | | | | | | | | 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-235-5/+5
|
* Fixed .ILX when called within .ITEM.PTPi2009-08-013-15/+31
|
* 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-078-27/+104
|
* o Doc fixes and updatesPTPi2009-06-1515-135/+403
| | | | | | | | | 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)
* Fixed cvs conflict markers.PTPi2009-03-261-2/+0
|
* Updated email address.PTPi2009-03-078-105/+117
|
* * */Makefile.* (CLEANADD, CLEANNOTSRCDIRADD, CLEANDIRADD): Renamedgroff-1_20_1wl2009-01-081-1/+1
| | | | | to... (MOSTLYCLEANADD, MOSTLYCLEANNOTSRCDIRADD, MOSTLYCLEANDIRADD): This.
* Update FDL 1.1 to FDL 1.3.wl2009-01-0521-21/+21
|
* Update copyright year.wl2009-01-0533-34/+37
|
* * */*: Update GPL2 to GPL3.wl2009-01-042-10/+8
|
* Makefile.sub (CLEANADD): Add om.tmac-s.wl2009-01-042-3/+9
|
* Update .cvsignore files.wl2009-01-031-0/+2
|
* o Removed check for the register #PAGINATE from top of filePTPi2008-12-311-1/+0
|
* o Doc fixes in toc.htmlPTPi2008-12-314-6/+26
| | | | | 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-244-9/+9
|
* o Added a CAPS option to HDRFTR_RECTO and HDRFTR_VERSO to allowPTPi2008-12-2411-59/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-167-30/+62
| | | | | Amendations to refer.html. Removed dead email address from groff_mom.man and appendices.html.
* groff_mom.man: Replace .URL with .UR/.UE.wl2008-01-042-8/+20
| | | | | | Replace .MTO with .MT/.ME. Insert `\:' in URLs where appropriate. Don't include www.tmac.
* Bug fixes: DROPCAP, LIST, SHIFT_LIST, TOC output. MiscellaneousPTPi2007-09-1311-52/+160
| | | | documentation fixes.
* Add and update copyright messages.wl2007-08-1831-1/+421
|
* Fixed broken links in momdoc/macrolist.html.PTPi2006-09-284-111/+121
|
* Re-added documentation files in their new xhtml format. Added aPTPi2006-08-0120-0/+30891
| | | | new file, graphical.html.
* o Updated examples/elvis_syntax.newPTPi2006-08-0127-26149/+1859
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Added missing </nobr> tag to docelement.html.PTPi2006-06-142-2/+6
|
* o In header and footer routines, changed all .FAMILY calls whenPTPi2006-06-1010-85/+456
| | | | | | | | | | | | | | | | .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 Makefile.sub: Strip om.tmac before installation.wl2006-06-102-4/+23
|
* o Changed distance of the underscores used in docheaders whenPTPi2006-06-0813-603/+1133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-203-5/+24
| | | | | | | | | 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-1910-381/+748
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0911-158/+670
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-074-5/+12
| | | | | problems with .COLLATE (missing headers, leading increasing slightly each time .COLLATE invoked, etc).
* o Fix an endless loop which prevented compilation ofwl2006-03-283-3/+17
| | | | examples/typesetting.mom.
* o Added a .SHIM after .sp \\n[#DC_LINES]v in .DROPCAP. Fixeswl2006-03-178-45/+233
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Makefile.sub: Add DESTDIR to install and uninstall targets to supportwl2006-02-262-17/+26
| | | | staged installations.
* o Removed superfluous "if" from FONT, line 492wl2006-02-257-112/+294
| | | | | | | | | | | | 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-2410-25/+25
| | | | | | | | | | | | 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-042-6/+15
| | | | pages in PRINTSTYLE TYPEWRITE.
* o Reworked changing and setting of traps associated with outputtingwl2006-01-146-43/+178
| | | | | | | | | | | | | | | | | 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.
* *** empty log message ***wl2005-09-151-0/+5
|
* Version 1.3-awl2005-09-153-7/+17
| | | | | | | ============= First baseline of type isn't going where it's supposed to when the docheader is turned off.
* o Makefile.sub (HTMLDOCFILES): Add `refer.html'wl2005-08-112-0/+5
|
* *** empty log message ***wl2005-08-072-2/+11
|
* Fix persistent error in html coding of docs (<nobr> tag).wl2005-08-076-199/+199
|
* Fix persistent error in html coding of docs (<nobr> tag).wl2005-08-074-15/+15
|
* o Makefile.sub (HTMLDOCFILES_, EXAMPLEFILES_, PROCESSEDEXAMPLEFILES_): Newwl2005-06-202-16/+29
| | | | | | | variables. (install_data): Install files in `mom' subdirectories. Make it work actually. (uninstall_sub): Updated.