LaTeX to Word Workflow
An agent skill for planning, executing, and reviewing project-specific
academic LaTeX-to-Word conversions.
Current version: 3.0.0
Purpose
LaTeX-to-Word conversion is highly dependent on the manuscript, target
template, citation workflow, numbering semantics, and local Word environment.
This skill therefore provides a lean routing contract, detailed on-demand
guidance, read-only evidence tools, and acceptance gates instead of a fixed
conversion pipeline.
The agent should:
- understand the complete LaTeX project and compile it when the host exposes the
toolchain, otherwise record compilation evidence as pending;
- inspect the target Word requirements and preserve original files;
- start with the smallest reliable approach, normally Pandoc with a reference
DOCX, and add project-local processing only for observed needs;
- prove the LaTeX–Pandoc–Word semantic mapping with representative content;
a reference DOCX does not align differently named styles or create target
behavior that Pandoc does not emit;
- preserve scientific content and numbering semantics ahead of editability;
- verify rather than merely claim live citations;
- probe Zotero capability only through host-exposed evidence and prefer confirmed
live fields unless static citations are explicitly required or probing fails;
- generate and validate native Word cross-references by default, allowing
static references only after an explicit informed user opt-out;
- validate high-risk objects and disclose approved exceptions;
- preserve prose chemical formulae and units as ordinary subscript/superscript
text unless they are genuine mathematical expressions;
- use the user's desktop Word as the authoritative renderer for Word-specific
fields, numbering, and template behavior;
- hand off exact Word/Zotero steps for the user to run, and independently re-audit
the refreshed file when the user returns it.
Installable skill
The only installable and released skill directory is
latex-to-word-workflow/.
Repository-level behavior evals are kept in tests/. They are
versioned with the skill so trigger and workflow expectations can be reviewed,
but are excluded from git archive release artifacts.
git clone https://github.com/hajimi-kun/latex-to-word-workflow.git
Copy-Item -Recurse .\latex-to-word-workfl