Skip to content

latex-europasscv

This is an example of how to create a Europass CV with LaTeX (TeX Live) running in a Docker container.

First of all, we need to build a Docker image with TeX Live Full installed:

Bash
1
2
3
4
5
6
7
8
docker build -t img-texlive - << 'EOF'
FROM docker.io/library/debian:12
RUN apt-get update && \
    apt-get install -y texlive-full && \
    rm -rf /var/lib/apt/lists/*
VOLUME /v
WORKDIR /v
EOF

Note: this can take a lot of time and the resulting image will be very big (8+ GB)

Then download the Europass CV template, customize it and convert it to PDF:

Bash
docker run --rm -v "$PWD:/v" -u "$(id -u):$(id -g)" img-texlive pdflatex main.tex

Tips

  • 💡 If you get an error like LaTeX Warning: Reference 'LastPage' on page 1 undefined on input line 123 just try to run the command twice. This is because LaTeX can't know yet how many pages there will be on the first run
  • 💡 If you need some cool icons in your document, check out \usepackage{fontawesome5}