\documentclass{article}
\begin{document}
TEST 1
\end{document}
\end{document}
index.html for the document is entirely blank when this is compiled. Commenting out one of the \end{document}s allows a proper compilation (showing TEST 1)
Many lecturers use 'early' \end{document}s to cut notes short for different contexts whilst leaving the 'true' end in place, and LaTeX just stops at the first \end{document} (or I think more accurately, never begins a new document for the next to end).
MWE (Test of End Document on LTI tool):
index.html for the document is entirely blank when this is compiled. Commenting out one of the
\end{document}
s allows a proper compilation (showing TEST 1)Many lecturers use 'early'
\end{document}
s to cut notes short for different contexts whilst leaving the 'true' end in place, and LaTeX just stops at the first \end{document} (or I think more accurately, never begins a new document for the next to end).