From 8f6aeb4493fb6f1a38e83f2050d27529fc2d238b Mon Sep 17 00:00:00 2001 From: wl Date: Wed, 20 Jul 2011 18:44:50 +0000 Subject: 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. --- doc/meref.me | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'doc/meref.me') 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 -- cgit v1.2.1