\documentclass{article} \usepackage[a4paper]{geometry} \title{ P25252 } \author{ Sam Wilson } \date{ 2022 January 10 (Monday), 1:14AM } \begin{document} \maketitle \tableofcontents A good trick from dpeach about using Tesseract to get text out of a scanned PDF: \texttt{convert -density 300 file.pdf -depth 8 file.tiff} \texttt{tesseract file.tiff OutputFileName} \url{http://www.mythoughtspot.com/2014/10/23/use-tesseract-ocr-with-pdf-file/} \end{document}