Skip to content
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

Converted NEST by example to Jupyter notebook and updated for 2.12. #602

Merged
merged 15 commits into from
Jan 17, 2017
Merged
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
2,529 changes: 2,529 additions & 0 deletions doc/nest_by_example/NEST_by_Example.ipynb

Large diffs are not rendered by default.

Binary file modified doc/nest_by_example/NEST_by_Example.pdf
Binary file not shown.
1,553 changes: 0 additions & 1,553 deletions doc/nest_by_example/NEST_by_Example.tex

This file was deleted.

24 changes: 24 additions & 0 deletions doc/nest_by_example/convert_to_pdf.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

# This script converts the Jupyter Notebook to PDF

# Programs to use
LATEX=pdflatex
BIBTEX=bibtex
CONVERTER="jupyter nbconvert"

fname=NEST_by_Example
template=latex_template

# Convert from Jupyter Notebook to LaTeX
${CONVERTER} --to latex --template ${template} "${fname}"

# Do the LaTeX Dance
${LATEX} "${fname}"
${BIBTEX} "${fname}"
${LATEX} "${fname}"
${LATEX} "${fname}"

# Remove temporary files
rm -f "${fname}".{aux,bbl,blg,log,out,tex}
rm -fr "${fname}_files"
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading