Skip to content

Instantly share code, notes, and snippets.

@justincbagley
Created September 5, 2017 16:48
Show Gist options
  • Save justincbagley/0ebab61f76955360fed8d35f2804db3d to your computer and use it in GitHub Desktop.
Save justincbagley/0ebab61f76955360fed8d35f2804db3d to your computer and use it in GitHub Desktop.

Convert Word (.docx) to LaTeX using Pandoc

This is easy to do using Pandoc. Here's an example using an imaginary scientific manuscript file named "manuscript.docx" on my MacBook Pro; execute the following in Terminal:

pandoc /path/to/manuscript.docx -o manuscript.tex

This outputs a .tex file that can be edited and typeset in a LaTeX editor like TeXMaker or TeXShop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment