Skip to content

Latest commit

 

History

History
36 lines (26 loc) · 1.34 KB

README.md

File metadata and controls

36 lines (26 loc) · 1.34 KB

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:

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:

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}

Links