source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mandoc: print the right character for mathematical overbar; from
@ 2017-07-15 16:26 schwarze
  0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-07-15 16:26 UTC (permalink / raw)
  To: source

Log Message:
-----------
print the right character for mathematical overbar; from bentley@

Modified Files:
--------------
    mandoc:
        eqn.c
    mandoc/regress/eqn/subsup:
        precedence.out_ascii
        precedence.out_html
    mandoc/regress/eqn/unary:
        diacrit.out_ascii
        diacrit.out_html

Revision Data
-------------
Index: precedence.out_html
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/eqn/subsup/precedence.out_html,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/eqn/subsup/precedence.out_html -Lregress/eqn/subsup/precedence.out_html -u -p -r1.2 -r1.3
--- regress/eqn/subsup/precedence.out_html
+++ 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>
Index: precedence.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/eqn/subsup/precedence.out_ascii,v
retrieving revision 1.2
retrieving revision 1.3
diff -Lregress/eqn/subsup/precedence.out_ascii -Lregress/eqn/subsup/precedence.out_ascii -u -p -r1.2 -r1.3
--- regress/eqn/subsup/precedence.out_ascii
+++ regress/eqn/subsup/precedence.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
      s\bsu\bub\bbs\bsu\bup\bp-\b-p\bpr\bre\bec\bce\bed\bde\ben\bnc\bce\be - precedence of subscripts and superscripts
 
 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
-     initial text (_\bx^)_(1_)^2 + (_\be~)^((_\bx^)__\bs<->) ; I_I\bI^_\bI + I^(I\bI__\bI) final text
+     initial text (_\bx^)_(1_)^2- + (_\be~)^((_\bx^)__\bs<->) ; I_I\bI^_\bI + I^(I\bI__\bI) final text
 
 OpenBSD                          July 6, 2017                          OpenBSD
Index: eqn.c
===================================================================
RCS file: /home/cvs/mandoc/mandoc/eqn.c,v
retrieving revision 1.77
retrieving revision 1.78
diff -Leqn.c -Leqn.c -u -p -r1.77 -r1.78
--- eqn.c
+++ 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.]");
Index: diacrit.out_ascii
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/eqn/unary/diacrit.out_ascii,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/eqn/unary/diacrit.out_ascii -Lregress/eqn/unary/diacrit.out_ascii -u -p -r1.4 -r1.5
--- regress/eqn/unary/diacrit.out_ascii
+++ regress/eqn/unary/diacrit.out_ascii
@@ -4,6 +4,6 @@ N\bNA\bAM\bME\bE
      u\bun\bna\bar\bry\by-\b-d\bdi\bia\bac\bcr\bri\bit\bt - diacritical marks in equations
 
 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
-     initial text _\bx. _\bx" _\bx^ _\bx~ _\bx-> _\bx<-> (_\bx + _\by) (_\bx + _\by)_ _\bx~^ final text
+     initial text _\bx. _\bx" _\bx^ _\bx~ _\bx-> _\bx<-> (_\bx + _\by)- (_\bx + _\by)_ _\bx~^ final text
 
 OpenBSD                          July 6, 2017                          OpenBSD
Index: diacrit.out_html
===================================================================
RCS file: /home/cvs/mandoc/mandoc/regress/eqn/unary/diacrit.out_html,v
retrieving revision 1.4
retrieving revision 1.5
diff -Lregress/eqn/unary/diacrit.out_html -Lregress/eqn/unary/diacrit.out_html -u -p -r1.4 -r1.5
--- regress/eqn/unary/diacrit.out_html
+++ 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>
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-07-15 16:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-15 16:26 mandoc: print the right character for mathematical overbar; from schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).