From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13065 invoked from network); 28 Aug 2022 10:59:03 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 28 Aug 2022 10:59:03 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 6b1332c7 for ; Sun, 28 Aug 2022 05:59:01 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id 35742132 for ; Sun, 28 Aug 2022 05:59:01 -0500 (EST) Date: Sun, 28 Aug 2022 05:59:01 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: Stop skipping vertical space after boxed tables. X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: <336af36dbb4c71d7@mandoc.bsd.lv> Log Message: ----------- Stop skipping vertical space after boxed tables. Skipping such space used to be a bug in GNU tbl(1), and a kludge was added to mandoc to produce identical output. The bug was fixed in groff commit 8818c07c Jul 30 2022 gbranden@ https://savannah.gnu.org/bugs/index.php?49390 Consequently, now is the time to get rid of the kludge. Modified Files: -------------- mandoc: tbl_term.c Revision Data ------------- Index: tbl_term.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/tbl_term.c,v retrieving revision 1.78 retrieving revision 1.79 diff -Ltbl_term.c -Ltbl_term.c -u -p -r1.78 -r1.79 --- tbl_term.c +++ tbl_term.c @@ -549,15 +549,11 @@ term_tbl(struct termp *tp, const struct tp->flags &= ~TERMP_MULTICOL; tp->tcol->rmargin = tp->maxrmargin; if (sp->next == NULL) { - if (sp->opts->opts & (TBL_OPT_DBOX | TBL_OPT_BOX)) { + if (sp->opts->opts & (TBL_OPT_DBOX | TBL_OPT_BOX)) tbl_hrule(tp, sp, sp, NULL, TBL_OPT_BOX); - tp->skipvsp = 1; - } if (tp->enc == TERMENC_ASCII && - sp->opts->opts & TBL_OPT_DBOX) { + sp->opts->opts & TBL_OPT_DBOX) tbl_hrule(tp, sp, sp, NULL, TBL_OPT_DBOX); - tp->skipvsp = 2; - } assert(tp->tbl.cols); free(tp->tbl.cols); tp->tbl.cols = NULL; -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv