summaryrefslogtreecommitdiffstats
path: root/regress/eqn/unary
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-26 20:11:45 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-26 20:11:45 +0000
commit7a652daded74f9e8becb34e9dca1d6202eae46fe (patch)
tree074d0f8b776cc7a5000a61a5baabd454c9c0b892 /regress/eqn/unary
parentd06770ec5841a0d0f6cc2f9616d2a46daa15450b (diff)
downloadmandoc-7a652daded74f9e8becb34e9dca1d6202eae46fe.tar.gz
catch up with the recent eqn(7) improvements
Diffstat (limited to 'regress/eqn/unary')
-rw-r--r--regress/eqn/unary/Makefile4
-rw-r--r--regress/eqn/unary/bold.in12
-rw-r--r--regress/eqn/unary/bold.out_ascii9
-rw-r--r--regress/eqn/unary/bold.out_html1
-rw-r--r--regress/eqn/unary/diacrit.out_ascii2
-rw-r--r--regress/eqn/unary/diacrit.out_html2
-rw-r--r--regress/eqn/unary/sqrt.in2
-rw-r--r--regress/eqn/unary/sqrt.out_ascii2
-rw-r--r--regress/eqn/unary/sqrt.out_html2
9 files changed, 29 insertions, 7 deletions
diff --git a/regress/eqn/unary/Makefile b/regress/eqn/unary/Makefile
index f68a5ce7..3679153c 100644
--- a/regress/eqn/unary/Makefile
+++ b/regress/eqn/unary/Makefile
@@ -1,6 +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
+REGRESS_TARGETS = bold diacrit sqrt
+HTML_TARGETS = bold diacrit sqrt
.include <bsd.regress.mk>
diff --git a/regress/eqn/unary/bold.in b/regress/eqn/unary/bold.in
new file mode 100644
index 00000000..d1d1686d
--- /dev/null
+++ b/regress/eqn/unary/bold.in
@@ -0,0 +1,12 @@
+.Dd June 26, 2017
+.Dt UNARY-BOLD 1
+.Os OpenBSD
+.Sh NAME
+.Nm unary-bold
+.Nd font handling in bold boxes
+.Sh DESCRIPTION
+initial text
+.EQ
+bold { sin "sin" }
+.EN
+final text
diff --git a/regress/eqn/unary/bold.out_ascii b/regress/eqn/unary/bold.out_ascii
new file mode 100644
index 00000000..01ef870a
--- /dev/null
+++ b/regress/eqn/unary/bold.out_ascii
@@ -0,0 +1,9 @@
+UNARY-BOLD(1) General Commands Manual UNARY-BOLD(1)
+
+NNAAMMEE
+ uunnaarryy--bboolldd - font handling in bold boxes
+
+DDEESSCCRRIIPPTTIIOONN
+ initial text ((sin ssiinn)) final text
+
+OpenBSD June 26, 2017 OpenBSD
diff --git a/regress/eqn/unary/bold.out_html b/regress/eqn/unary/bold.out_html
new file mode 100644
index 00000000..56d6762f
--- /dev/null
+++ b/regress/eqn/unary/bold.out_html
@@ -0,0 +1 @@
+<mrow><mrow><mrow><mi>sin</mi><mi fontweight="bold">sin</mi></mrow></mrow></mrow>
diff --git a/regress/eqn/unary/diacrit.out_ascii b/regress/eqn/unary/diacrit.out_ascii
index 54a35c3c..1e35a8fc 100644
--- a/regress/eqn/unary/diacrit.out_ascii
+++ b/regress/eqn/unary/diacrit.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
uunnaarryy--ddiiaaccrriitt - diacritical marks in equations
DDEESSCCRRIIPPTTIIOONN
- initial text x. x" x^ x~ x-> x<-> (x + y) (x + y)_ final text
+ 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
index 076c6663..02dcc2f4 100644
--- a/regress/eqn/unary/diacrit.out_html
+++ b/regress/eqn/unary/diacrit.out_html
@@ -1 +1 @@
-<mrow><mover><mi>x</mi><mo>&#729;</mo></mover><mover><mi>x</mi><mo>&#168;</mo></mover><mover><mi>x</mi><mo>^</mo></mover><mover><mi>x</mi><mo>~</mo></mover><mover><mi>x</mi><mo>&#8594;</mo></mover><mover><mi>x</mi><mo>&#8596;</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>
+<mrow><mover><mi>x</mi><mo>&#729;</mo></mover><mover><mi>x</mi><mo>&#168;</mo></mover><mover><mi>x</mi><mo>^</mo></mover><mover><mi>x</mi><mo>~</mo></mover><mover><mi>x</mi><mo>&#8594;</mo></mover><mover><mi>x</mi><mo>&#8596;</mo></mover><mover><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo></mo></mover><munder><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo>_</mo></munder></mrow>
diff --git a/regress/eqn/unary/sqrt.in b/regress/eqn/unary/sqrt.in
index b416da7c..2bd4a9f5 100644
--- a/regress/eqn/unary/sqrt.in
+++ b/regress/eqn/unary/sqrt.in
@@ -7,6 +7,6 @@
.Sh DESCRIPTION
initial text
.EQ
-r = sqrt { x sup 2 + y sup 2 } + sqrt { } + sqrt
+r = sqrt { x sup 2 + y sup 2 } + sqrt a+b + sqrt { } + sqrt
.EN
final text
diff --git a/regress/eqn/unary/sqrt.out_ascii b/regress/eqn/unary/sqrt.out_ascii
index f109b770..7aa6778e 100644
--- a/regress/eqn/unary/sqrt.out_ascii
+++ b/regress/eqn/unary/sqrt.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
uunnaarryy--ssqqrrtt - square root
DDEESSCCRRIIPPTTIIOONN
- initial text r = sqrt(x^2 + y^2) + sqrt() + sqrt final text
+ initial text _r = sqrt(_x^2 + _y^2) + sqrt(_a + _b) + sqrt() + sqrt final text
OpenBSD February 12, 2017 OpenBSD
diff --git a/regress/eqn/unary/sqrt.out_html b/regress/eqn/unary/sqrt.out_html
index a828ff1d..ca2de199 100644
--- a/regress/eqn/unary/sqrt.out_html
+++ b/regress/eqn/unary/sqrt.out_html
@@ -1 +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><mi>+</mi><msqrt><mrow></mrow></msqrt><mi>+</mi><msqrt></msqrt></mrow>
+<mrow><mi>r</mi><mo>=</mo><msqrt><mrow><msup><mi>x</mi><mn>2</mn></msup><mo>+</mo><msup><mi>y</mi><mn>2</mn></msup></mrow></msqrt><mo>+</mo><msqrt><mrow><mi>a</mi><mo>+</mo><mi>b</mi></mrow></msqrt><mo>+</mo><msqrt><mrow></mrow></msqrt><mo>+</mo><msqrt></msqrt></mrow>