-
Notifications
You must be signed in to change notification settings - Fork 2
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
\zlabel is ignored inside multline environment #4
Comments
Yes. But I don't think that zref can do much here. The amsmath environments take a lot trouble to save and restore \label when processing the content but ignore \zlabel. So amsmath would need a change. You can get your example more or less working with the following. But it could have bad side effects if you have \label commands in other places:
|
@u-fischer : No, it does not work. |
Yes, it does. I tested it on a current texlive. |
@kia999 your last comment appears scrambled (it just shows as CSS?) could you clarify your "not work" comment by showing the log, or saying what happens? |
@kia999 Works fine for me on miktex too. |
In my example zref is loaded after amsmath, and \zref prints ?? if \zlabel is inside multline. Log file reports that label is not found. In example given bu Ulrike Fischer zref goes before amsmath and \zref works fine. |
@u-fischer I suppose it might be possible for |
@davidcarlisle the problem isn't so much that zlabel isn't executed, but that even if one force the execution it doesn't get the right values to save them to the aux file. E.g.
without the |
I noted that \zlabel is ignored inside multline environment, it does not write \zref@newlabel to aux file. Here is MWE:
The text was updated successfully, but these errors were encountered: