I'm trying to convert my Latex document + equations to word document and I'm using Mathtype. I've tried some of the .tex to word converts, htlatex etc and it just doesn't work and its going to be quicker to do it myself.

However all my latex documents use my own commands via "newcommand" so that I can change symbols thought the entire document quickly. For example:


Then my equation would be something like:

\partial_flux(\Cartesian_coord_1) \in \Real_Space

With open office there is a package called TexMath and its allows one to give it the list of \newcommands under the tab called "preamble". Then one simply pastes the latex equations, clicks the convert button and it all works great.

I cannot use Open office and must instead use word, so is there a way in which I can do this within word?

  • This is really a question about MathType/Word isn't it? That makes it off-topic here, I think. Saving the document in OpenOffice in Word's format doesn't work? Another thing you could try is to run a script that replaces all your macros with their definitions, see e.g. Is there a script that reads a TeX file and replaces every instance of a \newcommand? – Torbjørn T. Aug 25 '15 at 12:13
  • when you want to convert to Word, you should use command mk4ht oolatex filename. this will create the .odt file. It can be then saved as Word document in LibreOffice. See tex.stackexchange.com/a/197989/2891 – michal.h21 Aug 25 '15 at 12:29
  • Hi michal.h21 many thanks, I have tried to use both mk4ht and htlatex and while everything runs fine I don't seem to have a .odt file! I've also tried the command line in given in the link and against runs but no .odt is produced. – user2350366 Aug 25 '15 at 17:50
  • \newcommands{\Cartesian_coord_1}{x} would not work in latex, the command is \newcommand not \newcommands and commands so defined can not use _ or 1 in their name. Do you really expect some other convertor to accept this syntax? – David Carlisle Sep 23 '17 at 14:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.