[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff-commit] groff ChangeLog src/preproc/tbl/table.cpp
From: |
Werner LEMBERG |
Subject: |
[Groff-commit] groff ChangeLog src/preproc/tbl/table.cpp |
Date: |
Sat, 03 Jan 2009 14:50:55 +0000 |
CVSROOT: /cvsroot/groff
Module name: groff
Changes by: Werner LEMBERG <wl> 09/01/03 14:50:55
Modified files:
. : ChangeLog
src/preproc/tbl: table.cpp
Log message:
* src/preproc/tbl/table.cpp (table::compute_expand_width,
table::compute_separation_factor): In warning messages, don't refer
to pages but to input line numbers.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/ChangeLog?cvsroot=groff&r1=1.1173&r2=1.1174
http://cvs.savannah.gnu.org/viewcvs/groff/src/preproc/tbl/table.cpp?cvsroot=groff&r1=1.18&r2=1.19
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/ChangeLog,v
retrieving revision 1.1173
retrieving revision 1.1174
diff -u -b -r1.1173 -r1.1174
--- ChangeLog 3 Jan 2009 13:05:11 -0000 1.1173
+++ ChangeLog 3 Jan 2009 14:50:55 -0000 1.1174
@@ -1,5 +1,11 @@
2009-01-03 Werner LEMBERG <address@hidden>
+ * src/preproc/tbl/table.cpp (table::compute_expand_width,
+ table::compute_separation_factor): In warning messages, don't refer
+ to pages but to input line numbers.
+
+2009-01-03 Werner LEMBERG <address@hidden>
+
* tmac/groff_ms.man: Improve formatting of tables.
2009-01-03 Werner LEMBERG <address@hidden>
Index: src/preproc/tbl/table.cpp
===================================================================
RCS file: /cvsroot/groff/groff/src/preproc/tbl/table.cpp,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- src/preproc/tbl/table.cpp 16 Nov 2008 17:22:21 -0000 1.18
+++ src/preproc/tbl/table.cpp 3 Jan 2009 14:50:55 -0000 1.19
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2003, 2004, 2007, 2008
+/* Copyright (C) 1989, 1990, 1991, 1992, 2000, 2003, 2004, 2007, 2008,
+ 2009
Free Software Foundation, Inc.
Written by James Clark (address@hidden)
@@ -2077,8 +2078,9 @@
if (total_separation)
printfs("-%1n", as_string(total_separation));
prints("\n");
- prints(".if \\n[" EXPAND_REG "]<0 \\{"
- ".tm warning: page \\n%: table wider than line width\n"
+ prints(".if \\n[" EXPAND_REG "]<0 \\{");
+ entry_list->set_location();
+ prints(".tm warning: around line \\n[.c]: table wider than line width\n"
".nr " EXPAND_REG " 0\n"
".\\}\n");
if (colcount > 1)
@@ -2114,12 +2116,15 @@
for (int i = 0; i < ncolumns; i++)
printfs("-\\n[%1]", span_width_reg(i, i));
printfs("/%1\n", as_string(total_separation));
- prints(".ie \\n[" SEPARATION_FACTOR_REG "]<=0 \\{"
- ".tm warning: page \\n%: column separation set to zero\n"
+ prints(".ie \\n[" SEPARATION_FACTOR_REG "]<=0 \\{");
+ entry_list->set_location();
+ prints(".tm warning: around line \\n[.c]: column separation set to zero\n"
".nr " SEPARATION_FACTOR_REG " 0\n"
".\\}\n"
- ".el .if \\n[" SEPARATION_FACTOR_REG "]<1n "
- ".tm warning: page \\n%: table squeezed horizontally to fit line
length\n");
+ ".el .if \\n[" SEPARATION_FACTOR_REG "]<1n \\{");
+ entry_list->set_location();
+ prints(".tm warning: around line \\n[.c]: table squeezed horizontally to fit
line length\n"
+ ".\\}\n");
}
void table::compute_column_positions()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Groff-commit] groff ChangeLog src/preproc/tbl/table.cpp,
Werner LEMBERG <=