[minor] iflimit regression#2771
Merged
brucemiller merged 3 commits intobrucemiller:masterfrom Mar 13, 2026
Merged
Conversation
Owner
|
But |
Collaborator
Author
|
Changed to the discussed strategy of simply omitting these value keys from the precompiled kernel Dump call. A local make format seems to work. The Dumper file had large changes when latexmllint ran over it -- hope those are OK. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Now that a texlive 2025
make formatssucceeds with a full load, I started seeing the Dockerized config we use for arXiv fail with a strange "instant Fatal" due to iflimit being exceeded.Then I looked at the format file and saw:
V('if_count',4154919);That number has to be
0at the start of a fresh latexml conversion run, so it is problematic that it got cached during the formats step. Several patch approaches came to mind, but the one that I believe is "Correct" is:Avoid using the
if_countstate value in any situation where theIF_LIMITisn't set. That waymake formatsnever sets it, and we resume with the clean slate from before.[aside] We have now learned that the texlive 2025 latex 3 kernel used 4.1 million conditionals in building.
[background] To use the conditional limit, our config sets