bug-groff
[Top][All Lists]
Advanced

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

[bug #43637] tbl: doublebox rendering in nroff


From: Anthony J. Bentley
Subject: [bug #43637] tbl: doublebox rendering in nroff
Date: Wed, 19 Nov 2014 13:28:22 +0000
User-agent: Mozilla/5.0 (X11; OpenBSD amd64; rv:34.0) Gecko/20100101 Firefox/34.0

URL:
  <http://savannah.gnu.org/bugs/?43637>

                 Summary: tbl: doublebox rendering in nroff
                 Project: GNU troff
            Submitted by: anthonyjbentley
            Submitted on: Wed 19 Nov 2014 01:28:21 PM GMT
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43637>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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