Skip to content

Commit 9f29d25

Browse files
committed
moved notebooks into a folder and added script to generate pdfs
1 parent c775bcd commit 9f29d25

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+20
-34
lines changed

README.md

Lines changed: 8 additions & 2 deletions
File renamed without changes.

generatepdfs.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#! /bin/bash
2+
3+
# Script to convert jupyter notebooks to PDF files. The pdfs are saved in ./pdfs folder
4+
5+
sudo apt update
6+
sudo apt install -y pandoc texlive texlive-xetex > /dev/null
7+
8+
files=$(find . -name '*.ipynb')
9+
for f in $files; do
10+
echo Converting: $f
11+
jupyter nbconvert --log-level=0 --output-dir='./pdfs' --to pdf $f > /dev/null
12+
done

integers.txt

Lines changed: 0 additions & 10 deletions
This file was deleted.
File renamed without changes.

0 commit comments

Comments
 (0)