diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b1be160ddfb2ba4d16e7f5e3a9db413c88517ba8..4278eb02092fae8be89350a6a3e064e897e00be8 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -367,7 +367,7 @@ pages:
   stage: nightly-pages
   script:
     - echo "Building Documentation"
-    - yum -y install python2-pip
+    - yum -y install python2-pip texlive*
     - pip install setuptools sphinx==1.7 sphinx_rtd_theme
     - export GSTLAL_FIR_WHITEN=0
     - export TMPDIR=tmp/