diff options
author | wl <wl> | 2011-07-20 18:44:50 +0000 |
---|---|---|
committer | wl <wl> | 2011-07-20 18:44:50 +0000 |
commit | 8f6aeb4493fb6f1a38e83f2050d27529fc2d238b (patch) | |
tree | 04822fc4e27d822e95cdc34a9a5bdb13fe325416 /doc | |
parent | 3df90f649357af2674af74cc14bdbfe633102379 (diff) | |
download | groff-8f6aeb4493fb6f1a38e83f2050d27529fc2d238b.tar.gz |
Improve line numbering support in tbl and with me macros.
* tmac/e.tmac (n1, n2, TH, PS): Implement it.
(@h, @n, @o, @t, @k, )b, (c, (q, )q, (l, )l, (f, @q, PE): Updated.
* doc/meref.me: Document changes.
* src/preproc/tbl/table.cpp (ROW_START_LINE_REG, ROW_SAVE_LINE_REG,
ROW_MAX_LINE_REG, REPEATED_NM_SET_MACRO, REPEATED_NM_SUS_MACRO): New
macros.
(table::init_output): Define REPEATED_NM_SET_MACRO and
REPEATED_NM_SUS_MACRO.
(table::print_single_hline, table::print_double_hline,
table::define_bottom_macro, table::do_row, table::do_top,
table::do_bottom): Updated.
* doc/webpage.ms: Updated.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/meref.me | 15 | ||||
-rw-r--r-- | doc/webpage.ms | 42 |
2 files changed, 55 insertions, 2 deletions
diff --git a/doc/meref.me b/doc/meref.me index 848b6c83..1685561f 100644 --- a/doc/meref.me +++ b/doc/meref.me @@ -1329,12 +1329,25 @@ on each page. .TL .b .n2 .i N +.i c .DE Number lines from .i N , stop if .i N -= 0. +missing; resume where stopped with (unsigned) value +.i N +or increment +.i N +if +.i N +is \(+-\c +.i N . +If +.i c +is c, maintain compatibility with original +.b .n2 +by narrowing line width to accommodate numbers. .TL .b .sk .DE diff --git a/doc/webpage.ms b/doc/webpage.ms index cbd9e3b7..b195f6c8 100644 --- a/doc/webpage.ms +++ b/doc/webpage.ms @@ -296,6 +296,46 @@ postings to the corresponding mailing list. . . .SH +NEWS VERSION 1.21.1 +.LP +.SH 2 +groff + +.ULS +.LI +A new option `\-j' has been added to call the `chem' preprocessor. +.ULE +. +. +.SH 2 +macro packages + +.ULS +.LI +Support for the `refer' preprocessor has been added to the \-mm macro +package. + + +.LI +Bugs in the support for the `n1' and `n2' requests in the \-me package were +fixed that caused extra line numbers to be added to text in floats and +diversion environments, as well as equations and pic-style pictures. + +The `TH' macro was changed for compatibility with line number support in +tables. +.ULE +. +. +.SH 2 +tbl + +.ULS +.LI +Added numbered line support in tables. +.ULE +. +. +.SH NEWS VERSION 1.21 .LP .SH 2 @@ -689,7 +729,7 @@ Here the same table using a more expanded syntax: Tables can be nested; `hdtbl' works without a preprocessor so that the full capability of groff's macro engine is available. -This package currently works with `-Tps' only. +This package currently works with `\-Tps' only. .LI \-mandoc now supports multiple man pages (in either man or mdoc format). |