Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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?

share|improve this question
1  
    
@Szymon: Welcome to TeX.SX. You LaTeX question was migrated here (first to our meta site by mistake). This topic was already discussed by some questions (see links) so I closed it as a duplicate. –  Martin Scharrer Mar 20 '11 at 10:30
    
Thanks Martin... I didn't even know about TeX.SX :) –  Szymon Guz Mar 20 '11 at 12:42
add comment

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.

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.

1 Answer

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.

share|improve this answer
add comment