source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: Since resetting of offsets works quite differently in man(7) and
@ 2019-01-31 16:32 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2019-01-31 16:32 UTC (permalink / raw)
  To: source

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 <bsd.regress.mk>
--- /dev/null
+++ regress/tbl/opt/center-mdoc.out_ascii
@@ -0,0 +1,12 @@
+TBL-CENTER-MDOC(1)          General Commands Manual         TBL-CENTER-MDOC(1)
+
+N\bNA\bAM\bME\bE
+     t\btb\bbl\bl-\b-c\bce\ben\bnt\bte\ber\br-\b-m\bmd\bdo\boc\bc - center a table as a whole
+
+D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
+     normal text
+                              +----------------------+
+                              |northwest   northeast |
+                              |southwest   southeast |
+                              +----------------------+
+OpenBSD                        January 31, 2019                        OpenBSD
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-31 16:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-31 16:32 mandoc: Since resetting of offsets works quite differently in man(7) and schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).