Converting word to lyx

Is there a tool or script which converts word documents to lyx. This python script works nicely but is not able to preserve the formatting styles of the text. Is there a way to solve this? Note : I am not interested in the indirect option i.e converting to latex and then lyx, After studying the above script ,I understand that the model of lyx is much more closer to word which led the author to suggest an interesting tool from this script which I find promising.

asked Sep 29, 2013 at 2:49 183 1 1 gold badge 1 1 silver badge 5 5 bronze badges

I knew that and have tried all that options and I am not interested to convert to latex, only lyx. Also lyx is much closer to word than latex

Commented Sep 29, 2013 at 4:34

Word's format is such a quickly moving target that I'm afraid LyX's relative simplicity is a bit of a red herring. Even so, I would try a pandoc approach.

Commented Sep 29, 2013 at 5:00 @SeanAllred does pandox support word->lyx? Commented Sep 29, 2013 at 5:07

It's a bit more complicated, I'm afraid. Word - RTF - (pandoc) - LaTeX - LyX . Note that each and every conversion step introduces the possibility of error. You may find that, as niche as LaTeX is, LyX is even more so. There simply isn't a wide enough audience to warrant the time investment to create complementary tools. (But you may have luck with LyX - ODT - Word which is supported by LyX itself.)

Commented Sep 29, 2013 at 5:12

There is a new commercial program, LyXConverter, that does exactly what you want. It converts Word directly to LyX format (format 413, which is what LyX 2.0.x uses). It has a trial so you can test it. I have not tried it because I do not have Windows, but I can say that the author is very responsive. Please post back your experience if you try it.

Commented Oct 29, 2013 at 6:04

2 Answers 2

You might try LyXConverter:

It's a Microsoft Word add-in, so it translates a Word document directly into LyX, without first exporting to LaTeX or going through other gyrations. The resulting LyX document is very clean, without instances of ERT or other odd artifacts.

The program converts paragraph styles, local formatting (italics, bold, small caps), numbered and bulleted lists, pictures, tables, footnotes and endnotes, and much more.

It's a commercial program ($29.95) but has a 45-day trial period.