I recently found and older post by @manton about integrating footnotes. This post is a only-slightly hidden exercise in using them.