diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-02-08 03:02:13 +0000 |
commit | 4c0770c1ecd159a77561d8e0364385f4bb758650 (patch) | |
tree | 5c2d5820b093c1c08b6047ff110e9b055083a5ea /regress/eqn/unary | |
parent | d16e7f2cf346476e177ce672851b0b957aebbe5d (diff) | |
download | mandoc-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/unary')
-rw-r--r-- | regress/eqn/unary/Makefile | 6 | ||||
-rw-r--r-- | regress/eqn/unary/diacrit.in | 13 | ||||
-rw-r--r-- | regress/eqn/unary/diacrit.out_ascii | 9 | ||||
-rw-r--r-- | regress/eqn/unary/diacrit.out_html | 1 | ||||
-rw-r--r-- | regress/eqn/unary/sqrt.in | 12 | ||||
-rw-r--r-- | regress/eqn/unary/sqrt.out_ascii | 9 | ||||
-rw-r--r-- | regress/eqn/unary/sqrt.out_html | 1 |
7 files changed, 51 insertions, 0 deletions
diff --git a/regress/eqn/unary/Makefile b/regress/eqn/unary/Makefile new file mode 100644 index 00000000..f68a5ce7 --- /dev/null +++ b/regress/eqn/unary/Makefile @@ -0,0 +1,6 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2015/01/01 12:53:46 schwarze Exp $ + +REGRESS_TARGETS = diacrit sqrt +HTML_TARGETS = diacrit sqrt + +.include <bsd.regress.mk> diff --git a/regress/eqn/unary/diacrit.in b/regress/eqn/unary/diacrit.in new file mode 100644 index 00000000..bb50774b --- /dev/null +++ b/regress/eqn/unary/diacrit.in @@ -0,0 +1,13 @@ +.Dd October 10, 2014 +.Dt UNARY-DIACRIT 1 +.Os OpenBSD +.Sh NAME +.Nm unary-diacrit +.Nd diacritical marks in equations +.Sh DESCRIPTION +initial text +.EQ +x dot x dotdot x hat x tilde x vec x dyad +{ x + y } bar { x + y } under +.EN +final text diff --git a/regress/eqn/unary/diacrit.out_ascii b/regress/eqn/unary/diacrit.out_ascii new file mode 100644 index 00000000..54a35c3c --- /dev/null +++ b/regress/eqn/unary/diacrit.out_ascii @@ -0,0 +1,9 @@ +UNARY-DIACRIT(1) General Commands Manual UNARY-DIACRIT(1) + +NNAAMMEE + uunnaarryy--ddiiaaccrriitt - diacritical marks in equations + +DDEESSCCRRIIPPTTIIOONN + initial text x. x" x^ x~ x-> x<-> (x + y) (x + y)_ final text + +OpenBSD October 10, 2014 OpenBSD diff --git a/regress/eqn/unary/diacrit.out_html b/regress/eqn/unary/diacrit.out_html new file mode 100644 index 00000000..076c6663 --- /dev/null +++ b/regress/eqn/unary/diacrit.out_html @@ -0,0 +1 @@ +<mrow><mover><mi>x</mi><mo>˙</mo></mover><mover><mi>x</mi><mo>¨</mo></mover><mover><mi>x</mi><mo>^</mo></mover><mover><mi>x</mi><mo>~</mo></mover><mover><mi>x</mi><mo>→</mo></mover><mover><mi>x</mi><mo>↔</mo></mover><mover><mrow><mi>x</mi><mi>+</mi><mi>y</mi></mrow><mo></mo></mover><munder><mrow><mi>x</mi><mi>+</mi><mi>y</mi></mrow><mo>_</mo></munder></mrow> diff --git a/regress/eqn/unary/sqrt.in b/regress/eqn/unary/sqrt.in new file mode 100644 index 00000000..359c3d7b --- /dev/null +++ b/regress/eqn/unary/sqrt.in @@ -0,0 +1,12 @@ +.Dd October 10, 2014 +.Dt UNARY-SQRT 1 +.Os OpenBSD +.Sh NAME +.Nm unary-sqrt +.Nd square root +.Sh DESCRIPTION +initial text +.EQ +r = sqrt { x sup 2 + y sup 2 } +.EN +final text diff --git a/regress/eqn/unary/sqrt.out_ascii b/regress/eqn/unary/sqrt.out_ascii new file mode 100644 index 00000000..104df229 --- /dev/null +++ b/regress/eqn/unary/sqrt.out_ascii @@ -0,0 +1,9 @@ +UNARY-SQRT(1) General Commands Manual UNARY-SQRT(1) + +NNAAMMEE + uunnaarryy--ssqqrrtt - square root + +DDEESSCCRRIIPPTTIIOONN + initial text r = sqrt(x^2 + y^2) final text + +OpenBSD October 10, 2014 OpenBSD diff --git a/regress/eqn/unary/sqrt.out_html b/regress/eqn/unary/sqrt.out_html new file mode 100644 index 00000000..b868474d --- /dev/null +++ b/regress/eqn/unary/sqrt.out_html @@ -0,0 +1 @@ +<mrow><mi>r</mi><mi>=</mi><msqrt><mrow><msup><mi>x</mi><mi>2</mi></msup><mi>+</mi><msup><mi>y</mi><mi>2</mi></msup></mrow></msqrt></mrow> |