bugGNU roff - Bugs: bug #43637, tbl: doublebox rendering in nroff

 
 

bug #43637: tbl: doublebox rendering in nroff

Submitter:  Anthony J. Bentley <anthonyjbentley>
Submitted:  Wed 19 Nov 2014 01:28:21 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 19 Nov 2014 05:25:29 PM UTC, comment #1: 

If somebody implements this for groff, i will follow with mandoc.

Ingo Schwarze <schwarze>
Group Member
Wed 19 Nov 2014 01:28:21 PM UTC, original submission:  

Consider the following:


.TS
center doublebox;
c | c, c | c.
foo1    foo2
=
bar     baz
.TE


It is rendered like so with nroff:


                          ┌────────────┐
                          ┌─────┬──────┐
                          │foo1 │ foo2 │
                          ├─────┼──────┤
                          │bar  │ baz  │
                          └─────┴──────┘
                          └────────────┘


Or in -Tascii:


                          +------------+
                          +-----+------+
                          |foo1 | foo2 |
                          +-----+------+
                          |bar  | baz  |
                          +-----+------+
                          +------------+


It would make more sense to render it as (in Unicode):


                          ╔═════╤══════╗
                          ║foo1 │ foo2 ║
                          ╟─────┼──────╢
                          ║bar  │ baz  ║
                          ╚═════╧══════╝


and (in ASCII):


                          +=====+======+
                          |foo1 | foo2 |
                          +-----+------+
                          |bar  | baz  |
                          +=====+======+


These are closer to the typeset output and look nicer in a terminal.

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 schwarze (Posted a comment)
  • -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-4448.
    Corresponding source code