summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-07-15 16:26:17 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-07-15 16:26:17 +0000
commitb694b2c2ba22bf59d6ba672026ac3bfc53eeb082 (patch)
tree4cc1c8a30072aaea5da35b56a1f9dfdf0b6ea229
parent2c51232f12fcfb70f8fde104948760fcd8d39a5c (diff)
downloadmandoc-b694b2c2ba22bf59d6ba672026ac3bfc53eeb082.tar.gz
print the right character for mathematical overbar; from bentley@
-rw-r--r--eqn.c2
-rw-r--r--regress/eqn/subsup/precedence.out_ascii2
-rw-r--r--regress/eqn/subsup/precedence.out_html2
-rw-r--r--regress/eqn/unary/diacrit.out_ascii2
-rw-r--r--regress/eqn/unary/diacrit.out_html2
5 files changed, 5 insertions, 5 deletions
diff --git a/eqn.c b/eqn.c
index d0456af6..82fa5b49 100644
--- a/eqn.c
+++ b/eqn.c
@@ -717,7 +717,7 @@ next_tok:
parent->bottom = mandoc_strdup("\\[ul]");
break;
case EQN_TOK_BAR:
- parent->top = mandoc_strdup("\\[rl]");
+ parent->top = mandoc_strdup("\\[rn]");
break;
case EQN_TOK_DOT:
parent->top = mandoc_strdup("\\[a.]");
diff --git a/regress/eqn/subsup/precedence.out_ascii b/regress/eqn/subsup/precedence.out_ascii
index 21207dd6..65f85d6c 100644
--- a/regress/eqn/subsup/precedence.out_ascii
+++ b/regress/eqn/subsup/precedence.out_ascii
@@ -4,6 +4,6 @@ NNAAMMEE
ssuubbssuupp--pprreecceeddeennccee - precedence of subscripts and superscripts
DDEESSCCRRIIPPTTIIOONN
- initial text (_x^)_(1_)^2 + (_e~)^((_x^)__s<->) ; I_II^_I + I^(II__I) final text
+ initial text (_x^)_(1_)^2- + (_e~)^((_x^)__s<->) ; I_II^_I + I^(II__I) final text
OpenBSD July 6, 2017 OpenBSD
diff --git a/regress/eqn/subsup/precedence.out_html b/regress/eqn/subsup/precedence.out_html
index d5579c76..ead91d07 100644
--- a/regress/eqn/subsup/precedence.out_html
+++ b/regress/eqn/subsup/precedence.out_html
@@ -1 +1 @@
-<mrow><msubsup><mover><mi>x</mi><mo>^</mo></mover><munder><mn>1</mn><mo>_</mo></munder><mover><mn>2</mn><mo></mo></mover></msubsup><mo>+</mo><msup><mover><mi>e</mi><mo>~</mo></mover><msub><mover><mi>x</mi><mo>^</mo></mover><mover><mi>s</mi><mo>&#x2194;</mo></mover></msub></msup><mo>;</mo><msubsup><mrow><mi fontstyle="normal">I</mi></mrow><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msubsup><mo>+</mo><msup><mrow><mi fontstyle="normal">I</mi></mrow><msub><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msub></msup></mrow>
+<mrow><msubsup><mover><mi>x</mi><mo>^</mo></mover><munder><mn>1</mn><mo>_</mo></munder><mover><mn>2</mn><mo>&#x203E;</mo></mover></msubsup><mo>+</mo><msup><mover><mi>e</mi><mo>~</mo></mover><msub><mover><mi>x</mi><mo>^</mo></mover><mover><mi>s</mi><mo>&#x2194;</mo></mover></msub></msup><mo>;</mo><msubsup><mrow><mi fontstyle="normal">I</mi></mrow><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msubsup><mo>+</mo><msup><mrow><mi fontstyle="normal">I</mi></mrow><msub><mrow><mi fontweight="bold">I</mi></mrow><mrow><mi>I</mi></mrow></msub></msup></mrow>
diff --git a/regress/eqn/unary/diacrit.out_ascii b/regress/eqn/unary/diacrit.out_ascii
index 62ac035f..d9fc6558 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)_ _x~^ final text
+ initial text _x. _x" _x^ _x~ _x-> _x<-> (_x + _y)- (_x + _y)_ _x~^ final text
OpenBSD July 6, 2017 OpenBSD
diff --git a/regress/eqn/unary/diacrit.out_html b/regress/eqn/unary/diacrit.out_html
index f03f8323..0934fd25 100644
--- a/regress/eqn/unary/diacrit.out_html
+++ b/regress/eqn/unary/diacrit.out_html
@@ -1 +1 @@
-<mrow><mover><mi>x</mi><mo>&#x02D9;</mo></mover><mover><mi>x</mi><mo>&#x00A8;</mo></mover><mover><mi>x</mi><mo>^</mo></mover><mover><mi>x</mi><mo>~</mo></mover><mover><mi>x</mi><mo>&#x2192;</mo></mover><mover><mi>x</mi><mo>&#x2194;</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><mover><mover><mi>x</mi><mo>~</mo></mover><mo>^</mo></mover></mrow>
+<mrow><mover><mi>x</mi><mo>&#x02D9;</mo></mover><mover><mi>x</mi><mo>&#x00A8;</mo></mover><mover><mi>x</mi><mo>^</mo></mover><mover><mi>x</mi><mo>~</mo></mover><mover><mi>x</mi><mo>&#x2192;</mo></mover><mover><mi>x</mi><mo>&#x2194;</mo></mover><mover><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo>&#x203E;</mo></mover><munder><mrow><mi>x</mi><mo>+</mo><mi>y</mi></mrow><mo>_</mo></munder><mover><mover><mi>x</mi><mo>~</mo></mover><mo>^</mo></mover></mrow>