In some of my projects, Overleaf would not compile the current file I had open (but rather the original file that was open), while in other projects it would always compile the current file. Any idea why this might occur?
Asked
Active
Viewed 4,594 times
1 Answers
3
Turns out that the issue was that I did not have the \documentclass command written at the top of the file (I had instead written this in a separate preamble.tex file and done \input{preamble}). If there is no \documentclass command in the file, then Overleaf will not compile it when you switch to that file!
Grayscale
- 183
- 1
- 7
article. – A-Level Student Sep 29 '20 at 19:40