aboutsummaryrefslogtreecommitdiffstatshomepage
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
commitf8609ec8a464768646ff61ab538e128d8bc99c26 (patch)
treebe56794146b6c845d113f9552ef9ca493597f2e1
parentb135eeb2e6bc52a855d0a282c4a772eecc177a76 (diff)
downloadmandoc-f8609ec8a464768646ff61ab538e128d8bc99c26.tar.gz
mandoc-f8609ec8a464768646ff61ab538e128d8bc99c26.tar.zst
mandoc-f8609ec8a464768646ff61ab538e128d8bc99c26.zip
print the right character for mathematical overbar; from bentley@
-rw-r--r--eqn.c4
-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, 6 insertions, 6 deletions
diff --git a/eqn.c b/eqn.c
index 4cff6e86..01601a71 100644
--- a/eqn.c
+++ b/eqn.c
@@ -1,4 +1,4 @@
-/* $Id: eqn.c,v 1.77 2017/07/14 18:18:26 schwarze Exp $ */
+/* $Id: eqn.c,v 1.78 2017/07/15 16:26:17 schwarze Exp $ */
/*
* Copyright (c) 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -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>