2

I have an overleaf project where I'm writing solutions for an annual math contest. Here is my file structure:

Overleaf File Structure You can see that I have a "previous" folder with my solutions to past years and the current one I'm working on is outside of it. However, when I open up my project the pdf compilation on the right side always compiles the old one (Y31R1.tex) even though on the left side the new one (Y31R1.tex) is selected.

What's even stranger is that the diagrams on the pdf are the ones in Y32R1.tex so the pdf shows the text for the old doc and the diagrams for the new one. Is this a cache issue?

This is a small problem but it's still annoying. Any help appreciated.

~Shrey J.

6
  • 1
    Did you specify the correct file as main in the menu? – Luis Turcio Sep 13 '20 at 2:39
  • I'm not sure what you mean or how you can do that. – Shrey Joshi Sep 13 '20 at 2:47
  • Oh I got it now thank you very much! – Shrey Joshi Sep 13 '20 at 2:50
  • 2
    In the top left of the page, above the “new file” icon there is an icon with overleaf symbol, this is the menu. In the settings section is where you choose a main file – Luis Turcio Sep 13 '20 at 2:50
  • Seems a little off topic for Tex.Se – hola Sep 13 '20 at 5:06
2

Solved it with the help of Luis Turcio.

"In the top left of the page, above the “new file” icon there is an icon with overleaf symbol, this is the menu. In the settings section is where you choose a main file"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.