From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 8dd40fdb for ; Thu, 31 Jan 2019 11:32:26 -0500 (EST) Date: Thu, 31 Jan 2019 11:32:26 -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: Since resetting of offsets works quite differently in man(7) and X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- Since resetting of offsets works quite differently in man(7) and mdoc(7), test table centering in an mdoc(7) document as well. Related to tbl_term.c rev. 1.67. Modified Files: -------------- mandoc/regress/tbl/opt: Makefile Added Files: ----------- mandoc/regress/tbl/opt: center-mdoc.in center-mdoc.out_ascii Revision Data ------------- --- /dev/null +++ regress/tbl/opt/center-mdoc.in @@ -0,0 +1,15 @@ +.\" $OpenBSD: center-mdoc.in,v 1.1 2019/01/31 16:28:38 schwarze Exp $ +.Dd $Mdocdate: January 31 2019 $ +.Dt TBL-CENTER-MDOC 1 +.Os +.Sh NAME +.Nm tbl-center-mdoc +.Nd center a table as a whole +.Sh DESCRIPTION +normal text +.TS +center box tab(:); +l r. +northwest:northeast +southwest:southeast +.TE Index: Makefile =================================================================== RCS file: /home/cvs/mandoc/mandoc/regress/tbl/opt/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -Lregress/tbl/opt/Makefile -Lregress/tbl/opt/Makefile -u -p -r1.1 -r1.2 --- regress/tbl/opt/Makefile +++ regress/tbl/opt/Makefile @@ -1,6 +1,6 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2015/01/29 23:24:24 schwarze Exp $ +# $OpenBSD: Makefile,v 1.2 2019/01/31 16:28:38 schwarze Exp $ -REGRESS_TARGETS = box center invalid +REGRESS_TARGETS = box center center-mdoc invalid LINT_TARGETS = invalid .include --- /dev/null +++ regress/tbl/opt/center-mdoc.out_ascii @@ -0,0 +1,12 @@ +TBL-CENTER-MDOC(1) General Commands Manual TBL-CENTER-MDOC(1) + +NNAAMMEE + ttbbll--cceenntteerr--mmddoocc - center a table as a whole + +DDEESSCCRRIIPPTTIIOONN + normal text + +----------------------+ + |northwest northeast | + |southwest southeast | + +----------------------+ +OpenBSD January 31, 2019 OpenBSD -- To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv