source@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: schwarze@mandoc.bsd.lv
To: source@mandoc.bsd.lv
Subject: mandoc: Since resetting of offsets works quite differently in man(7) and
Date: Thu, 31 Jan 2019 11:32:26 -0500 (EST)	[thread overview]
Message-ID: <e3ef820f815297af@fantadrom.bsd.lv> (raw)

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

                 reply	other threads:[~2019-01-31 16:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e3ef820f815297af@fantadrom.bsd.lv \
    --to=schwarze@mandoc.bsd.lv \
    --cc=source@mandoc.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).