What problem does it solve? Building LaTeX documents requires multiple XeLaTeX and BibTeX passes to stabilize citations and cross references, and failures like undefined references or overfull boxes are easy to miss in verbose logs. This Skill automates the full compile-and-verify cycle so you get a correct PDF or a precise diagnosis. ## Core Features & Use Cases - Automated multi-pass builds: Runs latexmk with XeLaTeX and BibTeX until citations and cross references stabilize, replacing hand-maintained 3-pass sequences. - Log diagnostics: Checks the .log file for undefined citations, undefined references, missing files, font substitutions, and rerun requests. - Overfull box detection: Uses a bundled Python script to parse overfull hbox/vbox messages, classifying overflow above 10 pt as major. - Use Case: You are preparing a Beamer presentation or research paper and the PDF fails to render. Invoke this Skill to build main.tex, inspect the log, and get a report of every material layout overflow before sharing the document. ## Quick Start Compile main.tex with the compile-latex skill and report any undefined references or overfull boxes in the output PDF.