Skip to content

Commit 582a4e1

Browse files
authored
Lecture Reorganisation with New Part (#101)
* Lecture Reorganisation with New Part * enable matplotlib LaTeX rendering support for github actions * upgrade quantecon-book-theme
1 parent 08f9705 commit 582a4e1

File tree

9 files changed

+2876
-753
lines changed

9 files changed

+2876
-753
lines changed

.github/workflows/cache.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ jobs:
1818
python-version: 3.8
1919
environment-file: environment.yml
2020
activate-environment: quantecon
21+
- name: Install latex dependencies
22+
run: |
23+
sudo apt-get -qq update
24+
sudo apt-get install -y \
25+
texlive-latex-recommended \
26+
texlive-latex-extra \
27+
texlive-fonts-recommended \
28+
texlive-fonts-extra \
29+
texlive-xetex \
30+
latexmk \
31+
xindy \
32+
dvipng \
33+
cm-super
2134
- name: Build HTML
2235
shell: bash -l {0}
2336
run: |

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
texlive-fonts-extra \
2626
texlive-xetex \
2727
latexmk \
28-
xindy
28+
xindy \
29+
dvipng \
30+
cm-super
2931
- name: Display Conda Environment Versions
3032
shell: bash -l {0}
3133
run: conda list

.github/workflows/execution.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,19 @@ jobs:
2424
run: |
2525
conda install anaconda
2626
pip install jupyter-book sphinx-multitoc-numbering quantecon-book-theme sphinxext-rediraffe sphinx_tojupyter
27+
- name: Install latex dependencies
28+
run: |
29+
sudo apt-get -qq update
30+
sudo apt-get install -y \
31+
texlive-latex-recommended \
32+
texlive-latex-extra \
33+
texlive-fonts-recommended \
34+
texlive-fonts-extra \
35+
texlive-xetex \
36+
latexmk \
37+
xindy \
38+
dvipng \
39+
cm-super
2740
- name: Build Lectures (+ Execution Checks)
2841
shell: bash -l {0}
2942
run: jb build lectures --path-output=./ -W --keep-going

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ jobs:
2929
texlive-fonts-extra \
3030
texlive-xetex \
3131
latexmk \
32-
xindy
32+
xindy \
33+
dvipng \
34+
cm-super
3335
- name: Display Conda Environment Versions
3436
shell: bash -l {0}
3537
run: conda list

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dependencies:
88
- pip:
99
- jupyter-book==0.11.2
1010
- sphinx-multitoc-numbering==0.1.3
11-
- quantecon-book-theme==0.2.5
11+
- quantecon-book-theme==0.3.0
1212
- sphinx-tojupyter==0.1.2
1313
- sphinxext-rediraffe==0.2.7
1414
- sphinx-exercise==0.1.1

0 commit comments

Comments
 (0)