aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/regress/eqn/subsup
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-02-08 03:02:13 +0000
commitd9f0f81c846a8405c29870e4a8379e5e79d1cad3 (patch)
treec07efd74ac58650949dc67576001a720e688319f /regress/eqn/subsup
parentcdbb1fca07752eb230e5219c22e9e65075c85b82 (diff)
downloadmandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.gz
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.tar.zst
mandoc-d9f0f81c846a8405c29870e4a8379e5e79d1cad3.zip
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/eqn/subsup')
-rw-r--r--regress/eqn/subsup/Makefile6
-rw-r--r--regress/eqn/subsup/combine.in12
-rw-r--r--regress/eqn/subsup/combine.out_ascii9
-rw-r--r--regress/eqn/subsup/combine.out_html1
-rw-r--r--regress/eqn/subsup/noarg.in12
-rw-r--r--regress/eqn/subsup/noarg.out_ascii9
-rw-r--r--regress/eqn/subsup/noarg.out_html1
-rw-r--r--regress/eqn/subsup/sub_group.in12
-rw-r--r--regress/eqn/subsup/sub_group.out_ascii9
-rw-r--r--regress/eqn/subsup/sub_group.out_html1
10 files changed, 72 insertions, 0 deletions
diff --git a/regress/eqn/subsup/Makefile b/regress/eqn/subsup/Makefile
new file mode 100644
index 00000000..4e11b33d
--- /dev/null
+++ b/regress/eqn/subsup/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.2 2015/01/01 15:34:43 schwarze Exp $
+
+REGRESS_TARGETS = combine noarg sub_group
+HTML_TARGETS = combine noarg sub_group
+
+.include <bsd.regress.mk>
diff --git a/regress/eqn/subsup/combine.in b/regress/eqn/subsup/combine.in
new file mode 100644
index 00000000..1fdedd4e
--- /dev/null
+++ b/regress/eqn/subsup/combine.in
@@ -0,0 +1,12 @@
+.Dd October 10, 2014
+.Dt SUBSUP-COMBINE 1
+.Os OpenBSD
+.Sh NAME
+.Nm subsup-combine
+.Nd combination of subscripts and superscripts
+.Sh DESCRIPTION
+initial text
+.EQ
+x sub 1 sup 2 + e sup x sub 2
+.EN
+final text
diff --git a/regress/eqn/subsup/combine.out_ascii b/regress/eqn/subsup/combine.out_ascii
new file mode 100644
index 00000000..945a4ad3
--- /dev/null
+++ b/regress/eqn/subsup/combine.out_ascii
@@ -0,0 +1,9 @@
+SUBSUP-COMBINE(1) General Commands Manual SUBSUP-COMBINE(1)
+
+NNAAMMEE
+ ssuubbssuupp--ccoommbbiinnee - combination of subscripts and superscripts
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text x_1^2 + e^x_2 final text
+
+OpenBSD October 10, 2014 OpenBSD
diff --git a/regress/eqn/subsup/combine.out_html b/regress/eqn/subsup/combine.out_html
new file mode 100644
index 00000000..6e2c7de2
--- /dev/null
+++ b/regress/eqn/subsup/combine.out_html
@@ -0,0 +1 @@
+<mrow><msubsup><mi>x</mi><mi>1</mi><mi>2</mi></msubsup><mi>+</mi><msup><mi>e</mi><msub><mi>x</mi><mi>2</mi></msub></msup></mrow>
diff --git a/regress/eqn/subsup/noarg.in b/regress/eqn/subsup/noarg.in
new file mode 100644
index 00000000..adc32d8f
--- /dev/null
+++ b/regress/eqn/subsup/noarg.in
@@ -0,0 +1,12 @@
+.Dd January 1, 2015
+.Dt SUBSUP-NOARG 1
+.Os OpenBSD
+.Sh NAME
+.Nm subsup-noarg
+.Nd empty subscripts and superscripts
+.Sh DESCRIPTION
+initial text
+.EQ
+x sub 1 sup sup
+.EN
+final text
diff --git a/regress/eqn/subsup/noarg.out_ascii b/regress/eqn/subsup/noarg.out_ascii
new file mode 100644
index 00000000..ad99680b
--- /dev/null
+++ b/regress/eqn/subsup/noarg.out_ascii
@@ -0,0 +1,9 @@
+SUBSUP-NOARG(1) General Commands Manual SUBSUP-NOARG(1)
+
+NNAAMMEE
+ ssuubbssuupp--nnooaarrgg - empty subscripts and superscripts
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text x_1^^ final text
+
+OpenBSD January 1, 2015 OpenBSD
diff --git a/regress/eqn/subsup/noarg.out_html b/regress/eqn/subsup/noarg.out_html
new file mode 100644
index 00000000..07416891
--- /dev/null
+++ b/regress/eqn/subsup/noarg.out_html
@@ -0,0 +1 @@
+<mrow><msubsup><mi>x</mi><msup><mi>1</mi></msup></msubsup></mrow>
diff --git a/regress/eqn/subsup/sub_group.in b/regress/eqn/subsup/sub_group.in
new file mode 100644
index 00000000..67a2de2b
--- /dev/null
+++ b/regress/eqn/subsup/sub_group.in
@@ -0,0 +1,12 @@
+.Dd October 10, 2014
+.Dt SUBSUP-SUB_GROUP 1
+.Os OpenBSD
+.Sh NAME
+.Nm subsup-sub_group
+.Nd grouping of subscripts
+.Sh DESCRIPTION
+initial text
+.EQ
+x sub i + x sub j sub 1 + { M sub i } sub j
+.EN
+final text
diff --git a/regress/eqn/subsup/sub_group.out_ascii b/regress/eqn/subsup/sub_group.out_ascii
new file mode 100644
index 00000000..8de3c874
--- /dev/null
+++ b/regress/eqn/subsup/sub_group.out_ascii
@@ -0,0 +1,9 @@
+SUBSUP-SUB_GROUP(1) General Commands Manual SUBSUP-SUB_GROUP(1)
+
+NNAAMMEE
+ ssuubbssuupp--ssuubb__ggrroouupp - grouping of subscripts
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text x_i + x_j_1 + (M_i)_j final text
+
+OpenBSD October 10, 2014 OpenBSD
diff --git a/regress/eqn/subsup/sub_group.out_html b/regress/eqn/subsup/sub_group.out_html
new file mode 100644
index 00000000..dad7c406
--- /dev/null
+++ b/regress/eqn/subsup/sub_group.out_html
@@ -0,0 +1 @@
+<mrow><msub><mi>x</mi><mi>i</mi></msub><mi>+</mi><msub><mi>x</mi><msub><mi>j</mi><mi>1</mi></msub></msub><mi>+</mi><msub><mrow><msub><mi>M</mi><mi>i</mi></msub></mrow><mi>j</mi></msub></mrow>