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).
- Settle the tracked changes. Pandoc accepts them by default (
--track-changes=accept);--track-changes=rejectignores them and--track-changes=allkeeps insertions, deletions and comments marked. Accepting or rejecting them in Word first means you decide, not the converter. - 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.
- Compile with
latexmk -pdf paper.tex(orpdflatextwice). Both come with TeX Live. - 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\tightlistin lists and, from pandoc 3.2,\pandocboundedaround 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=noneWhat pandoc loses
Pandoc converts structure, not appearance. Headings, paragraphs, bold and italic, lists, footnotes and links come across well. The rest:
| In the Word file | What you get from pandoc | What to do |
|---|---|---|
| Equations made with Insert → Equation (Word 2007 and later) | LaTeX math | Check them once against the Word file. |
| MathType and Equation Editor 3.0 equations | A picture of each equation: it is an embedded object, and pandoc keeps only its preview image | Retype each one in LaTeX. |
| A typed reference list and numbers such as [3] in the text | Plain paragraphs and plain text, not a .bib file or \cite | Build 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 \ref | Add \label to each figure, table and equation and \ref where they are cited. |
| Tables | A longtable; merged cells and column widths often need fixing | longtable does not work in a two-column layout: use table and tabular there. |
| Charts and drawings stored as EMF or WMF | The files as they are, which LaTeX cannot include | Convert them to PDF: soffice --headless --convert-to pdf figure.emf. |
| TIFF and BMP pictures | The files as they are | Convert them to PNG. |
| Paragraph styles, fonts, colors, spacing | Dropped | Let 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
- Every equation, against the Word file, once. A picture of an equation is the easiest thing to miss: search the .tex for
\includegraphicsand look at each one. - Equation, figure and table numbers, and every cross-reference to them.
- The references: that each citation points to the right entry, and that the list is complete.
- Special characters: degree signs, Greek letters typed as text, symbols from Word's Symbol font, non-breaking spaces.
- Figures: that each one is there, in a format LaTeX includes (PDF, PNG, JPG), and fits the column.
- Tables wider than the column, and merged cells.
- The compile log: no errors, and no
undefined referenceswarnings after a second run.
How Manulyx does it
Manulyx runs pandoc too, and then does the parts pandoc leaves to you.
- A new project from a Word file: on the Projects page, open New project and upload the .docx. It becomes a LaTeX project with its pictures in
figures/. - Into a journal's template: start a project from the journal's template, then File → Import a Word file…. The title, abstract, keywords and authors go into the template's own places for them, and the body replaces the sample text. A long paper with many equations and figures takes up to a minute.
- Every equation as LaTeX math: Word's own equations, and MathType and Equation Editor 3.0 equations, which Manulyx reads from the embedded object itself rather than its picture.
- Tables, merged cells included, and footnotes, lists and figures.
- References: a numbered reference list is read entry by entry and matched to the DOI registry, so most entries arrive as complete .bib entries with their DOIs, and numbers such as [3] or [2–5] become
\citecommands. Author–year citations such as (Smith 2020) are left as typed: matching them is guesswork, and a wrong citation is worse than none. - Pictures: EMF and WMF are converted to PDF, TIFF and BMP to PNG. A picture that cannot be converted is marked in the text, never silently lost.
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.
Or read the guide first: Help: Word and LaTeX.