Thanks for your helpful tutorial (both blog post versions).
I'm still working my way through, but noticed in the "Set horizontal margins" commit that there seems to be a comma missing:
...though I have not yet been able to tell from the generated .pdf output (^^;
(Perhaps you know this already as a comma gets added in the next commit, but FWIW.)