diff --git a/bootstrap/lecture/bootstrap-chapter.tex b/bootstrap/lecture/bootstrap-chapter.tex
index 7ecd9a5..0f306cd 100644
--- a/bootstrap/lecture/bootstrap-chapter.tex
+++ b/bootstrap/lecture/bootstrap-chapter.tex
@@ -5,8 +5,8 @@
 \lstset{inputpath=../code}
 \graphicspath{{figures/}}
 
-\setcounter{page}{81}
-\setcounter{chapter}{4}
+\setcounter{page}{}
+\setcounter{chapter}{-1}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/likelihood/lecture/likelihood-chapter.tex b/likelihood/lecture/likelihood-chapter.tex
index 0f74fe3..00d7138 100644
--- a/likelihood/lecture/likelihood-chapter.tex
+++ b/likelihood/lecture/likelihood-chapter.tex
@@ -5,8 +5,8 @@
 \lstset{inputpath=../code}
 \graphicspath{{figures/}}
 
-\setcounter{page}{101}
-\setcounter{chapter}{6}
+\setcounter{page}{}
+\setcounter{chapter}{-1}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/plotting/lecture/plotting-chapter.tex b/plotting/lecture/plotting-chapter.tex
index faab54e..80bde57 100644
--- a/plotting/lecture/plotting-chapter.tex
+++ b/plotting/lecture/plotting-chapter.tex
@@ -5,8 +5,8 @@
 \lstset{inputpath=../code}
 \graphicspath{{images/}}
 
-\setcounter{page}{45}
-\setcounter{chapter}{1}
+\setcounter{page}{}
+\setcounter{chapter}{-1}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/pointprocesses/lecture/isihexamples.py b/pointprocesses/lecture/isihexamples.py
index 9d50fbc..b03d2a9 100644
--- a/pointprocesses/lecture/isihexamples.py
+++ b/pointprocesses/lecture/isihexamples.py
@@ -98,4 +98,4 @@ plotisih(ax, isis(inhspikes))
 
 plt.tight_layout()
 plt.savefig('isihexamples.pdf')
-plt.show()
+plt.close()
diff --git a/pointprocesses/lecture/pointprocessscetchA.eps b/pointprocesses/lecture/pointprocessscetchA.eps
index f0a0b2d..de57b17 100644
--- a/pointprocesses/lecture/pointprocessscetchA.eps
+++ b/pointprocesses/lecture/pointprocessscetchA.eps
@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0 EPSF-2.0
 %%Title: pointprocessscetchA.tex
 %%Creator: gnuplot 4.6 patchlevel 4
-%%CreationDate: Sun Nov 22 12:40:02 2015
+%%CreationDate: Mon Nov 23 13:45:26 2015
 %%DocumentFonts: 
 %%BoundingBox: 50 50 373 135
 %%EndComments
@@ -430,10 +430,10 @@ SDict begin [
   /Title (pointprocessscetchA.tex)
   /Subject (gnuplot plot)
   /Creator (gnuplot 4.6 patchlevel 4)
-  /Author (jan)
+  /Author (grewe)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Sun Nov 22 12:40:02 2015)
+  /CreationDate (Mon Nov 23 13:45:26 2015)
   /DOCINFO pdfmark
 end
 } ifelse
diff --git a/pointprocesses/lecture/pointprocessscetchB.eps b/pointprocesses/lecture/pointprocessscetchB.eps
index 9576b74..ab1db53 100644
--- a/pointprocesses/lecture/pointprocessscetchB.eps
+++ b/pointprocesses/lecture/pointprocessscetchB.eps
@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0 EPSF-2.0
 %%Title: pointprocessscetchB.tex
 %%Creator: gnuplot 4.6 patchlevel 4
-%%CreationDate: Sun Nov 22 12:40:02 2015
+%%CreationDate: Mon Nov 23 13:46:59 2015
 %%DocumentFonts: 
 %%BoundingBox: 50 50 373 237
 %%EndComments
@@ -430,10 +430,10 @@ SDict begin [
   /Title (pointprocessscetchB.tex)
   /Subject (gnuplot plot)
   /Creator (gnuplot 4.6 patchlevel 4)
-  /Author (jan)
+  /Author (grewe)
 %  /Producer (gnuplot)
 %  /Keywords ()
-  /CreationDate (Sun Nov 22 12:40:02 2015)
+  /CreationDate (Mon Nov 23 13:46:59 2015)
   /DOCINFO pdfmark
 end
 } ifelse
diff --git a/pointprocesses/lecture/rasterexamples.py b/pointprocesses/lecture/rasterexamples.py
index c7c2433..9c66897 100644
--- a/pointprocesses/lecture/rasterexamples.py
+++ b/pointprocesses/lecture/rasterexamples.py
@@ -83,4 +83,4 @@ ax.eventplot(inhspikes, colors=[[0, 0, 0]], linelength=0.8)
 
 plt.tight_layout()
 plt.savefig('rasterexamples.pdf')
-plt.show()
+plt.close()
diff --git a/programming/lecture/programming-chapter.tex b/programming/lecture/programming-chapter.tex
index 8eb19a1..1e78eb5 100644
--- a/programming/lecture/programming-chapter.tex
+++ b/programming/lecture/programming-chapter.tex
@@ -5,8 +5,8 @@
 \lstset{inputpath=../code}
 \graphicspath{{images/}}
 
-\setcounter{page}{15}
-\setcounter{chapter}{0}
+\setcounter{page}{}
+\setcounter{chapter}{-1}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/regression/lecture/regression-chapter.tex b/regression/lecture/regression-chapter.tex
index 0df5e2b..11f9132 100644
--- a/regression/lecture/regression-chapter.tex
+++ b/regression/lecture/regression-chapter.tex
@@ -5,8 +5,8 @@
 \lstset{inputpath=../code}
 \graphicspath{{figures/}}
 
-\setcounter{page}{89}
-\setcounter{chapter}{5}
+\setcounter{page}{}
+\setcounter{chapter}{-1}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/statistics/lecture/statistics-chapter.tex b/statistics/lecture/statistics-chapter.tex
index ad93f38..53faeda 100644
--- a/statistics/lecture/statistics-chapter.tex
+++ b/statistics/lecture/statistics-chapter.tex
@@ -5,8 +5,8 @@
 \lstset{inputpath=../code}
 \graphicspath{{figures/}}
 
-\setcounter{page}{69}
-\setcounter{chapter}{3}
+\setcounter{page}{}
+\setcounter{chapter}{-1}
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%