13

Possible Duplicate:
Workflow for converting LaTeX into Open Office / MS Word Format

What ways can you convert a LaTeX file to a Word document?

What resources/articles exist to help get this done?

marked as duplicate by Martin Scharrer Mar 20 '11 at 10:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

migrated from meta.tex.stackexchange.com Mar 20 '11 at 10:21

This question came from our discussion, support, and feature requests site for users of TeX, LaTeX, ConTeXt, and related typesetting systems.

18

Use pandoc to "export" the LaTeX file to a format that is readable by Word.

One way would be to use pandoc for LaTeX to RTF, then open the RTF in word, and use "save as" to get it into the final state. Word doesn't have the same kind of support for complex layouts, beautiful typography, etc. that LaTeX does, so the layout will not likely render the same; you might have to re-format parts of the page going into Word.

The basic command to do this is:

pandoc -s INPUT.tex -o OUTPUT.rtf

I'm not sure how it'll render the RTF, depending on your layouts, etc. so their may be a more suitable output type than RTF, depending on what filetypes Word supports, and the nature of your LaTeX.

Pandoc can output to plain text, markdown, reStructuredText, HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU Texinfo, MediaWiki markup, textile, groff man pages, Emacs org-mode, EPUB ebooks, and S5 and Slidy HTML slide shows.

You can also experiment with pandoc using its online demo, though that won't support any LaTeX extensions you might be using.

The key is finding a filetype that will render well, and then seeing how it looks when opened in Word; some experimentation will be needed.

  • Thanks, for getting a basic output for simply annotating, this was very useful. – Nit May 19 '16 at 6:30
  • Unfortunately, it does not export my bibliography. Does anyone know a solution for this? – flp Jan 13 '17 at 10:15