Add files via upload

This commit is contained in:
philcarmona 2020-04-02 11:45:14 +02:00 committed by GitHub
parent 9d368a3da8
commit 0c85798f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

7
apt.txt Normal file
View File

@ -0,0 +1,7 @@
texlive-latex-base
texlive-latex-recommended
texlive-science
texlive-latex-extra
texlive-fonts-recommended
dvipng
ghostscript

9
postBuild Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# run matplotlib once to generate the font cache
python -c "import matplotlib as mpl; mpl.use('Agg'); import pylab as plt; fig, ax = plt.subplots(); fig.savefig('test.png')"
test -e test.png && rm test.png
jupyter labextension install @jupyterlab/latex
jupyter lab build