Fix footnotes and list conversion