I have some mathtype equations in word that i would like to convert to mathml. I have tried using the MathType SDK but it kept giving me an exception when trying to call a non managed dll. I have also emailed the support contacts and have heard nothing back. I know that word stores the ole.bin and mwf files for the mathtype equations so i was wondering if someone knew how to parse those files to obtain the mathml information.
Convert MathType equation in word to MathML
5k Views Asked by minimalist_zero At
2
There are 2 best solutions below
8
Mohamed Alikhan
On
If you are having licensed MathType application,
You can download their SDK for .NET from here.
http://www.dessci.com/en/reference/sdk/
Import the DLL and Keep the MT6.DLL in your Project root folder. And Use ConvertEquation class to convert your MathType Equation to TEX or MathML based on the Translators.
/edit/
using ConvertEquations;
private ConvertEquation ce = new ConvertEquation();
ce = new ConvertEquation();
String latexText = ce.Convert(new EquationInputFileWMF(pr2.GetInputFolder(imagefile.Name)), new EquationOutputFileText(pr2.GetOutputFile("txt"), Util.MathTypeTranslaterName));
This Works for me. Hope this helps.
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in MS-WORD
- VBA query - sort text in alphabetical order in Word
- Can you programmatically generate a link to open a Word document and navigate to a particular location within it (preferably a comment)?
- How can I create an automatic table of contents in docx without the text being bold?
- Does MS Word secretly upload my file to cloud?
- How to use VBA to bold just some text
- Find text and numbers Formatted: "Case: BE########" and format them, regardless of the number
- Access all documents for Word from multiple instance using Excel VBA
- Using document.Application.PixelsToPoints will give different results
- Error: "Document_KeyUp" event not working
- Word macro for reversing selected text
- Make a table of remarks/figures, and format it as a table
- Add custom ribbon button to dotm file that runs macro
- Inline pictures: Add margin
- Excel VBA: Action logging on label click (like Audit Trail)
- Custom referencing format in CSL document, Want to add whitespace into bibliography
Related Questions in MATHML
- Fences (parenthesis, braces) in HTML and MathML
- Parentheses in jqMath lifted up
- Constructing an html <math> element with js doesn't make it render properly
- Any simple and lightweight tool to transform LaTex to MathML?
- MathML's msqrt not tall enough for fraction
- Why do MathML identifiers look different?
- mathjax-script is giving error specification mandates value for attribute async
- How to do interactive MathML with React?
- MAUI WebView Control and CORS
- Retrieving input from MathML rendered using MathJax
- How to make MathJax equation render properly in href?
- MathML rendering issue on mobile browser
- Translate page on X axis then scroll back to be at same view
- How to get element in MathJax when crawl data?
- problem with rendering MathML tags inside asp.net core view
Related Questions in MATHTYPE
- How to install MathType plugins for CKEditor 5 in angular 8?
- when integrating mathType top of tinymce I got error
- ckeditor5 mathtype fraction issue
- Cannot read properties of null (reading 'editing') for open MathType in Online Builder with React
- Multi-line TeX expressions with Django MathJax
- Transferring a mathtype formula to a new docx file
- How to use CKEditor 5 with MathTyp plugin ni Next.js
- Why Math Type WIRISplugins.js does not parse the mathml rendered in react component?
- how to insert mathematical equation in pdf flutter?
- MathType External Plugin for TinyMCE not working
- Angular 13 Tinymce 6 add external plugin MathType
- TinyMCE replacing visual content
- MathJax rendering in WordPress
- Wiris MathType does not parse MathML on Vue Component reload
- Add plugins at ckeditor 4 in ASP.NET Core 5 MVC
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can copy-paste the MathML code.
You should be able to Copy the code from MathType (open the equation editor window, highlight, copy) and paste it directly into the code of whatever editor you're using.