From footnotes to anchors

Second attempt