This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex 2022.7.31) 15 MAY 2024 09:20 entering extended mode restricted \write18 enabled. file:line:error style messages enabled. %&-line parsing enabled. **hal_prefs.tex (./hal_prefs.tex LaTeX2e <2021-11-15> patch level 1 L3 programming layer <2022-02-24> ./hal_prefs.tex:3: LaTeX Error: \usepackage before \documentclass. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.3 \usepackage{ beamerthemesplit} ? ./hal_prefs.tex:3: Emergency stop. ... l.3 \usepackage{ beamerthemesplit} \usepackage may only appear in the document preamble, i.e., between \documentclass and \begin{document}. Here is how much of TeX's memory you used: 17 strings out of 478268 533 string characters out of 5846347 289381 words of memory out of 5000000 18325 multiletter control sequences out of 15000+600000 469259 words of font info for 28 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 13i,0n,12p,45b,14s stack positions out of 10000i,1000n,20000p,200000b,200000s ./hal_prefs.tex:3: ==> Fatal error occurred, no output PDF file produced!