# CV Variants

RolePrep can generate role-specific CV PDFs from local document sources and detected job keywords.

## Inputs

Source checkouts look for:

- `documents/local/cv.tex`
- `documents/examples/cv.tex`

Override with:

```bash
ROLEPREP_CV_SOURCE_PATH="./documents/local/cv.tex"
ROLEPREP_CV_EXAMPLE_SOURCE_PATH="./documents/examples/cv.tex"
ROLEPREP_CANDIDATE_DISPLAY_NAME="Candidate Name"
ROLEPREP_CANDIDATE_FILENAME_PREFIX="CANDIDATE"
```

The example CV is only a placeholder. Keep real CV sources and generated PDFs out of git.

## Generate

```bash
node cv_variants/generate_variants.js --limit 5
```

PDF generation requires a LaTeX toolchain with `latexmk`.
