LaTeX to Word Workflow converts LaTeX manuscripts to editable DOCX using Pandoc, with optional live Zotero citations or static CSL references. It supports native Word SEQ/REF promotion for figures, tables, and labeled equations and includes style mappings and audits.
Collecting history — the radar snapshots this repo daily. The trend line appears after 3 days of data (2 so far).
What it is
LaTeX to Word Workflow is a Python-based agent skill that converts LaTeX manuscripts into polished, editable Microsoft Word (DOCX) files. It supports figures, equations, and tables with native Word SEQ/REF promotion, style mapping, and either live Zotero citations or static CSL references. It uses Pandoc for LaTeX → DOCX conversion and provides a reusable Word reference template.
How it works
- Converts LaTeX manuscripts to DOCX using Pandoc with a reusable reference.docx
- Offers live Zotero via Better BibTeX’s zotero.lua or static CSL references
- Performs a citation-key audit (BibTeX ± Better BibTeX) and checks Word relationships and cross-references
- Applies style mappings for figures, captions, tables, and bibliographies
- Includes a final Word refresh and visual check by the user
Getting started
Installable skill path: latex-to-word-workflow/; the repo root holds distribution files. Install requirements from the skill directory:
pip install -r requirements.txt
First use steps indicate detection of Pandoc, Python, LaTeX, Word, and Zotero/BBT, copying a project Word template, smoke-testing with examples/minimal/, then converting the full manuscript. See details in references/first-run-setup.md.
Install examples demonstrate cloning and placing the skill in the appropriate skills directory:
git clone https://github.com/hajimi-kun/latex-to-word-workflow.git
Copy-Item -Recurse .\latex-to-word-workflow\latex-to-word-workflow "$env:USERPROFILE%5C.codex%5Cskills%5C"
Supported prerequisites:
- Pandoc 3+
- Python with python-docx and lxml
- LaTeX/BibTeX
- Desktop Word for user interaction
- Live citations require Zotero, Word plugin, Better BibTeX, and zotero.lua; static CSL works without Zotero/BBT
Recent releases
- v2.0.0 LaTeX to Word Workflow 2.0.0 (2026-07-14): Add native Word SEQ/REF promotion for figures, tables, and labeled equations; preserve numbering across predecessor objects; add cross-reference support.
- v1.0.0 v1.0.0 (2026-07-13): Initial public release with conversion from LaTeX manuscripts to DOCX, static CSL references, and a reusable Word reference template.
Traction
Stars: 59 Forks: 6 Open issues: 0
Behind the repo
License: MIT
Caveats
Requires Pandoc 3+, Python with python-docx and lxml, LaTeX/BibTeX, and a desktop Word for user interaction. Live citations require Zotero and Better BibTeX with zotero.lua; static CSL references do not require Zotero/BBT. The README notes a first-run setup and smoke-test steps before full manuscript conversion.
