-
Notifications
You must be signed in to change notification settings - Fork 518
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find the correct root file #776
Comments
It looks like you have a wrong magic comment |
I did not use any magic comment in all my tex files. Why does it continuously run and show the output like this? When I try to build from other files (except the root file), it does not work. |
I cannot reproduce the problem, can you provide a minimal example? |
@wyunnn , if you're still having problems, try the following:
|
Thank you! |
Just don't remove it. |
As pointed out by @oerpli, it is very important that your main file is in some subdirectory of the folder opened in VSCode. Looking at your logs
it means you have to open |
Is it solved? |
When I use the magic command, it works. I tried to open it in the upper layer folder |
This is very strange. Can you post a zip of minimal example, so that I can track what is going on? |
Hi all, I encountered the same Issue when I used LaTex Workshop in Win10 while including sub files with the LaTex package import. |
I have a very similar problem. It would be great if the installation instructions were more comprehensive. |
@SimonZsx From the
It looks like that you should be using |
@paddymccrudden Have a look at the wiki and feel free to make a PR if you think some extra information should be added. |
Yes, that's a great solution. Thanks a lot! |
Thanks guys - I got it working. Very nice package. |
It seems latex workshop cannot find the correct root file.
My files can be correctly built when I am under the main.tex window.
However, when I am editing other files and save it, it shows
"Found root file by the magic comment: [....\article.tex]", but actually the file article.tex does not exist. It continuously runs "parsing" and does not complete running for a long time.
The text was updated successfully, but these errors were encountered: