Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Sat Jun 23, 2018 2:07 pm

How can I generate and insert in document text formulas written in MathML or LaTeX or...??
Thanks.
Sergey

sergeyvsubachev@gmail.com
 
Posts: 2
Joined: Sat Jun 23, 2018 2:03 pm

Mon Jun 25, 2018 2:30 am

Dear Sergey,

Thanks for your inquiry.
Sorry that Spire.Doc doesn't support creating equations at present. We will consider adding the new feature in our future upgrade. Once there is any update, we will let you know.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Mon Jun 25, 2018 9:17 am

Thank you. I will wait.

Maybe you know, in Word you can insert the formula code with the command "Edit> Paste> Paste Special> Unformatted Text".
Where formula code - in MathML language, for example:
Code: Select all
<mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" mlns:m="http://schemas.openxmlformats.org/officeDocument/2006/math">
<mml:msup>
<mml:mrow><mml:mi>a</mml:mi></mml:mrow>
<mml:mrow><mml:mn>2</mml:mn></mml:mrow>
</mml:msup>
<mml:mo>+</mml:mo>
<mml:msup>
<mml:mrow><mml:mi>b</mml:mi></mml:mrow>
<mml:mrow><mml:mn>2</mml:mn></mml:mrow>
</mml:msup>
<mml:mo>=</mml:mo>
<mml:msup>
<mml:mrow><mml:mi>c</mml:mi></mml:mrow>
<mml:mrow><mml:mn>2</mml:mn></mml:mrow>
</mml:msup>
</mml:math>


Is there a function of inserting such unformatted text in Spire.Doc?
This would help solve the problem.
Sergey

sergeyvsubachev@gmail.com
 
Posts: 2
Joined: Sat Jun 23, 2018 2:03 pm

Mon Jun 25, 2018 9:58 am

Dear Sergey,

Thanks for your information.
The method for creating formulas you mentioned is not available via Spire at present, I transferred your requirement to our Dev team. We will let you know once there is any update about the new feature.

Thanks,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Fri Aug 16, 2019 3:42 am

Hi,

Thanks for waiting.
Now our Spire.Doc supports both Latex and MathML equations. Welcome to download the latest Spire.Doc V7.7.23 from following link:
Our website: https://www.e-iceblue.com/Download/down ... t-now.html
NuGet: https://www.nuget.org/packages/Spire.Doc/

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.Doc

cron