diff --git a/chapters_preref/chapter6_beyondbm_pre.md b/chapters_preref/chapter6_beyondbm_pre.md
index 07e06ee668a..f60fca62e03 100644
--- a/chapters_preref/chapter6_beyondbm_pre.md
+++ b/chapters_preref/chapter6_beyondbm_pre.md
@@ -352,7 +352,7 @@ If we assume that stabilizing selection is weak, we can simplify the above expre
(Equation 6.23)
$$
-V_z' = G/n + (1 - 4 G \gamma) V_z \\
+V_z' = G/n + (1 - 4 G \gamma) V_z
$$
@@ -504,7 +504,7 @@ We can further specify the starting conditions by noting that both the variance
(Equations 6.48)
$$
-V_{a0} = V_{ab0} = V_{ab0} = V_z(t_1) = \frac{e^{-4 G \gamma t_1}-1}{4 n \gamma} \\
+V_{a0} = V_{ab0} = V_{ab0} = V_z(t_1) = \frac{e^{-4 G \gamma t_1}-1}{4 n \gamma}
$$
diff --git a/chapters_preref/kindle_gen.sh b/chapters_preref/kindle_gen.sh
index 7cc4600191c..927050975e6 100755
--- a/chapters_preref/kindle_gen.sh
+++ b/chapters_preref/kindle_gen.sh
@@ -1,3 +1,7 @@
+#!/bin/bash
+#
+# requires : pandoc, pandoc-citeproc, pandoc-fignos
+
cat chapter1_introduction_pre.md | sed s@\{\{[[:space:]]site.baseurl[[:space:]]\}\}@..@ > t1.md
cat chapter2_stats_pre.md | sed s@\{\{[[:space:]]site.baseurl[[:space:]]\}\}@..@ > t2.md
cat chapter3_bmintro_pre.md | sed s@\{\{[[:space:]]site.baseurl[[:space:]]\}\}@..@ > t3.md
@@ -13,6 +17,6 @@ cat chapter12_beyondbd_pre.md | sed s@\{\{[[:space:]]site.baseurl[[:space:]]\}\}
cat chapter13_chardiv_pre.md | sed s@\{\{[[:space:]]site.baseurl[[:space:]]\}\}@..@ > t13.md
cat chapter14_summary_pre.md | sed s@\{\{[[:space:]]site.baseurl[[:space:]]\}\}@..@ > t14.md
-pandoc titlepage.md copyright.md acknowledgements.md toc.md t1.md t2.md t3.md t4.md t5.md t6.md t7.md t8.md t9.md t10.md t11.md t12.md t13.md t14.md --from=markdown-markdown_in_html_blocks-native_divs --latex-engine=xelatex --filter pandoc-fignos --webtex https://latex.codecogs.com/svg.latex? --bibliography pcm_paperpile.bib --filter pandoc-citeproc --csl evolution.csl --metadata link-citations=true -V geometry:margin=0.7in -V fontsize=12pt -V geometry:c5paper -o ../pdf/phylogeneticComparativeMethods.epub
+pandoc titlepage.md copyright.md acknowledgements.md toc.md t1.md t2.md t3.md t4.md t5.md t6.md t7.md t8.md t9.md t10.md t11.md t12.md t13.md t14.md --from=markdown-markdown_in_html_blocks-native_divs --pdf-engine=xelatex --filter pandoc-fignos --webtex https://latex.codecogs.com/svg.latex? --bibliography pcm_paperpile.bib --filter pandoc-citeproc --csl evolution.csl --metadata link-citations=true -V geometry:margin=0.7in -V fontsize=12pt -V geometry:c5paper -o ../pdf/phylogeneticComparativeMethods.epub
rm t1.md t2.md t3.md t4.md t5.md t6.md t7.md t8.md t9.md t10.md t11.md t12.md t13.md t14.md
diff --git a/pdf/phylogeneticComparativeMethods.epub b/pdf/phylogeneticComparativeMethods.epub
index d2a6dcbfd06..e3c31f32535 100644
Binary files a/pdf/phylogeneticComparativeMethods.epub and b/pdf/phylogeneticComparativeMethods.epub differ