diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 36d4e1300..f5a70e3eb 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -26,6 +26,14 @@ jobs:
       - name: Install libcurl on Linux
         if: runner.os == 'Linux'
         run: sudo apt-get update -y && sudo apt-get install -y libcurl4-openssl-dev
+
+      - name: Install tinytex
+        uses: r-lib/actions/setup-tinytex@v2 # update
+
+      #- name: Install additional LaTeX packages
+      #  run: |
+          #tlmgr install url
+          #tlmgr install underscore
         
       - name: Install package dependencies
         uses: r-lib/actions/setup-r-dependencies@v2 # update