-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
Inconsistent local/global assignment error with \NewMarkClass
#1574
Comments
It's harmless, as the declaration should appear only at top-level, but it is a bug nonetheless. Will correct it in the next release. Thanks for spotting. |
For the record, particularly regarding the "harmless" statement, I'm actually getting some slight concrete inconvenience because of this. I'm using now |
Some investigation on the previous comment. And, as far as I can tell, the fix to |
I didn't want to indicate that there isn't any inconvenience due to the bug, if you enable checking then of course there is because the error means TeX is stopping (or worse, it hits 100 errors limit as in your case). All I meant was that if you don't do checking the mistake has no bad effects.
The reason is that with the current implementation you hit the error only a few times (if at all) per declaration, with the new one in dev you hit it quite often, which is why you end up with TeX giving up. The problem will go away with the next dev release, but for new to pass the dev release tests you would need to either disable that particular test or move the start of checking after the declarations have been made, so yes inconvenient. |
@FrankMittelbach Agreed on all accounts. It was not a complaint or anything, the point of the first comment was really that there seemed to be something different with And it is not a big deal on my side either. I just can't run
Actually all of my test files set I guess I was just lucky that with the current numbers the limit is not reached. Otherwise I might have had to wait a bit. But, again, none of this is an actual problem. Btw, thanks for the quick fix. (@muzimuzhi ). And thanks for |
Brief outline of the bug
Creating a new
ltmarks
class with\NewMarkClass
results in "Inconsistent local/global assignment" error whencheck-declarations
is enabled.Minimal example showing the bug
Log file (required) and possibly PDF file
document.log
The text was updated successfully, but these errors were encountered: