gitwtfhub

wtf is latex-to-word-workflow?

hajimi-kun/latex-to-word-workflow — explained in plain English

Analysis updated 2026-05-18

83PythonAudience · researcherComplexity · 3/5LicenseSetup · moderate

TL;DR

An AI agent skill that converts LaTeX academic papers into polished, editable Word documents with working citations, figures, and cross references.

Mindmap

mindmap
  root((repo))
    What it does
      Converts LaTeX to Word
      Preserves figures and equations
      Handles Zotero citations
    Tech stack
      Python
      Pandoc
      LaTeX and BibTeX
    Use cases
      Submit a paper as Word
      Keep citations live via Zotero
      Audit citation keys
    Audience
      Researchers
      Academic writers
    Requirements
      Pandoc 3 or newer
      Desktop Word
      Optional Zotero and BBT
    Distribution
      Claude Code skill folder
      Codex skill folder

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Convert a LaTeX manuscript into a polished Word document for a journal that requires Word submissions.

REASON 2

Keep citation fields in the Word document live and synced with a Zotero library.

REASON 3

Audit a document to check that every citation key matches an entry in the bibliography.

REASON 4

Preserve figure, table, and equation numbering as native Word cross references.

What's in the stack?

PythonPandocLaTeXpython-docx

How it stacks up

hajimi-kun/latex-to-word-workflowfainshare/liam-skillsmichaelliao/miniweibo
Stars838383
LanguagePythonPythonPython
Last pushed2012-12-28
MaintenanceDormant
Setup difficultymoderateeasymoderate
Complexity3/53/53/5
Audienceresearcherdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Requires Pandoc, LaTeX, Python dependencies, desktop Word, and optionally Zotero with Better BibTeX for live citations.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

Wtf does this do

This project is a skill for AI coding agents like Claude Code or Codex that converts academic papers written in LaTeX into properly formatted, editable Microsoft Word documents. Rather than a rough conversion, it aims to preserve figures, equations, tables, custom document styles, and citations so the resulting Word file looks like a real polished manuscript rather than something dumped out of a converter. Citations can be handled two ways. If you use the reference manager Zotero along with a plugin called Better BibTeX, the skill can insert live citation fields that stay connected to your Zotero library and update if your references change. If you do not use Zotero, it can instead insert static citations formatted according to a citation style. It also checks that citation keys in your document actually match entries in your bibliography file, and it uses Word's native cross reference features for figures, tables, and numbered equations so those references stay correct if you reorder content later. The tool relies on Pandoc to do the underlying LaTeX to Word conversion, plus Python libraries for working with Word files, and it needs a working LaTeX and BibTeX setup on your machine. You also need a desktop copy of Microsoft Word so you, the human, can open the finished document, refresh any live citation fields, and do a final visual check, since the skill does not claim to produce a document that needs no human review at all. To install it, you copy or clone the inner skill folder into whatever skills directory your AI agent tool uses, such as the Claude Code skills folder, then install the Python dependencies listed in the requirements file. On first use with an unconfigured setup, the agent is meant to check that all the required tools are installed, confirm a Word template to use as a base, run a small test conversion, and only then convert your full manuscript. The README also lists several similar existing projects for context, noting that this one's particular niche is combining an agent skill, support for both live and static citations, native Word cross references, and a final human review step. The project is released under the MIT license.

Yoink these prompts

Prompt 1
Install this LaTeX to Word skill into my Claude Code skills folder and convert my manuscript.
Prompt 2
Walk me through setting up live Zotero citations using Better BibTeX with this skill.
Prompt 3
Help me run the minimal example in this project to smoke test my conversion setup before converting my full paper.
Prompt 4
Explain how this skill keeps figure and equation cross references correct in the converted Word document.

Frequently asked questions

wtf is latex-to-word-workflow?

An AI agent skill that converts LaTeX academic papers into polished, editable Word documents with working citations, figures, and cross references.

What language is latex-to-word-workflow written in?

Mainly Python. The stack also includes Python, Pandoc, LaTeX.

What license does latex-to-word-workflow use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is latex-to-word-workflow to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is latex-to-word-workflow for?

Mainly researcher.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.