-
Notifications
You must be signed in to change notification settings - Fork 539
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
Possible infinite compilation loop when the .bib file is generated at compile time (revtex package) #2153
Comments
This comment has been minimized.
This comment has been minimized.
Thanks for the reply! I updated the original post using the template. |
Here is what happens.
Step 3 is the issue. You have to figure out why your |
@isaacengel Please paste the whole log. It should start with |
@jlelong That makes sense! It seems that the REVTeX package generates these Is it possible to tell the autoBuild function to ignore certain files, or to act only when the root file is changed? |
You can ignore some files using As @tamuratak asked, please post the complete logs and the content of the |
@jlelong @tamuratak Find the log and fls file contents below.
Would that make sense? I will upload a MWE when I get the chance. Fls file contents:
Log:
|
And here is the compiler log:
|
The I am closing this issue. If you need more help, please ask for reopening and provide a minimal working example to reproduce the issue. |
@jlelong I cannot get your point. If I think the cause is that @isaacengel please paste the content of |
Here is a MWE for the compilation error (I couldn't reproduce the endless loop in this case) And here are the last 10 lines of
|
@tamuratak Good point. I forgot about the scanning of |
@isaacengel thank you for your cooperation. |
I will try to modify LaTeX-Workshop/src/components/manager.ts Lines 877 to 884 in 0b68e8a
|
EDIT: using the issue template
Preliminary questions [Required]
Disable all the other extensions except for LaTeX Workshop, and check that you still see this issue. [Required]
You still see this issue?: Yes
Make sure to visit the wiki FAQ before filling an issue.
You visited the wiki?: Yes
If your issue is with compiling a document (not having to do with finding the root file of a project), check first that you can compile manually.
You can compile a TeX document manually?: No (the file did not compile in the first place, although if I do it manually the "endless compilation" doesn't happen)
Describe the bug [Required]
When a compilation fails (e.g. after saving the main .tex file), it tries to compile over and over again until I click on 'Terminate current compilation', which doesn't always work. This makes it hard to check the compiler log as it is constantly refreshing.
To Reproduce
Steps to reproduce the behavior:
Note: in my current case, it's an issue with the bibliography but I have had this same problem happen with syntax errors such as not closing a curly bracket section.
Expected behavior
Compilation will finish with errors, showing up the 'Recipe terminated with error.' messages, and will start compiling again. This leads to an endless loop of compilation and error messages.
Logs [Required]
Please paste the whole log messages here, not parts of ones. It is very important to identify problems.
LaTeX Workshop Output [Required]
Developer Tools Console [Required]
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop [Required]
Additional questions
Are you using LaTeX Workshop with VS Code Remote?
No
Additional context
The same project compiles fine in TeXstudio 2.12.2. By the way, this particular issue of the bibliography happens when I try to not use bibtex, by replacing the \bibliography{...} line with the contents of the .bbl file.
The text was updated successfully, but these errors were encountered: