Started to handle footnotes in TeX export