docx-footnotes
Installation
SKILL.md
DOCX Footnote Repair & Cross-References
Fix footnote formatting damage caused by Google Docs and Word Online, and convert hardcoded supra note references to NOTEREF field codes.
When This Applies
Common symptoms in .docx files round-tripped through Google Docs or Word Online:
- Missing footnote separator lines
- Stripped paragraph styles (pStyle) on footnote bodies
- Stripped style definitions (
FNStyleBestetc.) — the pStyle reference points at an undefined style and Word silently falls back to Normal - Author bio custom marks (
*,†,‡) replaced with numbers - Footnote numbering starting at the wrong number (offset from
customMarkFollowsbio footnotes) - TOC separator paragraphs that inflate to fill a whole page
- Hardcoded "supra note N" / "infra note N" references that need to become auto-updating NOTEREF fields
Quick Start
Scripts are in this skill's scripts/ directory. Use $SKILL_DIR below as a placeholder for the absolute path to this skill (the directory containing this SKILL.md).