summaryrefslogtreecommitdiffstats
path: root/regress/mdoc/Tg
diff options
context:
space:
mode:
Diffstat (limited to 'regress/mdoc/Tg')
-rw-r--r--regress/mdoc/Tg/Makefile10
-rw-r--r--regress/mdoc/Tg/column.in17
-rw-r--r--regress/mdoc/Tg/column.out_ascii13
-rw-r--r--regress/mdoc/Tg/column.out_html10
-rw-r--r--regress/mdoc/Tg/column.out_markdown16
-rw-r--r--regress/mdoc/Tg/column.out_tag5
-rw-r--r--regress/mdoc/Tg/list.in22
-rw-r--r--regress/mdoc/Tg/list.out_ascii14
-rw-r--r--regress/mdoc/Tg/list.out_html7
-rw-r--r--regress/mdoc/Tg/list.out_markdown19
-rw-r--r--regress/mdoc/Tg/list.out_tag6
11 files changed, 135 insertions, 4 deletions
diff --git a/regress/mdoc/Tg/Makefile b/regress/mdoc/Tg/Makefile
index 7f538766..d67ec5af 100644
--- a/regress/mdoc/Tg/Makefile
+++ b/regress/mdoc/Tg/Makefile
@@ -1,8 +1,10 @@
-# $OpenBSD: Makefile,v 1.1 2020/03/13 00:31:06 schwarze Exp $
+# $OpenBSD: Makefile,v 1.2 2020/04/06 09:55:50 schwarze Exp $
-REGRESS_TARGETS = warn
-TAG_TARGETS = warn
+REGRESS_TARGETS = column list warn
+TAG_TARGETS = column list warn
LINT_TARGETS = warn
-HTML_TARGETS = warn
+HTML_TARGETS = column list warn
+
+SKIP_TMAN = column
.include <bsd.regress.mk>
diff --git a/regress/mdoc/Tg/column.in b/regress/mdoc/Tg/column.in
new file mode 100644
index 00000000..347e7594
--- /dev/null
+++ b/regress/mdoc/Tg/column.in
@@ -0,0 +1,17 @@
+.\" $OpenBSD: column.in,v 1.1 2020/04/06 09:55:50 schwarze Exp $
+.Dd $Mdocdate$
+.Dt TG-COLUMN 1
+.Os
+.Sh NAME
+.Nm Tg-column
+.Nd explicit tagging of column lists and rows
+.Sh DESCRIPTION
+BEGINTEST
+.Tg list
+.Bl -column one two
+.Tg row1
+.It one Ta two
+.Tg row2
+.It 1 2
+.El
+ENDTEST
diff --git a/regress/mdoc/Tg/column.out_ascii b/regress/mdoc/Tg/column.out_ascii
new file mode 100644
index 00000000..3051005b
--- /dev/null
+++ b/regress/mdoc/Tg/column.out_ascii
@@ -0,0 +1,13 @@
+TG-COLUMN(1) General Commands Manual TG-COLUMN(1)
+
+NNAAMMEE
+ TTgg--ccoolluummnn - explicit tagging of column lists and rows
+
+DDEESSCCRRIIPPTTIIOONN
+ BEGINTEST
+
+ one two
+ 1 2
+ ENDTEST
+
+OpenBSD April 6, 2020 OpenBSD
diff --git a/regress/mdoc/Tg/column.out_html b/regress/mdoc/Tg/column.out_html
new file mode 100644
index 00000000..8374fb9c
--- /dev/null
+++ b/regress/mdoc/Tg/column.out_html
@@ -0,0 +1,10 @@
+<table class="Bl-column" id="list">
+ <tr id="row1">
+ <td>one</td>
+ <td>two</td>
+ </tr>
+ <tr id="row2">
+ <td>1</td>
+ <td>2</td>
+ </tr>
+</table>
diff --git a/regress/mdoc/Tg/column.out_markdown b/regress/mdoc/Tg/column.out_markdown
new file mode 100644
index 00000000..a6820fd0
--- /dev/null
+++ b/regress/mdoc/Tg/column.out_markdown
@@ -0,0 +1,16 @@
+TG-COLUMN(1) - General Commands Manual
+
+# NAME
+
+**Tg-column** - explicit tagging of column lists and rows
+
+# DESCRIPTION
+
+BEGINTEST
+
+ one two
+ 1 2
+
+ENDTEST
+
+OpenBSD - April 6, 2020
diff --git a/regress/mdoc/Tg/column.out_tag b/regress/mdoc/Tg/column.out_tag
new file mode 100644
index 00000000..f34a94b9
--- /dev/null
+++ b/regress/mdoc/Tg/column.out_tag
@@ -0,0 +1,5 @@
+NAME 3
+DESCRIPTION 6
+list 8
+row1 9
+row2 10
diff --git a/regress/mdoc/Tg/list.in b/regress/mdoc/Tg/list.in
new file mode 100644
index 00000000..64b2dd6b
--- /dev/null
+++ b/regress/mdoc/Tg/list.in
@@ -0,0 +1,22 @@
+.\" $OpenBSD: list.in,v 1.1 2020/04/06 09:55:50 schwarze Exp $
+.Dd $Mdocdate$
+.Dt TG-LIST 1
+.Os
+.Sh NAME
+.Nm Tg-list
+.Nd explicit tagging of lists and list elements
+.Sh DESCRIPTION
+BEGINTEST
+.Tg dashlist
+.Bl -dash
+.Tg dashitem
+.It
+item
+.El
+.Tg taglist
+.Bl -tag -width Ds
+.Tg tagitem
+.It tag
+text
+.El
+ENDTEST
diff --git a/regress/mdoc/Tg/list.out_ascii b/regress/mdoc/Tg/list.out_ascii
new file mode 100644
index 00000000..adc476e0
--- /dev/null
+++ b/regress/mdoc/Tg/list.out_ascii
@@ -0,0 +1,14 @@
+TG-LIST(1) General Commands Manual TG-LIST(1)
+
+NNAAMMEE
+ TTgg--lliisstt - explicit tagging of lists and list elements
+
+DDEESSCCRRIIPPTTIIOONN
+ BEGINTEST
+
+ -- item
+
+ tag text
+ ENDTEST
+
+OpenBSD April 6, 2020 OpenBSD
diff --git a/regress/mdoc/Tg/list.out_html b/regress/mdoc/Tg/list.out_html
new file mode 100644
index 00000000..001c994b
--- /dev/null
+++ b/regress/mdoc/Tg/list.out_html
@@ -0,0 +1,7 @@
+<ul class="Bl-dash" id="dashlist">
+ <li id="dashitem"><a class="permalink" href="#dashitem">item</a></li>
+</ul>
+<dl class="Bl-tag" id="taglist">
+ <dt id="tagitem"><a class="permalink" href="#tagitem">tag</a></dt>
+ <dd>text</dd>
+</dl>
diff --git a/regress/mdoc/Tg/list.out_markdown b/regress/mdoc/Tg/list.out_markdown
new file mode 100644
index 00000000..836e5cab
--- /dev/null
+++ b/regress/mdoc/Tg/list.out_markdown
@@ -0,0 +1,19 @@
+TG-LIST(1) - General Commands Manual
+
+# NAME
+
+**Tg-list** - explicit tagging of lists and list elements
+
+# DESCRIPTION
+
+BEGINTEST
+
+- item
+
+tag
+
+> text
+
+ENDTEST
+
+OpenBSD - April 6, 2020
diff --git a/regress/mdoc/Tg/list.out_tag b/regress/mdoc/Tg/list.out_tag
new file mode 100644
index 00000000..48eb6d44
--- /dev/null
+++ b/regress/mdoc/Tg/list.out_tag
@@ -0,0 +1,6 @@
+NAME 3
+DESCRIPTION 6
+dashlist 8
+dashitem 9
+taglist 10
+tagitem 11