Skip to content

The job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.

docs: add minimal TeX setup instructions (#60)

luminmarketinggroup-sys4807cc846b20
diff --git a/README.md b/README.md
index 8547b375..49d8b0a9 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ The framework encodes career guidance best practices, including structured evalu
- [Claude Code](https://claude.com/claude-code) (CLI)
- Python 3.10+
- [Bun](https://bun.sh) (for Danish job search CLI tools)
-- LaTeX distribution with `lualatex` and `xelatex`: [TeX Live](https://tug.org/texlive/) or [MiKTeX](https://miktex.org/). The CV compiles with `lualatex` (pdflatex often fails on modern MiKTeX installs with `fontawesome5` font-expansion errors); the cover letter compiles with `xelatex` because `cover.cls` requires `fontspec`.
+- LaTeX distribution with `lualatex` and `xelatex`: [TeX Live](https://tug.org/texlive/), [MacTeX](https://tug.org/mactex/), [TinyTeX](https://yihui.org/tinytex/), or [MiKTeX](https://miktex.org/). The CV compiles with `lualatex` (pdflatex often fails on modern MiKTeX installs with `fontawesome5` font-expansion errors); the cover letter compiles with `xelatex` because `cover.cls` requires `fontspec`. If using a minimal TeX install such as TinyTeX or BasicTeX, install the extra packages listed in [SETUP.md](SETUP.md#minimal-tex-install-tinytexbasictex).
- Optional: `pdftotext` from [poppler](https://poppler.freedesktop.org/) (macOS: `brew install poppler`, Debian/Ubuntu: `apt install poppler-utils`, Windows: `choco install poppler`) — used by `/apply`'s ATS parseability check on the compiled CV. If missing, the check degrades gracefully to a visual keyword review.
## Quick start
diff --git a/SETUP.md b/SETUP.md
index 687e9220..cf2aef88 100644
--- a/SETUP.md
+++ b/SETUP.md
@@ -52,6 +52,51 @@ Install a LaTeX distribution to compile the generated `.tex` files to PDF:
The CV compiles with `lualatex` (pdflatex often fails on modern MiKTeX installs with `fontawesome5` font-expansion errors). The cover letter compiles with `xelatex` because `cover.cls` requires `fontspec` for its custom Lato/Raleway fonts.
+#### Minimal TeX install: TinyTeX/BasicTeX
+
+Full TeX distributions work out of the box, but minimal distributions need a few extra packages before the stock templates compile.
+
+On macOS, a user-level TinyTeX install avoids a system-wide installer and does not require `sudo`:
+
+```bash
+curl -fsSL https://yihui.org/tinytex/install-bin-unix.sh -o /tmp/tinytex-install-bin-unix.sh
+sh /tmp/tinytex-install-bin-unix.sh /tmp --no-path
+export PATH="$HOME/Library/TinyTeX/bin/universal-darwin:$PATH"
+```
+
+Then install the template dependencies:
+
+```bash
+tlmgr install \
+ moderncv fontawesome5 fontawesome6 academicons import luatexbase pgf \
+ titlesec textpos xltxtra xunicode cite realscripts
+```
+
+For BasicTeX/MacTeX, make sure the TeX binary directory is on `PATH` first (for example via `/Library/TeX/texbin`), then run the same `tlmgr install ...` command.
+
+Quick smoke tests after setup:
+
+```bash
+cd cv && lualatex -interaction=nonstopmode -halt-on-error main_example.tex && cd ..
+
+SMOKE_DIR="$(mktemp -d /tmp/ai-job-cover-smoke.XXXXXX)"
+cp -R cover_letters/cover.cls cover_letters/OpenFonts "$SMOKE_DIR/"
+cat >"$SMOKE_DIR/cover_smoke.tex" <<'EOF'
+\documentclass[]{cover}
+\begin{document}
+\namesection{Test}{Candidate}{[email protected]}
+\companyname{Example Company}
+\companyaddress{123 Hiring Street\\Example City}
+\currentdate{\today}
+\lettercontent{Dear Hiring Manager,}
+\lettercontent{This smoke test verifies that xelatex can load cover.cls and the bundled fonts.}
+\closing{Sincerely,}
+\signature{Test Candidate}
+\end{document}
+EOF
+(cd "$SMOKE_DIR" && xelatex -interaction=nonstopmode -halt-on-error cover_smoke.tex)
+```
+
### Optional: pdftotext (for the ATS check)
`/apply` runs an ATS parseability check on the compiled CV: it extracts the PDF's text layer and verifies contact details, reading order, and keyword coverage the way an applicant-tracking system sees them. This uses `pdftotext` from [poppler](https://poppler.freedesktop.org/), which is not part of TeX distributions: