bugGNU roff - Bugs: bug #61550, [PATCH] grn.1.man: use a unique...

 
 

bug #61550: [PATCH] grn.1.man: use a unique character for the tabulator in a table

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Wed 24 Nov 2021 11:18:29 PM UTC
   
 
Category:  Preprocessor grn Severity:  1 - Wish
Item Group:  Documentation Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 25 Nov 2021 04:25:49 PM UTC, comment #2: 

I have no plans to work on this for the reasons in comment #1 but someone else is welcome to take it; setting to postponed.

G. Branden Robinson <gbranden>
Group administrator
Thu 25 Nov 2021 01:17:03 PM UTC, comment #1: 

There's no particular reason to expect an in-tree *.man file to be a renderable man(7) document; they all undergo transformation to produce (what should be) valid, renderable pages ending in .[157].

Similarly, groff_man.7.man.in is an m4 document and not even close to a valid man(7) document.  (It undergoes two stages of transformation.)

G. Branden Robinson <gbranden>
Group administrator
Wed 24 Nov 2021 11:18:29 PM UTC, original submission:  

From ad1a4520a3aafc05db1988f285371395fa0ef811 Mon Sep 17 00:00:00 2001
From: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date: Wed, 24 Nov 2021 22:58:09 +0000
Subject: [PATCH] src/preproc/grn/grn.1.man: use a unique character for the
 tabulator in a table

tbl:./src/preproc/grn/grn.1.man:723: error: excess data entry 'g' discarded
tbl:./src/preproc/grn/grn.1.man:723: error: excess data entry 'troff\f[])' discarded
tbl:./src/preproc/grn/grn.1.man:724: error: excess data entry 'g' discarded
tbl:./src/preproc/grn/grn.1.man:724: error: excess data entry 'troff\f[])' discarded
tbl:./src/preproc/grn/grn.1.man:725: error: excess data entry 'g' discarded
tbl:./src/preproc/grn/grn.1.man:725: error: excess data entry 'troff\f[])' discarded
tbl:./src/preproc/grn/grn.1.man:726: error: excess data entry 'g' discarded
tbl:./src/preproc/grn/grn.1.man:726: error: excess data entry 'troff\f[])' discarded

  "@" is both used as a tabulator character and as a part of a string
constant "@g@" in a table.

  Change the tabulator character in the table from "@" to "#".

Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
---
 src/preproc/grn/grn.1.man     | 10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/preproc/grn/grn.1.man b/src/preproc/grn/grn.1.man
index c1aa3beb3..02fdbeabc 100644
--- a/src/preproc/grn/grn.1.man
+++ b/src/preproc/grn/grn.1.man
@@ -718,12 +718,12 @@ the brush selects a font as follows.
 .
 .IP
 .TS
-center, tab(@);
+center, tab(#);
 nB l.
-1@roman (R font in \f[I]@g@troff\f[])
-2@italics (I font in \f[I]@g@troff\f[])
-3@bold (B font in \f[I]@g@troff\f[])
-4@special (S font in \f[I]@g@troff\f[])
+1#roman (R font in \f[I]@g@troff\f[])
+2#italics (I font in \f[I]@g@troff\f[])
+3#bold (B font in \f[I]@g@troff\f[])
+4#special (S font in \f[I]@g@troff\f[])
 .TE
 .
 .
--
2.33.0


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-11-25 gbranden StatusNone Postponed
    2021-11-25 gbranden Severity3 - Normal 1 - Wish
    2021-11-24 bjarniig Carbon-CopyRemoved 93188 -

    Back to the top

    Powered by Savane 3.13-f810.
    Corresponding source code