What problem does it solve?
Manually running the xelatex-bibtex-xelatex-xelatex sequence and debugging noisy LaTeX logs is tedious, especially when assembling a multi-section paper from fragments produced by upstream agent steps. This Skill automates the full compile pipeline and validates the result.
Core Features & Use Cases
- Full Compile Pipeline: Runs xelatex, bibtex, then xelatex twice more to resolve citations and cross-references.
- Paper Assembly & Cleanup: Rebuilds paper.tex from clean section fragments (abstract, introduction, method, results, discussion) when agent output contains wrappers or noise, and injects CJK font configuration when needed.
- Contract Validation: Enforces a minimum of 20 cited references and a 10-page minimum PDF length when a references.bib contract is present.
- Use Case: An orchestrated meta-skill generates paper sections step by step; this Skill assembles them into paper.tex, compiles the PDF, and reports success with the output file size.
Quick Start
Compile the LaTeX paper at paper/paper.tex into a PDF and show me the result.