Theoretical minimum pdf build
Skill philippoertle/skills/skills/theoretical-minimum-pdf-build
Rebuilds exercise PDFs with pdflatex for the theoretical-minimum repo—output next to docs/book1/**/*.tex sources, halt-on-error, optional cleanup of aux/log, including TikZ-heavy sources that may need a second pass. Use after editing docs/book1/**/*.tex or when the user asks to compile exercise PDFs in that repository. For the generic command line and pass rules, load latex-pdflatex-build.From its SKILL.md
npx -y skills add philippoertle/skills --skill theoretical-minimum-pdf-buildAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, as published. Nobody here has run it
Theoretical Minimum — PDF build (repo shim)
Generic instructions
Follow latex-pdflatex-build for flags, quoting, multi-pass behavior, and log hygiene.
Repo-specific command
From the theoretical-minimum repository root, compile so the PDF lands next to the .tex file (same directory as that repo’s README “Authoring and rendering workflow”):
pdflatex -interaction=nonstopmode -halt-on-error -output-directory "<dir-containing-tex>" "<path-to-exercise-NN.tex>"
Use absolute paths for placeholders. On Windows, quoting handles spaces in path segments.
Practice
- Run once unless the
.logorlatex-pdflatex-buildguidance indicates a second pass. - The canonical artifact for readers is the committed
exercise-NN.pdfalongsideexercise-NN.tex. - If the repo does not track
.aux/.log, delete them after a successful build to keepgit statusclean.
Failure handling
If pdflatex errors, read the .log in the output directory; fix the TeX, then re-run. Do not commit a broken PDF.
Related
latex-tikz— ordinary vs overlay TikZ and pass hints.latex-pdflatex-build— portable build recipe for any single.texfile.