From d6b4c415dc2ec8ed453ef291d33f2726f1222003 Mon Sep 17 00:00:00 2001 From: kp992 Date: Sat, 12 Oct 2024 17:09:26 +0530 Subject: [PATCH 1/4] add latex --- .github/workflows/cache.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index f968aa655..0c35b39bf 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -2,7 +2,7 @@ name: Build Cache [using jupyter-book] on: push: branches: - - main + - cache_test_1 jobs: tests: runs-on: ubuntu-latest @@ -34,6 +34,11 @@ jobs: xindy \ dvipng \ cm-super + # Build Assets (Download Notebooks and PDF via LaTeX) + - name: Build PDF from LaTeX + shell: bash -l {0} + run: | + jb build lectures --builder pdflatex --path-output ./ -n --keep-going - name: Build HTML shell: bash -l {0} run: | From dfb5100add0a4779ae1fb0c435bf04e5ba4febed Mon Sep 17 00:00:00 2001 From: kp992 Date: Sat, 12 Oct 2024 17:20:38 +0530 Subject: [PATCH 2/4] add main branch --- .github/workflows/cache.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/cache.yml b/.github/workflows/cache.yml index 0c35b39bf..f0ea3a006 100644 --- a/.github/workflows/cache.yml +++ b/.github/workflows/cache.yml @@ -3,6 +3,7 @@ on: push: branches: - cache_test_1 + - main jobs: tests: runs-on: ubuntu-latest From c9482bb6f3bb8b04c998308db03b9c11d6e37b85 Mon Sep 17 00:00:00 2001 From: kp992 Date: Sun, 13 Oct 2024 15:21:15 +0530 Subject: [PATCH 3/4] change path --- lectures/_config.yml | 2 +- lectures/{_static => }/quant-econ.bib | 0 lectures/zreferences.md | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename lectures/{_static => }/quant-econ.bib (100%) diff --git a/lectures/_config.yml b/lectures/_config.yml index ecd808f0f..ea8020991 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -28,7 +28,7 @@ html: baseurl: https://intro.quantecon.org/ bibtex_bibfiles: - - _static/quant-econ.bib + - quant-econ.bib latex: latex_documents: diff --git a/lectures/_static/quant-econ.bib b/lectures/quant-econ.bib similarity index 100% rename from lectures/_static/quant-econ.bib rename to lectures/quant-econ.bib diff --git a/lectures/zreferences.md b/lectures/zreferences.md index 5f17e8922..167f8d99b 100644 --- a/lectures/zreferences.md +++ b/lectures/zreferences.md @@ -12,6 +12,6 @@ kernelspec: (references)= # References -```{bibliography} _static/quant-econ.bib +```{bibliography} quant-econ.bib ``` From d28d05133a9cf40f55b5a45c679f0fb0555221e8 Mon Sep 17 00:00:00 2001 From: kp992 Date: Tue, 15 Oct 2024 18:22:50 +0530 Subject: [PATCH 4/4] revert commit --- environment.yml | 2 +- lectures/_config.yml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/environment.yml b/environment.yml index f60099b5e..777c062a3 100644 --- a/environment.yml +++ b/environment.yml @@ -13,7 +13,7 @@ dependencies: - sphinx-tojupyter==0.3.0 - sphinxext-rediraffe==0.2.7 - sphinx-exercise==0.4.1 - - sphinx-proof==0.2.0 + - sphinx-proof==0.1.3 - ghp-import==1.1.0 - sphinxcontrib-youtube==1.1.0 - sphinx-togglebutton==0.3.1 diff --git a/lectures/_config.yml b/lectures/_config.yml index ea8020991..58fae3341 100644 --- a/lectures/_config.yml +++ b/lectures/_config.yml @@ -45,7 +45,6 @@ sphinx: width: 80% nb_code_prompt_show: "Show {type}" suppress_warnings: [mystnb.unknown_mime_type, myst.domains] - proof_minimal_theme: true # ------------- html_js_files: - https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js