diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..12123b5 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "reveal.js"] + path = reveal.js + url = https://github.com/hakimel/reveal.js.git diff --git a/Makefile b/Makefile index 4393518..9ac352a 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,19 @@ title=Open Science Workshop - Handout all: jupyter-notebook slides.ipynb slides: - jupyter-nbconvert --to slides slides.ipynb --post serve + jupyter-nbconvert --to slides slides.ipynb --post serve --reveal-prefix reveal.js latex: cp slides.ipynb '$(title).ipynb' jupyter-nbconvert --to latex '$(title).ipynb' rm '$(title).ipynb' handout: latex xelatex -interaction nonstopmode '$(title).tex' rm '$(title).tex' clean: rm '$(title).log' '$(title).aux' '$(title).out' '$(title).tex' '$(title).pdf' slides.slides.html diff --git a/README b/README index 0255cb7..4989fb5 100644 --- a/README +++ b/README @@ -1,13 +1,14 @@ Dependencies ------------ ``` sudo apt install texlive-xetex pandoc sudo pip3 install -r requirements.txt sudo pip3 install --upgrade ipython # in case it's already installed python3 -m bash_kernel.install +git submodule update --init # Not necessary #sudo jupyter-nbextension install rise --py --sys-prefix #sudo jupyter-nbextension enable rise --py --sys-prefix ``` diff --git a/reveal.js b/reveal.js new file mode 160000 index 0000000..c35cce5 --- /dev/null +++ b/reveal.js @@ -0,0 +1 @@ +Subproject commit c35cce54a5d4800b90e71a43da140c0347308989