From aa3bf9fa28e26392f914dbaa01995ab0d4dbea4a Mon Sep 17 00:00:00 2001 From: Corrado-possieri Date: Wed, 22 Jan 2025 15:13:04 +0100 Subject: [PATCH 1/2] Update mathml.m2 Update development branch --- M2/Macaulay2/m2/mathml.m2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M2/Macaulay2/m2/mathml.m2 b/M2/Macaulay2/m2/mathml.m2 index 75c0cf630e..bb282d5c0f 100644 --- a/M2/Macaulay2/m2/mathml.m2 +++ b/M2/Macaulay2/m2/mathml.m2 @@ -61,7 +61,7 @@ mathML FunctionApplication := m -> ( ) mathML MatrixExpression := x -> concatenate( "(", mtableML x, ")", newline ) mathML Minus := v -> concatenate( "-", mathML v#0) -mathML Divide := x -> concatenate("", mathML x#0, mathML x#1, "") +mathML Divide := x -> concatenate("", mathML x#0,"", mathML x#1, "") mathML OneExpression := x -> "1" mathML ZeroExpression := x -> "0" mathML Sum := v -> ( From 15b4f5fa452512d579090681b2cc4d669ecbcdae Mon Sep 17 00:00:00 2001 From: Corrado-possieri Date: Thu, 23 Jan 2025 17:29:34 +0100 Subject: [PATCH 2/2] Update mathml.m2 Updated the definition of Minus rather than the one of Divide --- M2/Macaulay2/m2/mathml.m2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/M2/Macaulay2/m2/mathml.m2 b/M2/Macaulay2/m2/mathml.m2 index bb282d5c0f..c69be5be09 100644 --- a/M2/Macaulay2/m2/mathml.m2 +++ b/M2/Macaulay2/m2/mathml.m2 @@ -60,8 +60,8 @@ mathML FunctionApplication := m -> ( else concatenate (bigParenthesize mfun, bigParenthesize margs) ) mathML MatrixExpression := x -> concatenate( "(", mtableML x, ")", newline ) -mathML Minus := v -> concatenate( "-", mathML v#0) -mathML Divide := x -> concatenate("", mathML x#0,"", mathML x#1, "") +mathML Minus := v -> concatenate( "-", mathML v#0, "") +mathML Divide := x -> concatenate("", mathML x#0, mathML x#1, "") mathML OneExpression := x -> "1" mathML ZeroExpression := x -> "0" mathML Sum := v -> (