"'pdflatex' needed too many passes" error with large latex project #3098
Unanswered
vkakerbeck
asked this question in
Q&A
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Preliminary questions [Required]
When I compile my latex project in VSCode I receive this error:
Latexmk: Failure in processing file 'c:/Users/vkakerbeck/Dropbox/PhD/Thesis/603cdce2dccc676c0d14bf59/main':
'pdflatex' needed too many passes
Can I somehow increase the number of passes that will be performed? The error disappears when I comment out small parts of my code (doesn't matter which parts, just as long there is less to compile) and the project compiles without errors in overleaf so it doesn't seem to be an error in the code but rather the size of the project.
Disable all the other extensions except for LaTeX Workshop, restart VS Code, 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?: Yes, running "latexmk main.tex -pdf" in the terminal works
Describe the bug [Required]
Compiling the latex project in VSCode with Latex Workshop fails when the project size goes over a certain threshold. Maybe somewhere the number of passes needs to be increased? There are no compile errors in the project when compiling in Overleaf or the terminal.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Perform more passes when the project gets larger such that compilation can finish. Maybe I am overlooking a setting somewhere.
Logs [Required]
Log is very, very long (cut down some repetitive elements to fit in here)
LaTeX Workshop Output [Required]
Developer Tools Console [Required]
Desktop [Required]
Please write exact version numbers. Please don't write
latest
instead of exact numbers.Additional questions
Are you using VSCodium?
No
Are you using the Snap or Flatpack versions of VS Code?
No
Are you using LaTeX Workshop with VS Code Remote?
No
Thanks a lot for any help!
Beta Was this translation helpful? Give feedback.
All reactions