latex-compile-qa

Solid

Compile a LaTeX project and run basic QA (missing refs, bib errors, broken citations), producing `latex/main.pdf` and a build report. **Trigger**: latex compile, build PDF, LaTeX errors, missing refs, 编译PDF, 引用错误. **Use when**: 已有 `latex/main.tex`(通常来自 `latex-scaffold`),需要确认可编译并输出失败原因报告。

Code & Development 498 stars 39 forks Updated today

Install

View on GitHub

Quality Score: 81/100

Stars 20%
90
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
0
Description 5%
100

Skill Content

# LaTeX Compile + QA Compile the LaTeX project and produce a PDF (when the toolchain is available), plus a short build report. This step is deterministic; if compilation fails, record actionable diagnostics rather than guessing. ## Inputs - `latex/main.tex` - `citations/ref.bib` ## Outputs - `latex/main.pdf` (if compilation succeeds) - `output/LATEX_BUILD_REPORT.md` (recommended) ## Workflow 1. Run a LaTeX build (e.g., `latexmk`) if available. 2. Fix missing packages, missing bib entries, and unresolved references. 3. Record remaining issues in a build report. ## Quality checklist - [ ] `latex/main.pdf` exists only when compilation succeeds; failed builds must remove stale PDFs and explain the failure in `output/LATEX_BUILD_REPORT.md`. - [ ] For `arxiv-survey-latex` deliverables: `latex/main.pdf` is >= 8 pages and has no undefined citations/references (strict gate). ## Script ### Quick Start - `uv run python .codex/skills/latex-compile-qa/scripts/run.py --help` - `uv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>` ### All Options - See `--help` (inputs/outputs are taken from the unit runner when used via pipeline) ### Examples - Compile + produce report: - `uv run python .codex/skills/latex-compile-qa/scripts/run.py --workspace <workspace>` ### Notes - Uses `latexmk -xelatex -bibtex` when available. - Always writes `output/LATEX_BUILD_REPORT.md` (success or failure). - Report includes page count + warning summary when ava...

Details

Author
WILLOSCAR
Repository
WILLOSCAR/research-units-pipeline-skills
Created
7 months ago
Last Updated
today
Language
Python
License
None

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

compile-latex

Compile a .tex with latexmk, auto-detecting the engine (pdflatex/xelatex/lualatex) and bib backend (biber/bibtex), then emit a ranked error report with accurate file:line attribution across \input'd files, plus a diff against the last compile. Guards against Dropbox conflicted-copy files in Overleaf projects. TRIGGER on "compile this", "build my paper", "build the beamer deck", "why won't this compile", "what are the latex errors", "did my edit add warnings", or any request to build or debug a LaTeX document; Quarto .qmd decks belong to research-talk and teaching-lecture. An opt-in --figures pass hands TikZ/pgfplots blocks to the tikz-iterate skill.

10 Updated yesterday
ericluo04
Code & Development Solid

beamer-compile-qa

Compile the Beamer tutorial deck and write a build report. **Trigger**: beamer compile, slides compile, tutorial slides pdf, 编译幻灯片, beamer pdf. **Use when**: `source-tutorial` 的 C4,已有 `latex/slides/main.tex`,需要输出 `latex/slides/main.pdf` 和编译报告。 **Skip if**: slides scaffold 还没完成。 **Network**: none. **Guardrail**: 编译失败也要落盘可读报告,不能只返回报错。

498 Updated today
WILLOSCAR
Code & Development Listed

latex-compile

Compile a LaTeX document and fix every error plus aesthetic issue (overfull/underfull boxes, widows, alignment, fonts) for a clean PDF and log. Use instead of running pdflatex/latexmk by hand — avoids the latexmk stale-log trap and silent grep failures on binary log output; reformats, never rewords.

0 Updated 2 days ago
antiamerican-postponer432