From 8898eac06f8a89b8cb831931d44abaf63fcda1e4 Mon Sep 17 00:00:00 2001 From: Charles Roddie Date: Fri, 8 Nov 2019 08:34:08 +0000 Subject: [PATCH] Fix getting LargeOperator LaTeX --- .../CSharpMath.Forms.Example.UWP.csproj | 2 +- .../CSharpMath.NuGetPackageTests.CSharp.UWP.csproj | 2 +- CSharpMath/Atoms/Factories/MathListBuilder.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CSharpMath.Forms.Example/CSharpMath.Forms.Example.UWP/CSharpMath.Forms.Example.UWP.csproj b/CSharpMath.Forms.Example/CSharpMath.Forms.Example.UWP/CSharpMath.Forms.Example.UWP.csproj index 1faab626b..34ac8e428 100644 --- a/CSharpMath.Forms.Example/CSharpMath.Forms.Example.UWP/CSharpMath.Forms.Example.UWP.csproj +++ b/CSharpMath.Forms.Example/CSharpMath.Forms.Example.UWP/CSharpMath.Forms.Example.UWP.csproj @@ -11,7 +11,7 @@ CSharpMath.Forms.Example.UWP en-US UAP - 10.0.17763.0 + 10.0.18362.0 10.0.17763.0 14 512 diff --git a/CSharpMath.NuGetPackageTests.CSharp/CSharpMath.NuGetPackageTests.CSharp.UWP/CSharpMath.NuGetPackageTests.CSharp.UWP.csproj b/CSharpMath.NuGetPackageTests.CSharp/CSharpMath.NuGetPackageTests.CSharp.UWP/CSharpMath.NuGetPackageTests.CSharp.UWP.csproj index aff505ac2..bd61f67db 100644 --- a/CSharpMath.NuGetPackageTests.CSharp/CSharpMath.NuGetPackageTests.CSharp.UWP/CSharpMath.NuGetPackageTests.CSharp.UWP.csproj +++ b/CSharpMath.NuGetPackageTests.CSharp/CSharpMath.NuGetPackageTests.CSharp.UWP/CSharpMath.NuGetPackageTests.CSharp.UWP.csproj @@ -11,7 +11,7 @@ CSharpMath.NuGetPackageTests.CSharp.UWP en-US UAP - 10.0.17134.0 + 10.0.18362.0 10.0.16299.0 14 true diff --git a/CSharpMath/Atoms/Factories/MathListBuilder.cs b/CSharpMath/Atoms/Factories/MathListBuilder.cs index 9d83e97a6..6bc3ce0be 100644 --- a/CSharpMath/Atoms/Factories/MathListBuilder.cs +++ b/CSharpMath/Atoms/Factories/MathListBuilder.cs @@ -699,7 +699,7 @@ public static string MathListToString(IMathList mathList) { } case MathAtomType.LargeOperator: { var op = (LargeOperator)atom; - var command = MathAtoms.LatexSymbolNameForAtom(op); + var command = MathAtoms.LatexSymbolNameForAtom(new LargeOperator(op.Nucleus, null)); var originalOperator = (LargeOperator)MathAtoms.ForLatexSymbolName(command); builder.Append($@"\{command} "); if (originalOperator.Limits != op.Limits) {