Converting LaTeX to Word – part 3 (Pandoc revisited)

In part 1 of Converting LaTeX to Word, I explained how I used Pandoc to convert from LaTeX to Word (doc, docx, RTF), but there were problems getting figure reference numbers to show up, because by default Pandoc cannot handle automatic numbering and referencing of figures like Latex can.  The [pandoc-reference-filter] package was written to solve this problem.

[Note: Unfortunately I couldn’t get Pandoc to recognize the filters package – probably due to my inability to install Python packages in Windows correctly (doh!) – so I stopped trying because Latex2RTF works well for me, for now.]

How to get figure and table references to show up with the Pandoc LaTex to Word conversion scripts

  1. You need Python and of course Pandoc
  2. Install [pandoc-reference-filter] and [pandocfilters version 1.2.3]
  3. And then finally get your main ingredients together: see the previous post here
  4. Follow the markup and usage examples in [pandoc-reference-filter], compile with Pandoc, and your figures should be numbered and referenced correctly

Pros and Cons of using Pandoc to convert from Latex to Word

+ Pros

– Cons

Other posts in the LaTeX to RTF conversion series