summaryrefslogtreecommitdiffstats
path: root/regress/eqn/matrix
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
commit4c0770c1ecd159a77561d8e0364385f4bb758650 (patch)
tree5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/eqn/matrix
parentd16e7f2cf346476e177ce672851b0b957aebbe5d (diff)
downloadmandoc-4c0770c1ecd159a77561d8e0364385f4bb758650.tar.gz
Finally port the OpenBSD regression suite.
Both kristaps@ and wiz@ repeated asked for this, literally for years.
Diffstat (limited to 'regress/eqn/matrix')
-rw-r--r--regress/eqn/matrix/Makefile6
-rw-r--r--regress/eqn/matrix/basic.in17
-rw-r--r--regress/eqn/matrix/basic.out_ascii9
-rw-r--r--regress/eqn/matrix/basic.out_html1
4 files changed, 33 insertions, 0 deletions
diff --git a/regress/eqn/matrix/Makefile b/regress/eqn/matrix/Makefile
new file mode 100644
index 00000000..a48306f2
--- /dev/null
+++ b/regress/eqn/matrix/Makefile
@@ -0,0 +1,6 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2015/01/01 12:53:46 schwarze Exp $
+
+REGRESS_TARGETS = basic
+HTML_TARGETS = basic
+
+.include <bsd.regress.mk>
diff --git a/regress/eqn/matrix/basic.in b/regress/eqn/matrix/basic.in
new file mode 100644
index 00000000..d7beea0d
--- /dev/null
+++ b/regress/eqn/matrix/basic.in
@@ -0,0 +1,17 @@
+.Dd October 10, 2014
+.Dt MATRIX-BASIC 1
+.Os OpenBSD
+.Sh NAME
+.Nm matrix-basic
+.Nd matrixes in equations
+.Sh DESCRIPTION
+initial text
+.EQ
+left (
+matrix { ccol { a sub 11 above a sub 21 } ccol { a sub 12 above a sub 22 } }
+right )
+left (
+pile { b sub 1 above b sub 2 }
+right )
+.EN
+final text
diff --git a/regress/eqn/matrix/basic.out_ascii b/regress/eqn/matrix/basic.out_ascii
new file mode 100644
index 00000000..b5100906
--- /dev/null
+++ b/regress/eqn/matrix/basic.out_ascii
@@ -0,0 +1,9 @@
+MATRIX-BASIC(1) General Commands Manual MATRIX-BASIC(1)
+
+NNAAMMEE
+ mmaattrriixx--bbaassiicc - matrixes in equations
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text ((a_11 a_21) (a_12 a_22)) (b_1 b_2) final text
+
+OpenBSD October 10, 2014 OpenBSD
diff --git a/regress/eqn/matrix/basic.out_html b/regress/eqn/matrix/basic.out_html
new file mode 100644
index 00000000..d33b6b2d
--- /dev/null
+++ b/regress/eqn/matrix/basic.out_html
@@ -0,0 +1 @@
+<mrow><mfenced open="(" close=")"><mrow><mtable><mtr><mtd><msub><mi>a</mi><mi>11</mi></msub></mtd><mtd><msub><mi>a</mi><mi>12</mi></msub></mtd></mtr><mtr><mtd><msub><mi>a</mi><mi>21</mi></msub></mtd><mtd><msub><mi>a</mi><mi>22</mi></msub></mtd></mtr></mtable></mrow></mfenced><mfenced open="(" close=")"><mrow><mtable><mtr><mtd><msub><mi>b</mi><mi>1</mi></msub></mtd></mtr><mtr><mtd><msub><mi>b</mi><mi>2</mi></msub></mtd></mtr></mtable></mrow></mfenced></mrow>