\documentclass{article} \usepackage[a4paper]{geometry} \title{ P26547 } \author{ Sam Wilson } \date{ 2023 January 10 (Tuesday), 10:21AM } \begin{document} \maketitle \tableofcontents I'm trying to add a plain-text export option to Twyne (of varying sorts: LaTeX and Markdown to start with). I couldn't figure out why my code wasn't working. Turns out there is no mime type called \texttt{text/pain}. \end{document}