This is pdfTeX, Version 3.14159265-2.6-1.40.19 (TeX Live 2018/Arch Linux) (preloaded format=pdflatex 2019.2.12) 13 JUN 2019 21:18 entering extended mode restricted \write18 enabled. %&-line parsing enabled. **beamerthemelined.sty (./beamerthemelined.sty LaTeX2e <2018-04-01> patch level 5 ! Undefined control sequence. l.13 \mode ? ! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.13 \mode< presentation> ? ! Emergency stop. ... l.13 \mode< presentation> You're in trouble here. Try typing to proceed. If that doesn't work, type X to quit. Here is how much of TeX's memory you used: 7 strings out of 492639 311 string characters out of 6135497 56952 words of memory out of 5000000 3994 multiletter control sequences out of 15000+600000 3640 words of font info for 14 fonts, out of 8000000 for 9000 1141 hyphenation exceptions out of 8191 5i,0n,4p,76b,14s stack positions out of 5000i,500n,10000p,200000b,80000s ! ==> Fatal error occurred, no output PDF file produced!