bugGNU roff - Bugs: bug #43636, tbl: double horizontal rule in...

 
 

bug #43636: tbl: double horizontal rule in nroff

Submitter:  Anthony J. Bentley <anthonyjbentley>
Submitted:  Wed 19 Nov 2014 01:15:22 PM UTC
   
 
Category:  Preprocessor tbl Severity:  1 - Wish
Item Group:  Feature change Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 16 Feb 2022 03:30:45 AM UTC, comment #1: 

  If a double line is asked for in the output of "nroff", two lines
with an underscore are needed in the source.

  "troff" puts these two lines at the same two vertical positions as if
'=' were used.

  "troff" produces two lines for the '=' data entry.
It depends on the resolution of the output device (option -T)
whether the two lines get the same vertical position or not.

  This is material for tbl(1).

Bjarni Ingi Gislason <bjarniig>
Wed 19 Nov 2014 01:15:22 PM UTC, original submission:  

Consider the following (from fceux(6)):

.TS
center box;
cb | cb, c | ci.
NES Gamepad     Keyboard
=
Up      Keypad Up
.TE

nroff(1) displays it as:

                            ┌────────────┬──────────────┐
                            │NES Gamepad │   Keyboard   │
                            ├────────────┼──────────────┤
                            │   Up       │  Keypad Up   │
                            └────────────┴──────────────┘

Or in -Tascii:

                            +------------+--------------+
                            |NES Gamepad |   Keyboard   |
                            +------------+--------------+
                            |   Up       |  Keypad Up   |
                            +------------+--------------+

It would make more sense to render the middle horizontal line with a double border ('=' in ASCII, '═' in Unicode). Both  groff and mandoc render this with a double border in the middle.

Anthony J. Bentley <anthonyjbentley>

 

(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 bjarniig (Posted a comment)
  • -email is unavailable- added by schwarze (Updated the item)
  • -email is unavailable- added by anthonyjbentley (Submitted the item)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-16 schwarze CategoryNone Preprocessor tbl
        Severity3 - Normal 1 - Wish
        Item GroupNone Feature change
        StatusNone Confirmed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code