/[groff]/groff/contrib/mom/momdoc/docelement.html
ViewVC logotype

Log of /groff/contrib/mom/momdoc/docelement.html

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Tag:

Revision 1.44 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 6 19:22:49 2013 UTC (10 years, 6 months ago) by PTPi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.43: +117 -153 lines
Diff to previous 1.43
Fixes to linenumbering; doc updates.
Fix to tbl handling for columns.


Revision 1.43 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 2 00:15:13 2013 UTC (10 years, 6 months ago) by PTPi
Branch: MAIN
Changes since 1.42: +13 -8 lines
Diff to previous 1.42
Fixes to TOC, BIBLIOGRAPHY, and ENDNOTES leading management and
traps.


Revision 1.42 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Oct 30 19:15:10 2013 UTC (10 years, 6 months ago) by PTPi
Branch: MAIN
Changes since 1.41: +1 -1 lines
Diff to previous 1.41
Expanded and improved float and tbl handling.
Fixes to AUTOLEAD, SMARTQUOTES, and CODE from patches supplied by
Robin Haberkorn.
Doc updates and revisions.


Revision 1.41 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 7 15:19:58 2013 UTC (10 years, 11 months ago) by PTPi
Branch: MAIN
Changes since 1.40: +20 -2 lines
Diff to previous 1.40
Small fix to HEADERS_AND_FOOTERS; doc update.


Revision 1.40 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Jan 29 05:02:45 2013 UTC (11 years, 3 months ago) by PTPi
Branch: MAIN
CVS Tags: groff-1_22_2, groff-1_22_2_real
Changes since 1.39: +3 -2 lines
Diff to previous 1.39
Added FORCE argument to FLOAT; updated docs.
Trivial fixes.


Revision 1.39 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 31 22:49:58 2012 UTC (11 years, 8 months ago) by PTPi
Branch: MAIN
CVS Tags: groff-1_22, groff-1_22_1, groff-1_22_1_real
Changes since 1.38: +851 -1202 lines
Diff to previous 1.38
o Version 2.0 (gropdf integration) release


Revision 1.38 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 22 19:42:29 2011 UTC (13 years, 2 months ago) by PTPi
Branch: MAIN
Changes since 1.37: +248 -27 lines
Diff to previous 1.37
Added support for sub-subheads from patch supplied by Petr Man.
Updated docs.


Revision 1.37 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Oct 3 23:26:29 2010 UTC (13 years, 7 months ago) by PTPi
Branch: MAIN
CVS Tags: groff-1_21
Changes since 1.36: +469 -212 lines
Diff to previous 1.36
o Complete overhaul of refer macros and documentation
o Inclusion of Tadziu Hoffman's postscript code for underlining
o Doc fixes


Revision 1.36 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Aug 18 22:45:35 2010 UTC (13 years, 9 months ago) by PTPi
Branch: MAIN
Changes since 1.35: +3883 -4725 lines
Diff to previous 1.35
Complete overhaul of documentation; added new files.


Revision 1.35
Wed Aug 18 22:40:43 2010 UTC (13 years, 9 months ago) by PTPi
Branch: MAIN
Changes since 1.34: +0 -0 lines
FILE REMOVED
Complete doc overhaul; removed old files


Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 22 18:57:54 2009 UTC (14 years, 6 months ago) by PTPi
Branch: MAIN
Changes since 1.33: +1 -1 lines
Diff to previous 1.33

om.tmac:

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


Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jun 15 03:01:23 2009 UTC (14 years, 11 months ago) by PTPi
Branch: MAIN
Changes since 1.32: +53 -4 lines
Diff to previous 1.32
o Doc fixes and updates
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)


Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 20:33:53 2009 UTC (15 years, 4 months ago) by wl
Branch: MAIN
CVS Tags: groff-1_20, groff-1_20_1, groff-1_20_1_real
Changes since 1.31: +1 -1 lines
Diff to previous 1.31
Update FDL 1.1 to FDL 1.3.


Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 5 20:10:48 2009 UTC (15 years, 4 months ago) by wl
Branch: MAIN
Changes since 1.30: +1 -1 lines
Diff to previous 1.30
Update copyright year.


Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Sep 13 16:57:59 2007 UTC (16 years, 8 months ago) by PTPi
Branch: MAIN
Changes since 1.29: +4 -1 lines
Diff to previous 1.29
Bug fixes: DROPCAP, LIST, SHIFT_LIST, TOC output.  Miscellaneous
documentation fixes.


Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 18 07:06:57 2007 UTC (16 years, 9 months ago) by wl
Branch: MAIN
Changes since 1.28: +15 -0 lines
Diff to previous 1.28

Add and update copyright messages.


Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 1 01:14:08 2006 UTC (17 years, 9 months ago) by PTPi
Branch: MAIN
Changes since 1.27: +3680 -2222 lines
Diff to previous 1.27

Re-added documentation files in their new xhtml format.  Added a
new file, graphical.html.


Revision 1.27
Tue Aug 1 01:11:52 2006 UTC (17 years, 9 months ago) by PTPi
Branch: MAIN
Changes since 1.26: +0 -0 lines
FILE REMOVED

o Updated examples/elvis_syntax.new

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.


Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jun 14 20:35:23 2006 UTC (17 years, 11 months ago) by PTPi
Branch: MAIN
Changes since 1.25: +1 -1 lines
Diff to previous 1.25
Added missing </nobr> tag to docelement.html.


Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jun 10 23:08:00 2006 UTC (17 years, 11 months ago) by PTPi
Branch: MAIN
Changes since 1.24: +131 -18 lines
Diff to previous 1.24
o In header and footer routines, changed all .FAMILY calls when
  .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.


Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 8 21:11:03 2006 UTC (17 years, 11 months ago) by PTPi
Branch: MAIN
Changes since 1.23: +190 -85 lines
Diff to previous 1.23
o Changed distance of the underscores used in docheaders when
  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.


Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Fri May 19 21:49:07 2006 UTC (18 years ago) by PTPi
Branch: MAIN
Changes since 1.22: +35 -43 lines
Diff to previous 1.22
o Updated docs

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.


Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 9 21:41:36 2006 UTC (18 years ago) by PTPi
Branch: MAIN
Changes since 1.21: +111 -8 lines
Diff to previous 1.21
o Corrected doc entry that stated TOC control macros can be entered
  anywhere in a file prior to invoking TOC (TOC control macros must
  come before START).

o Removed spurious .nop from .ie \\n[#PRE_COLLATE]=1 clause in
  FAMILY (fixes bug that was causing page numbers on pages before
  COLLATE or TOC to be printed too low).

o Added a test at top of COLLATE to set register #NO_BREAK to 1
  if the distance to the next trap is less than one linespace; used
  in NEWPAGE to determine whether to do a 'br or .br. (fixes BUG
  that was causing COLLATE, NEWPAGE, and TOC to spit out a blank
  page when the last line of text before them happened to fall on
  the last legal baseline of the page).

o Changed pad marker used to format TOC entries to permit use of
  the pound/number sign (#) in head elements.

o New macro, PREFIX_CHAPTER_NUMBER, to allow users to prepend
  chapter numbers to the numbering scheme used in head element
  numbering.

o Added missing periods at the ends of head, subhead, parahead
  numbers.

o CHAPTER, with a numeric argument, can now be used to identify any
  document as a "chapter" for the purposes of prefixing the
  argument to CHAPTER to the numbering scheme of head elements.

o Fixed alignment of TOC entries.

o Removed .rr #DOC_HEADER and replaced with

    .if \\n[#DOC_HEADER]=1 \{ .nr #DOC_HEADER 2 \}

  near the end of START.  I.e., #DOC_HEADER becomes "2"  if
  docheaders were on in the previous document.  COLLATE tests for 2
  in order to reset #DOC_HEADER to 1 for use in the user-invoked START
  that comes after a COLLATE.

o Added register, #CHAPTER_CALLED, to CHAPTER; tested for in
  PREFIX_CHAPTER_NUMBER to determine whether the argument to CHAPTER
  can be used to establish a chapter number for chapter number
  prefixes in head element numbering.

o Fixed bug that was causing shifted lists, when returned to, to
  revert to the left margin instead of observing the correct
  indent+shift for the list.

o Added a check in LIST so that if user invokes LIST with RETURN,
  mom doesn't get confused by the initial `R' (which she was using
  to check if the arg to LIST was ROMAN or roman).

o Replaced an incorrectly copied code block in SUBHEAD that was
  preventing SUBHEAD from processing subheads properly when
  PARA_SPACE was on.

o trivial corrections to docs


Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Apr 7 17:59:07 2006 UTC (18 years, 1 month ago) by wl
Branch: MAIN
Changes since 1.20: +2 -3 lines
Diff to previous 1.20

Missing #COLLATE register (accidentally wiped out) creating various
problems with .COLLATE (missing headers, leading increasing
slightly each time .COLLATE invoked, etc).


Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Mar 17 21:51:05 2006 UTC (18 years, 2 months ago) by wl
Branch: MAIN
Changes since 1.19: +48 -16 lines
Diff to previous 1.19

o Added a .SHIM after .sp \\n[#DC_LINES]v in .DROPCAP.  Fixes
  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.


Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 25 06:28:53 2006 UTC (18 years, 2 months ago) by wl
Branch: MAIN
Changes since 1.18: +170 -87 lines
Diff to previous 1.18

o Removed superfluous "if" from FONT, line 492

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.


Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Feb 24 08:08:42 2006 UTC (18 years, 2 months ago) by wl
Branch: MAIN
Changes since 1.17: +5 -5 lines
Diff to previous 1.17

* src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
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.


Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Jan 14 08:22:41 2006 UTC (18 years, 4 months ago) by wl
Branch: MAIN
Changes since 1.16: +17 -6 lines
Diff to previous 1.16

o Reworked changing and setting of traps associated with outputting
  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.


Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Aug 7 08:56:38 2005 UTC (18 years, 9 months ago) by wl
Branch: MAIN
CVS Tags: groff-1_19_2
Changes since 1.15: +41 -41 lines
Diff to previous 1.15

Fix persistent error in html coding of docs (<nobr> tag).


Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Sat May 14 07:07:13 2005 UTC (19 years ago) by wl
Branch: MAIN
Changes since 1.14: +1531 -352 lines
Diff to previous 1.14

*Thu May 12 2005

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


Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jan 24 08:23:21 2005 UTC (19 years, 3 months ago) by wl
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13

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).


Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 9 09:07:48 2004 UTC (19 years, 9 months ago) by wlemb
Branch: MAIN
CVS Tags: FDL
Changes since 1.12: +29 -3 lines
Diff to previous 1.12

o Version changed from the 1.1.x series to 1.2.  All of the
  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


Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Jun 4 06:43:08 2004 UTC (19 years, 11 months ago) by wlemb
Branch: MAIN
Changes since 1.11: +169 -48 lines
Diff to previous 1.11

o Rewrote the routines dealing with _FAMILY, _FONT, _SIZE, _COLOR
  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.


Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 22 06:20:11 2004 UTC (20 years, 2 months ago) by wlemb
Branch: MAIN
CVS Tags: groff-1_19_1
Changes since 1.10: +127 -20 lines
Diff to previous 1.10

o Added color support

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.


Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Feb 22 09:22:13 2004 UTC (20 years, 3 months ago) by wlemb
Branch: MAIN
Changes since 1.9: +174 -98 lines
Diff to previous 1.9

o Rewrote the macros associated with DOCTYPE LETTER so that the
  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.


Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 25 07:23:00 2004 UTC (20 years, 3 months ago) by wlemb
Branch: MAIN
Changes since 1.8: +415 -9 lines
Diff to previous 1.8

o Added lists and associated macros.  Mom now does (nested) lists.

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.


Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Jul 7 20:55:43 2003 UTC (20 years, 10 months ago) by wlemb
Branch: MAIN
Changes since 1.7: +13 -6 lines
Diff to previous 1.7

Added a SHIM macro that calculates and moves to the next "legal"
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.


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Mon May 19 05:07:47 2003 UTC (21 years ago) by wlemb
Branch: MAIN
Changes since 1.6: +884 -92 lines
Diff to previous 1.6
o Added TOC (finally) and a nearly complete set of associated
  control macros

o Added new control macros to endnotes:

  ENDNOTES_STRING_CAPS       - capitalize the endnotes string
  ENDNOTES_NO_COLUMNS        - allows docs in columns and endnotes not
  ENDNOTES_PAGENUM_STYLE     - set page numbering style for endnotes
  ENDNOTES_FIRST_PAGENUMBER  - set first pagenumber for endnotes
  ENDNOTES_ALLOWS_HEADERS    - page headers on endnotes pages off or on
  ENDNOTES_NO_FIRST_PAGENUM  - allows non-printing first page number when page footers are being used instead of headers
  ENDNOTES_SINGLE_SPACE      - for TYPEWRITE, if doc double-spaced
  SUSPEND/RESTORE_PAGINATION - turns page numbering off for endnotes

o Added an ADJUST option to ENDNOTE_LEAD

o Added DOC_TITLE (like TITLE, but sets document-wide title for collated docs)

o Added HDRFTR_CENTER_PAD, to allow adjustments to placement of
  HDRFTR_CENTER_STRING

o Added BLANKPAGE macro, to output blank pages (silently numbered)

o Extensive changes to DEFAULTS, START, COLLATE, HEAD, SUBHEAD and
  PARAHEAD because of new TOC and extended flexibility of ENDNOTES
  page design

o Fixed DOCHEADER OFF (distance), FINIS

o (Re)-fixed handling of post epigraph spacing after #START for
  TYPEWRITE double-spaced.


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Feb 25 21:07:19 2003 UTC (21 years, 2 months ago) by wlemb
Branch: MAIN
CVS Tags: groff-1_19
Changes since 1.5: +6 -2 lines
Diff to previous 1.5
o Added James Ramsey's proposed CHAPTER_TITLE macro, along with his
  rewritten START macro and his utility macros to make START easier
  to read.

o Expanded handling of CHAPTER_TITLE to encompass TYPEWRITE, as well as
  plugging it into the docheaders.  Made CHAPTER_TITLE backwardly
  compatible so that pre-1.1.5 docs using CHAPTER_STRING to create a
  chapter title remain unaffected when groffed with 1.1.5.

o Created control macros for CHAPTER_TITLE FAMILY, FONT and SIZE.
  Added defaults for handling of CHAPTER title to DEFAULTS.  Documented
  CHAPTER_TITLE and everything that goes along with it.

o Fixed broken draft and revision in headers/footers.

o Fixed \*[RULE] so that it behaves properly with indents and justified
  copy.

o Fixed/tweaked handling of epigraph spacing in TYPEWRITE.

o Fixed broken spacing of docheaders in TYPEWRITE.

o Fixed an oversight in CLOSING for DOCTYPE LETTER (closing wasn't
  being set flush left)

o Changed .ne in .HEAD when PRINTSTYLE TYPESET from 5 to 4.  With 5,
  heads required at least 2 lines of text underneath or they'd be
  defered to the next page, which created too much whitespace at the
  end of the page.  Heads will now be processed on the same page if the
  head plus at least one line of text underneath fits.  I figure it's
  easier for the user to break to a new page manually if this behaviour
  is unsatisfactory than to massage the page to fix the excess
  whitespace.


Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 22 11:55:41 2002 UTC (21 years, 9 months ago) by wlemb
Branch: MAIN
CVS Tags: groff-1_18_1
Changes since 1.4: +41 -3 lines
Diff to previous 1.4
o Fixed ENDNOTES so footnotes output properly when ENDNOTES is called

o Added ENDNOTES_HDRFTR_CENTER so that default no-print of header
  center string on endnotes page(s) when DOCTYPE is CHAPTER can
  be disabled (i.e. header center will be printed).

o Added .nf to top of PAD, with a test beforehand for current fill
  mode.  If fill mode was on, it's restored after PAD completes
  processing.  Updated reserved.html to include number register
  #FILL_MODE.


Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Jul 17 04:50:29 2002 UTC (21 years, 10 months ago) by wlemb
Branch: MAIN
CVS Tags: groff-1_18
Changes since 1.3: +602 -7 lines
Diff to previous 1.3
o Added capability of endnotes and pertinent control macros to om.tmac.

o Added document entries pertaining to endnote macros.

o Incorporated endnote macros into elvis_syntax.

o Small doc fixes.

o Tidied up indenting of om.tmac.

o Fixed handling of underlining of italics in PRINTSTYLE TYPEWRITE
  (there was a problem with footnotes getting underlined when they
  shouldn't have been).

o Removed ENDNOTES from TODO

o Fixed the character translations for UNDERLINE so they work properly
  with digraphs.


Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 13 10:46:11 2002 UTC (21 years, 11 months ago) by wlemb
Branch: MAIN
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
o Macro .PS renamed to .PT_SIZE.  Alias .TS removed.

o .tr bits in .CAPS rewritten in the form .tr é\['E].

o General cleanup of docs to reflect changes.

o Small changes/additions to `elvis_syntax'.


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Jun 6 13:11:43 2002 UTC (21 years, 11 months ago) by wlemb
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1
*Wed Jun  5 2002

o Makefile.sub (TFLAG): Add `$(top_builddir)/tmac'.

*Tue Jun  4 2002

o Makefile.sub (groff_bin_dirs): Fix typo (forgotten `src' element).

*Mon Jun  3 2002

o Makefile.sub (uninstall_sub): Don't use `momdocdir' but `htmldocdir'.
  Add missing backslash.

*Sat Jun  1 2002

o Makefile.in (prepare_make_examples): Test for `penguin.ps', not
  `examples/penguin.ps'.

*Wed May 29 2002

o Rewrote portions of PAGENUM_STYLE and COPYSTYLE so that PAGENUM_STYLE
  behaves as advertised.

*Fri May 24 2002

o /Makefile.sub (momdocdir): Removed.
  (HTMLDOCFILES): Prepend `momdoc/'.
  (EXTRAEXAMPLEFILES): Removed.  Added entries to...
  (EXAMPLEFILES): This.
  (.SUFFIXES, .mom.ps): New.
  (prepare_make_examples): Updated.
  (examples/*.ps): Removed; .mom.ps will handle this.
  (install_data): Updated.

*Thu May 23 2002

o Applied two small bug fixes to om.tmac (patches 1.1.1a and 1.1.1b).

o mom is now part of groff.

o Some renaming to avoid problems with 8+3 filesystems:

    examples/docprocessing_typeset.mom   -> examples/typeset.mom
    examples/docprocessing_typewrite.mom -> examples/typewrite.mom
    examples/typesetting_macros.mom      -> examples/macros.mom
    examples/penguin_small2_bw.ps        -> examples/penguin.ps

o Removed `INSTALL' and `README' since groff takes care of installation
  now.

o Added Makefile.sub.

o Added mom.tmac (which simply calls om.tmac).

o Added groff_mom.man for orthogonality; it simply points to the HTML
  documentation.

*Thu May 16 2002

o Added macro DRAFT_WITH_PAGENUMBER so user can have draft/revision
  info attached to the pagenumber in COPYSTYLE DRAFT, instead of having
  it HEADER center.  Always having it HEADER center was creating problems
  with long doc titles, esp. with PRINTSTYLE TYPEWRITE (which is when
  COPYSTYLE DRAFT is most likely to be used).  Now user has the choice,
  in these circumstances, either to reduce HEADER_SIZE, or to displace
  the draft/revision info.  Also rewrote portions of COPYSTYLE so that
  if no revision number is given in the reference macros, "Rev. #"
  doesn't appear when COPYSTYLE DRAFT.

*Fri May 10 2002

o Added capability of user-defined, single string recto/verso
  headers/footers.

o Added new entries to docs about the above.  Made some additional
  small changes to toc.html, rectoverso.html, and headfootpage.html
  to supplement the new entries.

o Small fix to handling of footer separator rule -- was 1 point too low
  owing to fuzziness of #CAP_HEIGHT as returned by SIZESPECS.

o Added some more useful stuff to elvis_syntax.

*Sun May 05 2002

o Fix to DEFAULTS so that L_MARGIN and R_MARGIN are reprocessed if
  DOCTYPE LETTER.  R_MARGIN, as set by DOCTYPE LETTER had no preceding
  PAGEWIDTH or PAPER from which to get #PAGE_WIDTH for figuring out
  line length.

o Additional fix to DEFAULTS in handling DOCTYPE LETTER so that if user
  sets line length prior to START, no reprocessing of R_MARGIN occurs.
  This necessitated adding a new number register: #USER_SET_L_LENGTH

*Sat May 04 23:48:05 EDT 2002

o Added .cflags 4 /\(en -- was driving me nuts that lines wouldn't
  break after these characters; I'm assuming others feel the same way

* Fri May 03 2002

o Made some small fixes to space handling around quotes, mostly to do
  with quotes immediately after START and quotes after (sub)heads.

* Wed May 01 2002

o Fixed a small bug that was causing the first .PP after START to begin
  at the top margin of the page regardless of any type that preceded
  .PP when docheaders were off.

o Fixed HEADER so that when HEADERS are off the first line of type on
  pages after the first falls properly at the top margin


Revision 1.1.1.1 - (view) (download) (as text) (annotate) - [select for diffs] (vendor branch)
Thu May 23 21:59:30 2002 UTC (22 years ago) by wlemb
Branch: mom
CVS Tags: import
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 , to next main 1.44
Import of mom


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 23 21:59:30 2002 UTC (22 years ago) by wlemb
Branch: MAIN
Branch point for: mom
Initial revision


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26