Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've made several attempts of converting a Lyx document to MS Word , or RTF, and failed. I'm working with a moderately complex document, involving external includes ( Java code, Child documents ), formulas and images.

I've tried

  • exporting to Latex and then using tex4ht but the OpenOffice file is not created ( no context.xml inside the odt );
  • exporting to HTML and importing in OpenOffice Writer;
  • exporting to PDF and importing using Nitro PDF;

I'm now manually converting the Nitro PDF output, but it fares rather badly on formulas and code listings.

What other options are there?

share|improve this question
Why do you want to do this? Wouldn't a PDF be better? – Rich Bradshaw Dec 15 '09 at 14:08
It is a requirement from an external publication. – Robert Munteanu Dec 16 '09 at 8:08

Have you tried LyX-> LaTeX -> RTF-> Word?

Here are some additional suggestions, some paid options:

share|improve this answer
Thanks for the answer. I've seen that page, but had no luck with the options listed there. – Robert Munteanu Jan 19 '10 at 22:05

Probably a little late to the party, but since it took me a long while to complete the task even as of today, I felt like it's worth leaving a trace.

Here's the procedure that got me home. It's a little cumbersome, yet it allowed me not to replace all special characters in my Italian document, which was were latex2rtf was failing.

  1. From Lyx, export your file in Latex(Luatex, didn't try the other options)
  2. Run htlatex [filename.tex] (a)
  3. Open the resulting file with Firefox, it should show all of your formattings rather well
  4. Select All-->Copy-->Paste into LibreOffice

I had to manually reinsert the images (b), but it felt like a gift when compared with all other methods I tried. Sorry I didn't test further refinements, but had to complete everything to comply with a tight deadline and hadn't had time to test afterwards. Will edit if able to.

(a) I suspect I got the package by installing the gigantic latex2rtf application, but it should be an easy find. (b) On that matter I suspect the Lyx export of images into Latex would have worked if the images didn't contain spaces in their filenames, but can't confirm yet. Might check and edit this little bit. Edit: checked (b), and I could not make it work. The spaces trick applies to latex2rtf.

share|improve this answer
You should be able to open the HTML file directly in most modern word processors, including Microsoft Word and LibreOffice Writer. – Michael Kjörling Oct 7 '15 at 13:08
It usually works, but it also failed me. The Lyx export into lyXHTML of my latest document couldn't even be read by Firefox. – Giampaolo Ferradini Oct 8 '15 at 21:51

Convert to LaTeX then use tex2word. The conversion isn't perfect, but not bad, leaving a little tidying up to do at the end. Other latex -> word converters are listed at

share|improve this answer

Export to PDF from LyX. Adobe Acrobat Pro X has the option to save PDF as a MS Word document. If this version of Adobe is available to you, I highly recommend this method.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .