diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 0d93e01db..2086d37c2 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -29,7 +29,8 @@ jobs: texlive-xetex \ latexmk \ xindy \ - dvipng + dvipng \ + cm-super - name: Build HTML shell: bash -l {0} run: | diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8f4f6fe14..8c6c9c75a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,9 @@ jobs: texlive-fonts-extra \ texlive-xetex \ latexmk \ - xindy + xindy \ + dvipng \ + cm-super - name: Display Conda Environment Versions shell: bash -l {0} run: conda list diff --git a/.github/workflows/execution.yml b/.github/workflows/execution.yml index 6f4850eea..0ce6157c0 100644 --- a/.github/workflows/execution.yml +++ b/.github/workflows/execution.yml @@ -19,6 +19,19 @@ jobs: with: auto-update-conda: true python-version: ${{ matrix.python-version }} + - name: Install latex dependencies + run: | + sudo apt-get -qq update + sudo apt-get install -y \ + texlive-latex-recommended \ + texlive-latex-extra \ + texlive-fonts-recommended \ + texlive-fonts-extra \ + texlive-xetex \ + latexmk \ + xindy \ + dvipng \ + cm-super - name: Install Anaconda + Dependencies shell: bash -l {0} run: | diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e95449f9e..d12bf3fe3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,9 @@ jobs: texlive-fonts-extra \ texlive-xetex \ latexmk \ - xindy + xindy \ + dvipng \ + cm-super - name: Display Conda Environment Versions shell: bash -l {0} run: conda list diff --git a/lectures/five_preferences.md b/lectures/five_preferences.md index cd8f13b74..3232014f2 100644 --- a/lectures/five_preferences.md +++ b/lectures/five_preferences.md @@ -76,7 +76,7 @@ from numba import njit %matplotlib inline %config InlineBackend.figure_format='retina' -rc('text', usetex=True) +plt.rc('text', usetex=True) label_size = 20 label_tick_size = 18