How to convert LaTeX to Word

Run pandoc paper.tex -o paper.docx --citeproc --bibliography=refs.bib in the paper's folder to get an editable Word file with the equations as Word equations and a formatted reference list; pandoc reads the text but not what LaTeX works out while typesetting, so equation, figure and section numbers and what \ref prints need fixing, and PDF figures do not show in Word. In Manulyx, File → Download as Word (.docx) writes any project as Word with those numbers filled in, PDF and EPS figures converted to pictures Word shows, and the references formatted from your .bib.

Convert it yourself with pandoc

Run pandoc in the folder that holds the main .tex file, so it finds the files the paper includes and its figures:

pandoc paper.tex -o paper.docx --number-sections \
  --citeproc --bibliography=refs.bib --csl=style.csl

Figures

Word does not show PDF or EPS figures, which is what most LaTeX papers use. Convert them to PNG before converting the paper, for example with Ghostscript, and point the \includegraphics lines at the PNG files:

gs -sDEVICE=png16m -r200 -o figure.png figure.pdf

When the paper uses many packages: make4ht

make4ht (part of TeX Live) runs TeX on the paper itself, so the numbers and cross-references come out as LaTeX would print them. It writes an OpenDocument file, which LibreOffice turns into .docx:

make4ht -f odt paper.tex
soffice --headless --convert-to docx paper.odt

Check the equations and tables in the result: how they come across depends on the packages the paper uses.

What pandoc loses

In the LaTeX paperWhat you get from pandoc
EquationsWord equations you can edit. An equation pandoc cannot convert stays as LaTeX text, and pandoc warns "Could not convert TeX math".
Equation, figure, table and section numbersNot computed: pandoc does not typeset, so a \ref or \eqref does not print the number it prints in the PDF. --number-sections restores section numbers only.
CitationsFormatted with --citeproc; without it, only the keys.
PDF and EPS figuresMissing in Word: convert them to PNG first.
Drawings written in LaTeX (TikZ and the like)Not drawn: compile each one to PDF, convert it to PNG and include that.
Your own \newcommand macrosSimple ones are expanded; commands from packages pandoc does not know may be dropped or left as text.
The journal class's layout (two columns, title block, running heads)Not reproduced: Word gets plain styles, or those of your --reference-doc.

What to check after converting

How Manulyx does it

File → Download as Word (.docx) writes any project as a Word file, for a co-author, supervisor or editor who reads and comments in Word. It runs pandoc, after doing in the source the part of LaTeX's work that pandoc cannot:

The journal's own layout does not come across, and is not meant to: the Word file is for reading and commenting.

Questions

Will the equations be editable in Word?

Yes. Pandoc writes LaTeX math as Word equations. One it cannot convert stays as LaTeX text; Manulyx lists those in a note at the top of the document.

Why do the cross-references in my Word file have no numbers?

Pandoc reads LaTeX's text but does not typeset it, so it never works out the numbers of equations, figures and tables that \ref prints. make4ht runs TeX and gets them; Manulyx numbers them in the source before converting.

Why are my figures missing in the Word file?

Word does not show PDF or EPS figures. Convert them to PNG first and include the PNG files; Manulyx does this for you.

Can I keep my journal's layout in Word?

No. A journal class's two columns, title block and running heads are LaTeX's work; Word gets plain styles. Use --reference-doc with pandoc to set fonts, margins and styles.

Start free

Or read the guide first: Help: Download as Word.

Other conversions