diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8f7de90829c620a3d8b282c8081c065f25d96e5c..8f3abdd18f437262f2f2a535c86f9700d383277b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -3,6 +3,29 @@ stages:
   - build
   - deploy
 
+
+
+pages_pdf:
+  needs: []
+  only:
+    - develop
+  before_script:
+    - pip3 install --break-system-packages --upgrade Cython setuptools pip
+    - pip3 install --break-system-packages -r requirements.txt
+    - python3 setup.py build_ext --inplace
+  when: manual
+  stage: build
+  image: zoo.smok.co/build/build:pages
+  script:
+    - cd docs
+    - make latexpdf
+    - cd ..
+    - mv docs/_build/latex/*.pdf .
+  artifacts:
+    paths:
+      - "*.pdf"
+
+
 pages:
   stage: build
   image: zoo.smok.co/build/build:pages