From 80f6fa645b8fb17f3cb7524cefc92cdc4d445dfd Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 16 Jun 2017 20:01:06 +0000 Subject: Multiple tbl(7) improvements: * Do not discard data that lacks a matching layout cell but remains within the number of columns of the table as a whole. * Do not insert dummy data rows for any layout row starting with a horizontal line, but only for layout rows that would discard all the data on a matching non-empty data row. * Print horizontal lines specified in the layout even if there is no matching data cell. * Improve the logic for extending vertical lines to adjacent rows, for choosing cross marks versus line segments, and some related details. --- regress/tbl/layout/lines-nogroff.out_ascii | 108 +++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) create mode 100644 regress/tbl/layout/lines-nogroff.out_ascii (limited to 'regress/tbl/layout/lines-nogroff.out_ascii') diff --git a/regress/tbl/layout/lines-nogroff.out_ascii b/regress/tbl/layout/lines-nogroff.out_ascii new file mode 100644 index 00000000..f7563208 --- /dev/null +++ b/regress/tbl/layout/lines-nogroff.out_ascii @@ -0,0 +1,108 @@ +TBL-LAYOUT-LINES-NOGROFF(1) General Commands Manual + +NNAAMMEE + ttbbll--llaayyoouutt--lliinneess - table cells containing lines, misformatting with groff + +DDEESSCCRRIIPPTTIIOONN + vline top left: + + |11 12 + 21 22 + + hline and vline top left: + + ---+ 12 + 21 22 + + vline and hline top left: + + +---- 12 + 21 22 + + vline top: + + 11 | 12 + 21 22 + + vline and hline top: + + 11 +----- 13 + 21 22 23 + + hline and vline top: + + 11 -----+ 13 + 21 22 23 + + hline, vline, hline top: + + 11 -----+----- 13 + 21 22 23 24 + + vline top right: + + 11 12 | + 21 22 + + vline and hline top right: + + 11 +---- + 21 22 + + hline and vline top right: + + 11 -----+ + 21 22 + + double vline top left: + + |11 12 + 21 22 + + hline and double vline top left: + + ---+|12 + 21 22 + + double vline and hline top left: + + +---- 12 + 21 22 + + double vline top: + + 11 ||12 + 21 22 + + double vline and hline top: + + 11 ++---- 13 + 21 22 23 + + hline and double vline top: + + 11 -----+|13 + 21 22 23 + + hline, double vline, hline top: + + 11 -----++---- 13 + 21 22 23 24 + + double vline top right: + + 11 12 | + 21 22 + + double vline and hline top right: + + 11 ++--- + 21 22 + + hline and double vline top right: + + 11 -----+ + 21 22 + + +OpenBSD June 15, 2017 OpenBSD -- cgit v1.2.3-56-ge451