Skip to content

PDF Version of Book #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- uses: actions/checkout@v2

# Install dependencies
- name: Set up Python 3.7
- name: Set up Python 3.10.16
uses: actions/setup-python@v1
with:
python-version: 3.7
python-version: 3.10.16

- name: Install dependencies
run: |
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,12 @@ To build locally, `pip install -r requirements.txt` and then `jupyter-book build
**Follow the build instructions on the Jupyter Book guide**. The guide has
information for how to use the Jupyter Book CLI to build this book. You can find
the [Jupyter Book build instructions here](https://jupyterbook.org/start/build.html).

**Creating a PDF of the book**
I had already installed latex on my machine; this is needed.
- Create Virtual Environment using environment.yaml or requirements.txt
- python3 -m pip install packaging
- jupyter-book build . --builder latex
- cd _build/latex
- make
- It will save the pdf to _build/latex -- look for the pdf in the folder
Loading