- Install jupyter-book, etc:
pip3 install -r requirements.txt
- Replace
username
with your edX username in:_toc.yml
,- the filenames:
HW1_Module1_username.md
, etc, - and inside the files themselves:
**Name:** username
- Check that the questions match those on edX and report an issue on GitHub otherwise.
- Answer questions (see
intro.md
for how to use MyST Markdown and add plots, etc) - Build the Jupyter Book with
jupyter book build .
- or
jupyter book build --builder pdflatex .
(untested) - or
jupyter book build --builder pdfhtml .
(untested)
- or
If you're on Linux and want to continuously rebuild the book when any changes occur, you could use:
while :; do watch -gn .1 stat -c %Z * && jupyter book build .; sleep 0.1; done
- Make font size of final PDF bigger: 11pt.
- Test building directly to PDF (likely just requires some dependencies to be installed).
- Improve CSS formatting.
- Use Markdown substitutions (
{{author}}
) to eliminate the need to manually find and replace your username. I could not get these to work.