- In Markdown cells, use the
$$
,$$ $$
environments for equations. - References are listed in the markdown cell at the bottom of each notebook.
- Remove all outputs in a jupyter notebook.
pip3 install jupyter-book ghp-import jupytext
We strongly recommend to use VSCode + Docker to build HTML files.
-
Make sure you have Docker and VSCode installed.
-
Install the
Remote - Containers
in VSCode Extensions. -
Go to the repository and open it in VS Code.
cd /path/to/this/repository
code .
- To use Docker with VS Code, execute the following command.
ln -s .dev/devcontainer .devcontainer
-
Press the green mark at the bottom left and press
Reopen in Container
from the command palette. After the build is finished, you can enter the Docker container. -
Build html files
The following command builds html files, which takes a few minutes.
make build
- Upload html files
make upload
- For Python, edit
requirements.txt
manually. - For Julia, use the package mode to update the package. Note that in the container, the
julia
command is aliased tojulia --project=@.
.
You can add references to references.bib
.