Skip to content
FunCoding

build-pdf

Compile a LaTeX resume (.tex) into a one-page PDF and fix compile errors. Use after creating or editing a resume .tex, or when the user asks to compile or generate the PDF ("gerar o PDF do currículo").

Star
1,774
License
Apache-2.0
Last commit
Dec 2, 2026

skills/build-pdf/SKILL.md

View on GitHub

Build PDF

Goal: a PDF that compiles cleanly and fits on exactly one page.

scripts/build.sh <file.tex> compiles it with whichever engine is installed (tectonic, latexmk or pdflatex), cleans auxiliary files and prints the page count.

If it spills onto a second page, tighten the content before shrinking margins. Weak bullets and lines that wrap by one or two words are the usual culprits. Compile errors are almost always unescaped & % $ # _ in the text or a brace missing in a \cventry. Portuguese also needs the texlive-lang-portuguese package.

If no LaTeX engine is installed, offer to install one and wait for the user's OK. Tectonic is the lightest option and fetches packages on its own: brew install tectonic on macOS, or the install guide for Windows and Linux. On Debian/Ubuntu, sudo apt-get install texlive-latex-extra texlive-fonts-extra texlive-lang-portuguese also works.

Similar Skills

Featured

pptx

Create and edit slide decks, generate slides from templates, and extract text.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

docx

Create and edit Word docs with TOC, page numbers, headers and more.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

pdf

Read and edit PDFs: extract text and tables, merge, split, rotate, and fill forms.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

doc-coauthoring

Co-write specs, proposals and decision docs through a structured, iterative workflow.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

xlsx

Read and edit spreadsheets: add columns, compute formulas, format, and clean messy data.

ANanthropics/skills203k3,265 new stars in the last 7 days

Featured

canvas-design

Create posters and visual art as PNG or PDF, guided by a design philosophy.

ANanthropics/skills203k3,265 new stars in the last 7 days