From f8609ec8a464768646ff61ab538e128d8bc99c26 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sat, 15 Jul 2017 16:26:17 +0000 Subject: print the right character for mathematical overbar; from bentley@ --- eqn.c | 4 ++-- regress/eqn/subsup/precedence.out_ascii | 2 +- regress/eqn/subsup/precedence.out_html | 2 +- regress/eqn/unary/diacrit.out_ascii | 2 +- regress/eqn/unary/diacrit.out_html | 2 +- 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 * Copyright (c) 2014, 2015, 2017 Ingo Schwarze @@ -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 @@ -x^1_2+e~x^s;III+III +x^1_2+e~x^s;III+III 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 @@ -x˙x¨x^x~xxx+yx+y_x~^ +x˙x¨x^x~xxx+yx+y_x~^ -- cgit v1.2.3-56-ge451