diff --git a/doc/sf_and_dist/equations/gamm2.mml b/doc/sf_and_dist/equations/gamm2.mml
index 140028405..670ae0931 100644
--- a/doc/sf_and_dist/equations/gamm2.mml
+++ b/doc/sf_and_dist/equations/gamm2.mml
@@ -3,7 +3,7 @@
Γ
- z
+ a
=
@@ -130,3 +130,4 @@
+
diff --git a/doc/sf_and_dist/equations/gamm2.png b/doc/sf_and_dist/equations/gamm2.png
index 803c5e726..85a70afa7 100644
Binary files a/doc/sf_and_dist/equations/gamm2.png and b/doc/sf_and_dist/equations/gamm2.png differ
diff --git a/doc/sf_and_dist/equations/gamm2.svg b/doc/sf_and_dist/equations/gamm2.svg
index 72e9165c2..a67a27c13 100644
--- a/doc/sf_and_dist/equations/gamm2.svg
+++ b/doc/sf_and_dist/equations/gamm2.svg
@@ -1,2 +1,2 @@
-Γ(z)=(lae−l)(∑0∞lnan−+1a−c1d1+c2d2+c3d3+…);ck=−(a+k−1)∧dk=a+k+l
\ No newline at end of file
+Γ(a)=(lae−l)(∑0∞lnan−+1a−c1d1+c2d2+c3d3+…);ck=−(a+k−1)∧dk=a+k+l
\ No newline at end of file
diff --git a/doc/sf_and_dist/equations/generate.sh b/doc/sf_and_dist/equations/generate.sh
index e936908d5..27d1d5eff 100755
--- a/doc/sf_and_dist/equations/generate.sh
+++ b/doc/sf_and_dist/equations/generate.sh
@@ -7,7 +7,7 @@
#
# Paths to tools come first, change these to match your system:
#
-math2svg='d:\download\open\SVGMath-0.3.1\math2svg.py'
+math2svg='m:\download\open\SVGMath-0.3.1\math2svg.py'
python=/cygdrive/c/Python26/python.exe
inkscape=/cygdrive/c/progra~1/Inkscape/inkscape
# Image DPI:
@@ -30,3 +30,4 @@ done
+