-
Notifications
You must be signed in to change notification settings - Fork 17
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
Output normalization hook #349
Comments
This would be useful for testing font packages because it would let me remove glue/box lines. (I could post-process the output with something like |
I think before doing this we maybe should refactor the normalisation code anyway. We used to worry about long lines, but the 'plan' has changes so we run with a very large line length and avoid that. So perhaps we should make the latter a requirement, simplify the normalisation, then look at this? |
But that's configurable and I've seen cases where package maintainers chose to set the old value of |
Indeed - that's why I said about making it a requirement - we can't simplify the normalisation unless we also force the line length. That's a breaking change but over time we have made those where it makes sense - it's not hard to update |
To apply additional normalization, after built-in output normalization is done. Could be named
normalize_hook()
.Use case: to simplify specific test output, for example the log-based
m3plain002.lvt
test in latex3, added in latex3/latex3#1467latex3/latex3#1467 (comment):
The text was updated successfully, but these errors were encountered: