/applied-micro:latex-to-wordfrom applied-micro
Converts between LaTeX and Microsoft Word for academic manuscripts, handling high-fidelity tables, equations, and cross-references where plain pandoc fails. Also assembles .tex from mixed PDF/docx/LLM sources.
Ships in applied-micro. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill moves academic manuscripts between LaTeX and Microsoft Word and
assembles .tex from heterogeneous sources. It consolidates four former skills
into three workflows: a footnote-preserving round-trip for co-author editing
cycles, a high-fidelity one-way .tex → .docx engine for delivering finished
papers to Word-only journals or coauthors, and a set of knowledge patterns
for building a single .tex from PDF/docx/LLM-generated content. Read the deep
doc for the workflow you need before running anything.
| User intent | Workflow | Entry point | Deep doc |
|---|---|---|---|
| Deliver a finished LaTeX paper as high-fidelity Word (regression tables, math, cross-references must survive) | B — one-way tex→docx | scripts/convert.py | references/tex-to-docx-engine.md |
| Iterate on a manuscript with Word-based co-authors while editing in LaTeX (docx→tex→docx, footnotes preserved) | A — round-trip | gui.py, or scripts/docx_to_tex.py + scripts/tex_to_docx.py | references/roundtrip.md |
Build a .tex from PDF / .docx / LLM-generated text | C — assemble from mixed sources | knowledge patterns (no scripts) | references/mixed-sources.md |
\cref/\Cref/\eqref from the .aux. Use B whenever the paper
has regression/booktabs tables, math, or cross-references that must survive —
plain pandoc drops or mangles all of these.tex → docx step is plain pandoc plus a style-templated scripts/reference.docx
(fast, formatting-only), so it does not build native tables or resolve crefs.
Choose A when the exchange is prose and footnotes and speed matters; switch to
B once the document depends on tables/math/cross-references..tex, applied
when you author the pipeline. No script to invoke.Workflow B (one-way, high fidelity) — compile the source once so a current .aux
exists, then:
python scripts/convert.py path/to/main.tex --out main.docx
# optional: --aux main.aux --tables-dir tables --figures-dir figures \
# --font "Linux Libertine G" --no-render
Workflow A (round-trip) — either launch the GUI:
python gui.py
or drive the two version-aware helpers (they wrap pandoc + reference.docx and run
the footnote-count sanity check), using the input/ intermediate/ output/ layout:
python scripts/docx_to_tex.py v1 # input/input_v1.docx -> intermediate/intermediate_v1.tex
# edit intermediate/intermediate_v2.tex ...
python scripts/tex_to_docx.py v2 # intermediate/intermediate_v2.tex -> output/output_v2.docx
Workflow C — no command; read references/mixed-sources.md and apply the
two-track escaping / code-fence-stripping / \DeclareUnicodeCharacter patterns
in your own generator.
.aux the
engine reads, and for TikZ/PGFPlots/algorithm rendering.win32com) or LibreOffice (soffice)
— final render-to-PDF check.scripts/toolcheck.py resolves the pandoc / latexmk / xelatex executable
locations for scripts/convert.py, scripts/render_latex_env.py, and
scripts/gen_reference.py; gui.py, the round-trip helpers, and
tests/run_tests.py still call bare pandoc/xelatex/latexmk from PATH.This skill merges four predecessors; their old names route here via the description above:
references/roundtrip.md).references/tex-to-docx-engine.md).references/mixed-sources.md).normalize_note_text, applied to table-notes text in both table engines) and
\include{} expansion (in expand_latex_inputs). See the
"Ported from tex2docx" section of references/tex-to-docx-engine.md.tests/ holds the 46-fixture (t01–t46) regression harness driven by
tests/run_tests.py and scored by tests/qa_metrics.py. It ships source .tex
fixtures only — compiled PDFs, rendered PNGs, and .docx artifacts regenerate
on each run. Fix the converter under scripts/, never the fixtures.
gui.py invokes the Claude CLI with --dangerously-skip-permissions for its
auto-edit and auto-fix loops (the "Edits" box and the automatic XeLaTeX-error
repair). This bypasses the normal permission prompts, so any tool call Claude
makes in those loops runs without confirmation. Review gui.py (see the two
--dangerously-skip-permissions invocations) and understand what the auto loops
can do before enabling that path.
README.md (opens in a new tab)convert_bracket_footnotes.py (opens in a new tab)gui.py (opens in a new tab)references/mixed-sources.md (opens in a new tab)references/roundtrip.md (opens in a new tab)references/tex-to-docx-engine.md (opens in a new tab)scripts/assemble.py (opens in a new tab)scripts/build_all_estout.py (opens in a new tab)scripts/build_fulltabular.py (opens in a new tab)scripts/cleanup_tex.py (opens in a new tab)scripts/combine_sections.py (opens in a new tab)scripts/convert.py (opens in a new tab)scripts/crop_white.py (opens in a new tab)scripts/detect_rules.py (opens in a new tab)scripts/docx_to_tex.py (opens in a new tab)scripts/extract_tables.py (opens in a new tab)scripts/fix_quotes.py (opens in a new tab)scripts/full_tabular_to_docx.py (opens in a new tab)scripts/gen_reference.py (opens in a new tab)scripts/gen_test_docx.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
2 plugins ship this exact skill · first indexed Jul 23, 2026
17 skills in this plugin
/adjudication-sheetsBuild human adjudication / hand-labeling sheets from LLM-pipeline data without
evidence truncation. Use when: (1) preparing a CSV/Excel sheet for a human to
rule on cases an LLM classifier or rater panel judged, (2) a labeler reports
"there is no information to label from" or cells look empty in Excel,
(3) excerpt columns cluster at one exact length (e.g. all 1,500 chars — a hard
truncation cap). Covers: full rating-basis recovery, Excel 32,767-char cell cap,
multi-line CSV mangling, ruling dropdowns, companion text files.
/adversarial-empirical-reviewN-round adversarial review pipeline for empirical research output — the chain from data to LaTeX tables to a manuscript that cites them. A Claude drafter proposes minimal diffs, a deterministic mechanical battery gates every diff from a clean state with a regression gate, a Codex reviewer files check-backed critiques, and a blind judge panel decides residual disputes. Manual-invoke ONLY: trigger when the user explicitly runs /adversarial-empirical-review or names 'adversarial-empirical-review' / 'adversarial empirical review'. Do NOT auto-trigger on generic 'review my results', 'check my tables', or manuscript-editing requests. For prose-style refinement use style-emulation instead; this skill AUDITS WHETHER THE TABLES ARE CORRECT — that each number in the tables is what the analysis code computes, reproduces from the data, and is internally consistent. It is an empirical + code review: the manuscript is read only to resolve table numbering, and prose is not examined.npx claudepluginhub kennethkhoocy/applied-micro-skills --plugin applied-microOther plugins' skills for the same job