From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from scc-mailout-kit-02.scc.kit.edu (scc-mailout-kit-02.scc.kit.edu [129.13.231.82]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id 99c9b556 for ; Fri, 8 Feb 2019 17:02:24 -0500 (EST) Received: from asta-nat.asta.uni-karlsruhe.de ([172.22.63.82] helo=hekate.usta.de) by scc-mailout-kit-02.scc.kit.edu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (envelope-from ) id 1gsEE2-00021s-2p; Fri, 08 Feb 2019 23:02:23 +0100 Received: from donnerwolke.usta.de ([172.24.96.3]) by hekate.usta.de with esmtp (Exim 4.77) (envelope-from ) id 1gsEE1-0002fy-M9; Fri, 08 Feb 2019 23:02:21 +0100 Received: from athene.usta.de ([172.24.96.10]) by donnerwolke.usta.de with esmtp (Exim 4.84_2) (envelope-from ) id 1gsEE1-000814-Iz; Fri, 08 Feb 2019 23:02:21 +0100 Received: from localhost (athene.usta.de [local]) by athene.usta.de (OpenSMTPD) with ESMTPA id 7dd286a2; Fri, 8 Feb 2019 23:02:21 +0100 (CET) Date: Fri, 8 Feb 2019 23:02:21 +0100 From: Ingo Schwarze To: "Anthony J. Bentley" Cc: tech@mandoc.bsd.lv Subject: Re: table borders don't span entire width Message-ID: <20190208220221.GF20044@athene.usta.de> References: <29630.1549662225@desktop.ajb.soy> X-Mailinglist: mandoc-tech Reply-To: tech@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <29630.1549662225@desktop.ajb.soy> User-Agent: Mutt/1.8.0 (2017-02-23) Hi Anthony, Anthony J. Bentley wrote on Fri, Feb 08, 2019 at 02:43:45PM -0700: > In response to a mailing list question I marvel that you understood that question. I looked at it and didn't understand a word... > I tried out an example from The Awk Programming Language. > The tbl(7) source it generates looks in part like this: > > .TS > center; > n n n n. > _ _ _ _ > 2173 77.1 13765 53.6 > = = = = > .TE > > groff creates solid lines as in the book: > > --------------------------- > 2173 77.1 13765 53.6 > --------------------------- > > But mandoc breaks the lines between cells: > > ---- ---- ----- ---- > 2173 77.1 13765 53.6 > ==== ==== ===== ==== That looks like a bug. Here is what the tbl(7) manual page says: If a data cell contains only the single character '_' or '=', a single or double horizontal line is drawn across the cell, joining its neighbours. If a data cells contains only the two character sequence '\_' or '\=', a single or double horizontal line is drawn inside the cell, not joining its neighbours. > Side note: while using = for the double line is an improvement over > groff, in UTF-8 the double line is output with U+2501. Wouldn't U+2550 > be more appropriate? The typeset output displays a double line, not a > heavy line. I think i did that because the heavy lines looked better to me, but it's not the first time someone asks, so maybe i should change it. Adjusting borders_utf8[] in tbl_term.c is probably all that is needed. Yours, Ingo -- To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv