gbranden pushed a commit to branch master
in repository groff.

commit 596015539005e36d47767b3e6f1437987f2f0624
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sun Sep 13 06:02:08 2026 -0500

    [tbl]: Cancel temp indent before table region.
    
    * src/preproc/tbl/table.cpp (table::init_output): Emit argumentless `ti`
      request to cancel any temporary indentation, just as we do with
      right-alignment and centering.  Placing an `ti` request with no
      argument (a syntax newly meaningful in groff 1.25) was causing a
      spurious warning in category "style".)
    
    Fixes <https://savannah.gnu.org/bugs/?68697>.  Thanks to Ingo Schwarze
    for bringing the issue to attention in Savannah #68696.
---
 ChangeLog                 | 11 +++++++++++
 src/preproc/tbl/table.cpp |  1 +
 2 files changed, 12 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 9d0249b1a..1e487164a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2026-09-13  G. Branden Robinson <[email protected]>
+
+       * src/preproc/tbl/table.cpp (table::init_output): Emit
+       argumentless `ti` request to cancel any temporary indentation,
+       just as we do with right-alignment and centering.  Placing an
+       `ti` request with no argument (a syntax newly meaningful in
+       groff 1.25) was causing a spurious warning in category "style".)
+
+       Fixes <https://savannah.gnu.org/bugs/?68697>.  Thanks to Ingo
+       Schwarze for bringing the issue to attention in Savannah #68696.
+
 2026-09-13  G. Branden Robinson <[email protected]>
 
        * src/preproc/tbl/table.cpp (table::init_output): Emit `rj 0`
diff --git a/src/preproc/tbl/table.cpp b/src/preproc/tbl/table.cpp
index d4b13b750..5ed057025 100644
--- a/src/preproc/tbl/table.cpp
+++ b/src/preproc/tbl/table.cpp
@@ -2043,6 +2043,7 @@ void table::init_output()
           "..\n");
   }
   prints(".ec\n"
+        ".ti\n"
         ".rj 0\n"
         ".ce 0\n");
   prints(".nr " SAVED_NUMBERING_LINENO " \\n[ln]\n"

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to