Convert Figure captions to headings