From 420cfd7ea9a5c0c46f51265cbe653a6d7aae7040 Mon Sep 17 00:00:00 2001 From: truonthu Date: Fri, 25 Oct 2024 15:37:55 +0200 Subject: [PATCH] added tinyTex for Latex support --- .github/workflows/quarto-build-test.yml | 5 +++++ .github/workflows/quarto-deploy.yml | 5 +++++ environment.yml | 1 - 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/quarto-build-test.yml b/.github/workflows/quarto-build-test.yml index bd923c5..cebb567 100644 --- a/.github/workflows/quarto-build-test.yml +++ b/.github/workflows/quarto-build-test.yml @@ -34,6 +34,11 @@ jobs: uses: quarto-dev/quarto-actions/setup@v2 with: version: '1.3.450' + + # Install TinyTeX + - name: Install TinyTeX + run: | + conda run -n blogqa quarto install tinytex # Compile Quarto site and check for compiling errors - name: Check if Quarto site compiles diff --git a/.github/workflows/quarto-deploy.yml b/.github/workflows/quarto-deploy.yml index ed66ea9..5f5b491 100644 --- a/.github/workflows/quarto-deploy.yml +++ b/.github/workflows/quarto-deploy.yml @@ -36,6 +36,11 @@ jobs: uses: quarto-dev/quarto-actions/setup@v2 with: version: '1.3.450' + + # Install TinyTeX + - name: Install TinyTeX + run: | + conda run -n blogqa quarto install tinytex # Commit changes to gh-pages branch - name: Switch to gh-pages branch diff --git a/environment.yml b/environment.yml index 519db94..eeba278 100644 --- a/environment.yml +++ b/environment.yml @@ -16,5 +16,4 @@ dependencies: - matplotlib - qulacs - pyscf - - texlive