tex-build

Compile LaTeX theses with latexmk and verify rendered numbers from main.aux.

Updated Feb 6, 2026
One-click install
npx skills add https://github.com/JoernStoehler/msc-math --skill tex-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tex-build
Source: https://github.com/JoernStoehler/msc-math/tree/main/.claude/skills/tex-build
Command: npx skills add https://github.com/JoernStoehler/msc-math --skill tex-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines LaTeX building for thesis projects, runs quality checks, and makes rendered numbers easy to verify in the final PDF.

Core Features & Use Cases

  • Automated Build: run latexmk to compile the thesis and catch common errors.
  • Quality Checks: execute check-build.sh to detect overfull hboxes and undefined references.
  • Rendered Number Lookup: reference numbers from thesis/build/main.aux for precise citations in reviews.
  • Use Case: preparing a chapter, compile, verify, and cite accurately in the final document.

Quick Start

Compile the thesis with latexmk and verify the rendered numbers from thesis/build/main.aux.

Frequently Asked Questions about tex-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate LaTeX compilation for a thesis document?

Automate LaTeX compilation by running latexmk to compile the thesis and catch common errors. This streamlines the building process for thesis projects and ensures the final PDF is generated reliably.

What is the best way to check for overfull hboxes and undefined references in LaTeX?

The best way to check for overfull hboxes and undefined references is to execute check-build.sh. This quality check script detects common formatting and citation issues after the LaTeX compilation finishes.

How do I verify rendered reference numbers for a LaTeX manuscript review?

Verify rendered reference numbers by looking them up in thesis/build/main.aux. This provides precise citations for collaborators during manuscript review workflows.

Do I need latexmk to compile and verify a thesis PDF?

Yes, you need latexmk to automate the compilation. The build verification also requires executing check-build.sh and accessing thesis/build/main.aux to render numbers for accurate citations.

Why does my LaTeX thesis build fail during collaborative review?

A LaTeX thesis build may fail due to common compilation errors or undefined references. Running latexmk catches these errors, while check-build.sh identifies overfull hboxes to ensure a clean final PDF.