How to convert Word to LaTeX

Run pandoc -s paper.docx -o paper.tex --extract-media=. to get a LaTeX file that compiles, with the pictures in a media folder: Word's own equations become LaTeX math, but MathType and Equation Editor 3.0 equations arrive as pictures, and a typed reference list stays plain text. Manulyx imports the .docx for you, writes every equation (MathType and Equation Editor 3.0 included) as LaTeX math, turns a numbered reference list into a .bib file with \cite commands, and can place the paper in a journal's template.

Convert it yourself with pandoc

Pandoc is free and runs on Windows, macOS and Linux. It reads .docx, not the older .doc: save a .doc as .docx first, in Word or with LibreOffice (soffice --headless --convert-to docx paper.doc).

  1. Settle the tracked changes. Pandoc accepts them by default (--track-changes=accept); --track-changes=reject ignores them and --track-changes=all keeps insertions, deletions and comments marked. Accepting or rejecting them in Word first means you decide, not the converter.
  2. Convert to a complete document:
pandoc -s paper.docx -o paper.tex --extract-media=. --wrap=none

-s (standalone) writes the preamble and \begin{document}, so the file compiles on its own. --extract-media=. saves the pictures from the .docx under the current folder (they sit in media/ inside the .docx, so that is where they land) and the .tex points to them. --wrap=none keeps each paragraph on one line, which makes the source easier to edit and compare.

  1. Compile with latexmk -pdf paper.tex (or pdflatex twice). Both come with TeX Live.
  2. Or take the body only, to go into a journal's template: leave out -s, then \input{body} in the template. The body uses commands that pandoc defines in its own preamble, such as \tightlist in lists and, from pandoc 3.2, \pandocbounded around every picture; remove them or define them in the template's preamble, or it will not compile.
pandoc paper.docx -o body.tex --extract-media=. --wrap=none

What pandoc loses

Pandoc converts structure, not appearance. Headings, paragraphs, bold and italic, lists, footnotes and links come across well. The rest:

In the Word fileWhat you get from pandocWhat to do
Equations made with Insert → Equation (Word 2007 and later)LaTeX mathCheck them once against the Word file.
MathType and Equation Editor 3.0 equationsA picture of each equation: it is an embedded object, and pandoc keeps only its preview imageRetype each one in LaTeX.
A typed reference list and numbers such as [3] in the textPlain paragraphs and plain text, not a .bib file or \citeBuild the .bib (a reference manager can export one) and replace each number with \cite{key}.
Cross-references ("see Figure 3")Fixed text, or a link to a Word bookmark, not \label and \refAdd \label to each figure, table and equation and \ref where they are cited.
TablesA longtable; merged cells and column widths often need fixinglongtable does not work in a two-column layout: use table and tabular there.
Charts and drawings stored as EMF or WMFThe files as they are, which LaTeX cannot includeConvert them to PDF: soffice --headless --convert-to pdf figure.emf.
TIFF and BMP picturesThe files as they areConvert them to PNG.
Paragraph styles, fonts, colors, spacingDroppedLet the LaTeX class or the journal's template set them.

If the citations were inserted with a reference manager's Word plugin, pandoc can read them as citations (see the pandoc manual); a typed list it cannot.

What to check after converting

How Manulyx does it

Manulyx runs pandoc too, and then does the parts pandoc leaves to you.

Measured: the import was tested on 29 official Word templates from 13 publishers, each also brought into six journal templates, and every one compiled (October 2026).

Questions

Can pandoc convert MathType equations to LaTeX?

No. A MathType or Equation Editor 3.0 equation is an embedded object that holds the equation in MathType's own format beside a picture of it, and pandoc keeps only the picture. Manulyx reads the equation itself and writes it as LaTeX math.

Does pandoc read .doc files?

No, only .docx. Save the file as .docx in Word, or run soffice --headless --convert-to docx paper.doc with LibreOffice, then convert.

Will my reference list become a .bib file?

Not with pandoc: a typed list arrives as plain paragraphs. Manulyx reads a numbered list entry by entry, writes a .bib file, and turns numbers such as [3] into \cite commands.

Can the converted paper go straight into a journal's template?

In Manulyx, yes: start from the journal's template and choose File → Import a Word file…; the title, abstract, keywords and authors go into the template's places. By hand, convert the body only and move the title and authors into the template's own commands.

Start free

Or read the guide first: Help: Word and LaTeX.

Other conversions