I have a docx file containing a few equations in different pages. With Python and lxml, I was successful in extracting the content. I now need to convert the equations in Word to Latex. Some of the equations are shown as:
Is there any Python library of any tool that I can use to convert the equation to Latex format?
Developed and published by Irrational Games / Activision. The adrenaline is always high as you carry on the legendary SWAT® tradition–leading an elite squad of tactical experts into hard-hitting action that delves deeply into every detail of the experience. Swat 4 gold edition download mega. Swat 4 Gold Edition Game – Overview – Free Download – Compressed – PC – Specs – Screenshots – RIP – Torrent/uTorrentType of game: Action, ShootingPC Release Date: April 5, 2005Developer/Publishers: Irrational Games, Activision(1.10 GB) is a Tactical Shooting video game. It was released on April 5, 2005 for Windows PC.
Here is a snippet of the XML file which I obtained from docxfile/word/document.xml:
Sudip Kafle
Sudip KafleSudip Kafle
2,26633 gold badges2525 silver badges4444 bronze badges
1 Answer
I'm not sure this constitutes an answer per se, but perhaps on the way to one.
I went looking for such a tool a while back and didn't find one, so I think the short answer is no.
Word supports more than one format for equations. The type you have is known as a 'Word EQ Field equation'. http://office.microsoft.com/en-us/word-help/field-codes-eq-equation-field-HP005186148.aspx
I don't find any Python solutions for this on search, and I know for certain python-docx doesn't support it. Wish I had better news for you :(
If you're determined, there appear to be some non-Python solutions out there that do this conversion, they might be an alternative or an example to study if you decide to whip one up yourself :)
scannyscanny
11.8k11 gold badge2323 silver badges4545 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.
Not the answer you're looking for? Browse other questions tagged pythonms-wordlatexequationpython-docx or ask your own question.
screenshots
Note that your submission may not appear immediately on our site.
Thank You for Helping us Maintain CNET's Great Community, !
Your message has been reported and will be reviewed by our staff.
Screenshots
Related:Latex Import Word - Latex To Word Converter - Formula Latex Word - Convert Latex Document - Convert Word To Xlsm To Word Convert Word To Latex Code Online
Pages : 1 | 2 | 3>
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |