GeneralWord-to-LaTeX

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

Word-to-LaTeX

Post by BoudewijnD »

Hi,

Does anybody know a program which can help me to convert some Word files in to Latex?
I used Word-to-latex but that gave me the following error:
Conversion started.
--------------------------------------------------------------------------------
Word version: 12.0
Input filename: C:\Users\Bouwie\Desktop\METHYL DONOR expirimental.doc
Output filename: C:\Users\Bouwie\Desktop\METHYL DONOR expirimental.tex
Config filename: C:\Users\Bouwie\Desktop\test
--------------------------------------------------------------------------------
Unknown error: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
at Word.Find.ClearFormatting()
at WordToLatex.WLSymbolFont.SymbolToUnicode()
at WordToLatex.WLConvertor.ConvertInner()
at WordToLatex.WLConvertor.Convert()

I donot know how to fix this. And I also tried GrindEQ Word-to-LaTeX. But you will have to pay for that one.

I there is anyone how has some other options I'm happy to here them.

Thanx,

\BoudewijnD

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Word-to-LaTeX

Post by localghost »

Try word2latex as an alternative.


Best regards
Thorsten
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

Re: Word-to-LaTeX

Post by BoudewijnD »

Thanx it does the job and fast as well. But I have a problem withthe out put. It's very messy. Because it is a data file that I want to convert from word, this contains alot of sub and suber script items which is converted like H$_{2}$ for example wchi also can be H_2 which prevent is from being in the math mode.

And because of al the $ latex get more than 100 errors and stops :D.

So is there an other solution for this?

And maybe it is also a bit off because use Office 12 (2008) and this is not supported by the program

\BoudewijnD

ps: offcourse I saved the file as .doc :idea:
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Word-to-LaTeX

Post by localghost »

I can't advice in this case. I use OpenOffice.org (OOo) as my office suite in those rare cases. With its extension Writer2LaTeX it supports also this kind of conversion for OOo Writer. Some tests I did recently have been very promising. But success often depends on the complexity of a document. If you are willing to upload the file here, I could try to convert it (without post-processing).
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Word-to-LaTeX

Post by frabjous »

You could try converting through AbiWord, which has a LaTeX-out conversion output, or with rtf2latex2e (converting the .doc to .rtf first, which can be done any number of different ways).

If it's a data file, and the structure is very regular, you might be better off writing your own conversion script -- it would depend on the file, however.
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

Re: Word-to-LaTeX

Post by BoudewijnD »

Downloaded and installed Abiword. Very impressed. But I can not find the Latex-oupur button or save as function.
Please point me in the right direction.
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Word-to-LaTeX

Post by frabjous »

For me, Latex is one of the options under "Save As..." in the normal "Save As..." dialog box.

You can also do it from the command line

abiword --to=latex myfile.doc

I mainly use the linux version; I do have the Windows version installed too on my Windows partition, however, and it also does latex output, so it's not specific to the linux version. It might be, however, that you have to choose the option to install that output filter when you're installing AbiWord. I seem to remember not every one being part of the "default install".
BoudewijnD
Posts: 60
Joined: Wed Nov 18, 2009 4:18 pm

Re: Word-to-LaTeX

Post by BoudewijnD »

:idea: :idea: Right again a reinstall with the Latex option did the tric
thanx!!
Post Reply