groff-commit
[Top][All Lists]
Advanced

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

[groff] 27/38: tbl(1): Show how to embed a comment in a table.


From: G. Branden Robinson
Subject: [groff] 27/38: tbl(1): Show how to embed a comment in a table.
Date: Fri, 2 Sep 2022 19:56:32 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 26b7057d5eb74a4270bafcf686363db16910af4c
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu Sep 1 01:18:13 2022 -0500

    tbl(1): Show how to embed a comment in a table.
    
    * src/preproc/tbl/tbl.1.man (Table data): Generalize discussion of roff
      control line use in tables.
    
      (Examples): Illustrate how to embed a comment in a table.
---
 ChangeLog                 | 6 ++++++
 src/preproc/tbl/tbl.1.man | 6 ++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index f4ff70b86..7e31e70a5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2022-09-01  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/preproc/tbl/tbl.1.man (Table data): Generalize discussion
+       of roff control line use in tables.
+       (Examples): Illustrate how to embed a comment in a table.
+
 2022-08-31  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * NEWS: man(7)'s `TS` no longer adds vertical space.  See commit
diff --git a/src/preproc/tbl/tbl.1.man b/src/preproc/tbl/tbl.1.man
index 7b1196aad..9488b2b41 100644
--- a/src/preproc/tbl/tbl.1.man
+++ b/src/preproc/tbl/tbl.1.man
@@ -969,9 +969,9 @@ Excess entries in a row of table data
 not even an implicit one arising from rectangularization of the table)
 are discarded with a diagnostic message.
 .
-Do not use a
 .I roff
-comment escape sequence in a table entry.
+control lines are accepted between rows of table data and within text
+blocks.
 .
 If you wish to visibly mark an empty table entry in the document source,
 populate it with the
@@ -1727,6 +1727,7 @@ center tab(;);
 CbS,LN,AN.
 Daily energy intake (in MJ)
 Macronutrients
+\&.\[rs]" assume 3 significant figures of precision
 Carbohydrates;4.5
 Fats;2.25
 Protein;3
@@ -1749,6 +1750,7 @@ Total;\[rs][ti]24.4
 center tab(;);
 CbS,LN,AN.
 Daily energy intake (in MJ)
+.\" assume 3 significant figures of precision
 Macronutrients
 Carbohydrates;4.5
 Fats;2.25



reply via email to

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