diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 9d1ef754a8046f387437801607c56f3dc93ac648..50e1a424e1384b4d83df5ae82cfa32d9b0d1ab5b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -74,7 +74,7 @@ stages:
     - apt install -y xvfb # Virtual framebuffer for GL stuff.
     - apt install -y inkscape pdftk
     - apt install -y latexmk  poppler-utils # latexmk and pdftocairo
-    - apt install -y texlive-latex-recommended texlive-latex-extra texlive-science
+    - apt install -y texlive-latex-recommended texlive-latex-extra texlive-science pdf2svg
     - pip install -U Pillow
     - pip install -e ./
     - cd tests
@@ -114,7 +114,7 @@ pages:
     - apt install -y git
     - apt install -y inkscape pdftk # pdftk to grap pdf pages (only for converter; can probably be omitted).
     - apt install -y latexmk  poppler-utils # latexmk and pdftocairo
-    - apt install -y texlive-latex-recommended texlive-latex-extra texlive-science
+    - apt install -y texlive-latex-recommended texlive-latex-extra texlive-science pdf2svg
     - pip install -U Pillow
     - pip install -e ./
     - apt install -y python-opengl xvfb # Virtual framebuffer for GL stuff.