#1997 Compiling a temporary version of the file, because of nonexistence of the TEX root

5 days ago

I think I have founda bug which was hard for me to trace for a long time. I had this problem that occastionally when I compiled a file, texstudio would generate a temporary version and compile that one instead. This caused the files in the current directory not being seen, and I would get an error say that such and such file used in the \inpu{} command is not found.

Eventually, I realized that the problem goes back to have a line "% !TEX root = old_file.tex" leftover from a previous iteration. The file "old_file.tex" no longer exists and apparently is the cause of this strange behavior. Removing that line fixes the problem. The issue is present as of TeXstudio 2.11.2.

A more graceful behavior is to recognize that the file does not exist and give the approperite error.


  • Jan  Sundermeyer

    Jan Sundermeyer - 5 days ago

    new versions of the tex file were produced by dropbox folders. This should be fixed with 2.12.0

  • Jan  Sundermeyer

    Jan Sundermeyer - 5 days ago
    • status: open --> fixed
    • Group: -->

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks