What problem does it solve?
This Skill eliminates the frustrating, error-prone process of compiling Chinese LaTeX academic papers into a working PDF by automating XeLaTeX setup, cleanup, embedding checks, compile loops, and validation gates.
Core Features & Use Cases
- Chinese LaTeX (XeLaTeX) compilation: Builds
paper/main.tex into paper/main.pdf with the required Chinese toolchain (e.g., MikTeX packages) when missing.
- Pre-compile cleanup & integrity checks: Runs cleanup logic (via
compile_utils.sh when available) and verifies figure/table completeness and label embedding before compiling.
- Robust multi-pass error diagnosis: Detects and fixes LaTeX math delimiter issues and float-related LR mode errors, then recompiles up to a capped attempt count.
- Post-compile quality gates: Ensures PDF existence/size, bibliography presence, embedded figures/tables, overflow checks, abstract presence, and additional structural constraints.
Quick Start
Ask the system to run the paper compilation using the paper directory argument so it produces paper/main.pdf from the Chinese LaTeX source.