Loading...
Loading...
Compile LaTeX papers to PDF with automatic error detection, chktex style checking, and citation/reference validation. Runs the full pdflatex + bibtex pipeline. Use when the user wants to compile a paper, fix compilation errors, or debug LaTeX.
npx skill4agent add lingzhi227/agent-research-skills paper-compilation$ARGUMENTS.texpython ~/.claude/skills/paper-compilation/scripts/compile_paper.py paper/main.tex
python ~/.claude/skills/paper-compilation/scripts/compile_paper.py paper/main.tex --check-style
python ~/.claude/skills/paper-compilation/scripts/compile_paper.py paper/main.tex --output paper/output.pdfpython ~/.claude/skills/citation-management/scripts/validate_citations.py \
--tex paper/main.tex --bib paper/references.bib --check-figures --figures-dir paper/figures/python ~/.claude/skills/paper-compilation/scripts/fix_latex_errors.py \
--tex paper/main.tex --log compile.log --output paper/main_fixed.tex--dry-run--auto-detectpython ~/.claude/skills/paper-compilation/scripts/compile_paper.py paper/main.tex --auto-fixvalidate_citations.py\cite{key}.bib\includegraphics{file}compile_paper.pypdflatex → bibtex → pdflatex → pdflatex! Undefined control sequence! Missing $ inserted$...$! Missing } insertedCitation 'key' undefined\cite</end{figure}>\end{figure}# macOS
brew install --cask mactex-no-gui
# Ubuntu
sudo apt install texlive-fulllatexmk -pdf -interaction=nonstopmode main.tex