Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Converted NEST by example to Jupyter notebook and updated for 2.12. #602
Converted NEST by example to Jupyter notebook. Also made sure that it works with 2.12, as specified in #558.
It is possible to convert the notebook to pdf. I did not get
When converting to a pdf, authors, abstract, and proper references are inserted. This is specified in the template-file
This looks mostly good to me. I have made some rephrasing suggestions, and found some typos.
@hakonsbm This looks generally very fine. But you should shorten the file name to "NEST_by_Example.ipynb". Also, it seems that even though you have defined the template file with abstract, authors, etc, this is not included in exported PDF, and the "Nordlie tables" are not rendered properly in PDF, at least when exporting to PDF via "Download as PDF via LaTeX". Is there any way to fix this?
@heplesser When exporting to PDF via "Download as PDF via LaTeX" it skips the template file completely. Therefore authors, abstract, and tables are missing when creating a PDF this way (the template substitutes the HTML tables with their LaTeX counterparts). For this reason exporting has to be done using the command line: first exporting to LaTeX using the template, then using pdflatex and bibtex to create the PDF.
I can include a small shell script that does the conversion and the clean up, if you want?
@hakonsbm A shell-script for the conversion would be useful, and the PDF created by it should also be committed. Then, all the old stuff (bib and latex files, scripts) should be removed, so that only the ipynb, the PDF generated from it, and the files required by the ipynb and for turning it into a nice PDF should remain.