groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] Bug in tbl?


From: Tadziu Hoffmann
Subject: Re: [Groff] Bug in tbl?
Date: Wed, 20 Oct 2004 10:18:42 +0200
User-agent: Mutt/1.4i

Sorry about the excitement.

My fix also didn't work in some cases (such as three multi-row
columns aligned "tdt").  Here's a second attempt.

---------- cut here (with a very sharp editor) ----------
diff -u table.orig.cpp table.cpp 
--- table.orig.cpp      2004-10-19 14:42:38.000000000 +0200
+++ table.cpp   2004-10-20 10:17:27.000000000 +0200
@@ -2607,8 +2607,14 @@
        if (e) {
          if (e->end_row == r && e->start_row == i) {
            simple_entry *simple = e->to_simple_entry();
-           if (simple)
+           if (simple) {
+              if(e->end_row != e->start_row) {
+                prints('\n');
+                simple->position_vertically();
+                prints("\\&");
+              }
              simple->simple_print(0);
+            }
          }
          c = e->end_col;
        }
---------- cut here (with a very sharp editor) ----------





reply via email to

[Prev in Thread] Current Thread [Next in Thread]