Compilation Errors
File not found: cv_en.tex
Symptom:! I can't find file 'cv_en.tex'.
Cause: Running pdflatex from the wrong directory.
Solution: Navigate to the examples/ directory before compiling:
Missing LaTeX packages
Symptom: Errors like! LaTeX Error: File 'fontspec.sty' not found.
Cause: Incomplete TeX Live installation.
Solutions:
Or install from upstream
Follow the official TeX Live installation guide for the most up-to-date packages.
Undefined control sequence
Symptom:! Undefined control sequence. followed by a command like \cvname
Cause: The template file doesn’t define the custom commands, or there’s a typo.
Solution: Verify you’re using the correct template files from the examples/ directory. The template embeds all necessary definitions inline.
Font Issues
Inter font not found
Symptom: Warning in compilation log:Font Inter not found, falling back to Helvetica
Cause: The Inter font is not installed on your system.
Impact: The PDF will use Helvetica instead of Inter. This is intentional fallback behavior.
Solution (optional): To use Inter:
Download Inter
Visit rsms.me/inter and download the font family.
Install the font
- Windows: Right-click
.ttffiles and select “Install” - Mac: Double-click
.ttffiles and click “Install Font” - Linux: Copy
.ttffiles to~/.fonts/and runfc-cache -f -v
The fallback to Helvetica ensures the template works everywhere. Installing Inter improves visual appearance but is not required.
Font encoding warnings
Symptom: Warnings about font encoding or missing glyphs. Cause: Using special characters not available in the selected font. Solution: Ensure your text uses standard UTF-8 characters supported by Helvetica or Inter.Overleaf Issues
Wrong compiler selected
Symptom: Compilation fails on Overleaf with errors about undefined commands. Cause: Overleaf is using XeLaTeX or LuaLaTeX instead of pdfLaTeX. Solution:Upload failures
Symptom: Can’t upload the template to Overleaf. Cause: Uploading individual files instead of the ZIP archive. Solution:- Download
CV_Template_Overleaf.zipfrom the repository - On Overleaf, select New Project > Upload Project
- Upload the entire ZIP file (do not extract it first)
Docker Issues
Permission denied on generated files
Symptom: Can’t edit or delete PDF files created by Docker. Cause: Container ran as root user. Solution: Always use the--user flag:
Volume mount not working
Symptom: Container can’t find.tex files.
Cause: Incorrect volume mount path.
Solution: Verify the mount path:
Docker image pull fails
Symptom:Unable to find image 'texlive/texlive:latest' locally followed by download errors.
Cause: Network issues or Docker Hub connectivity problems.
Solution:
Build Artifacts Issues
Stale auxiliary files
Symptom: Compilation succeeds but PDF has outdated content or broken references. Cause: Corrupted.aux or .out files from previous builds.
Solution: Clean and rebuild:
Running pdflatex twice ensures cross-references and page numbers are correctly resolved.
PDF not updating
Symptom: Changes to.tex file don’t appear in PDF.
Cause: PDF viewer is locking the file (common on Windows).
Solution:
- Close the PDF in your viewer
- Recompile
- Reopen the PDF
GitHub Actions Issues
Workflow fails with compilation errors
Symptom: GitHub Actions workflow fails when compiling PDFs. Cause: Usually a LaTeX syntax error in the.tex file.
Solution:
Workflow doesn’t trigger
Symptom: Pushing changes doesn’t start the PDF compilation workflow. Cause: Changes pushed to a branch other thanmain or master.
Solution: The workflow is configured to run on:
main/master, create a pull request, or trigger manually via Actions > Compile PDFs > Run workflow.
Getting Help
If you encounter an issue not covered here:- Check the compilation log for specific error messages
- Search for the error on TeX Stack Exchange
- Verify your TeX Live installation is complete and up-to-date
- Try compiling with Docker to rule out local environment issues