What problem does it solve?
This Skill solves the problem of repeatedly compiling Chinese competition papers while ensuring strict competition compliance, including PDF generation and checks for page count, anonymity, formatting, and embedded figures/tables.
Core Features & Use Cases
- Environment verification & dependency bootstrapping: Checks for XeLaTeX (and related BibTeX/toolchain) and attempts to install required MiKTeX components for Chinese/GB/T typography (e.g., ctex/XeCJK/gbt7714).
- Pre-compile cleanup & LaTeX safety preparation: Runs a compile cleanup utility when available to fix common issues like special characters, table/figure path nesting, hidelinks, and TikZ library injection.
- Mandatory embedded assets validation: Prevents compilation unless all figures/tables (including TABLE_*.tex and labeled items referenced by latex_includes.tex) are fully embedded, then enforces an error-fix compile loop for LaTeX critical issues.
Quick Start
Use the comp-compile-zh skill with the provided paper directory argument to compile the Chinese competition paper, validate embedded figures and tables, and run post-compilation compliance checks.