-
Notifications
You must be signed in to change notification settings - Fork 3
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
subcaption
tricks zref-titleref
#21
Comments
Yes changing the order helps. But generally I think zref-titleref is (now) flawed. Instead of using its own command to store the title ( |
I can only concur. That would be awesome, of course. ;-) |
An idea, in the spirit of "the least possible fuss": provide a \zref@newprop{name}{\@currentlabelname}
\zref@addprop\ZREF@mainlist{name} Since And not much to worry also if anyone around is relying on specific stuff from |
Currently, the
subcaption
package seems to defeatzref-titleref
for the caption names:Produces the labels:
Edit: Changing the respective load order changes the above results. If there are consequences of doing so for
subcaption
functionality, I don't know. If this indeed just a "load order issue", perhaps documenting it in the manual would be useful.Edit 2: As far as I can tell from just reading code, this seems to be a load order issue. Also:
\@caption
is coming fromcaption
which is loaded bysubcaption
.zref-titleref
it seems to expect to be loaded very late in general, not just for this particular interaction. If the above diagnostics are correct, again, a mention in the docs would be welcome. And just that would be sufficient.The text was updated successfully, but these errors were encountered: