output: Refine support for footnotes, subscripts, and superscripts.