fix footnote numbering; cf #18
Merge pull request #19 from tdtds/fix-footnote-numbering

fix footnote numbering; cf #18