-
Notifications
You must be signed in to change notification settings - Fork 53
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 issues #88
Comments
@clason Can you try the latest commit on the master branch? 484332b and 72acbc9 should fix the issue.
@efoerster needs to have a look at this one. |
I already have, and they do! 👍
Probably just missing an entry in |
Yes, there is definitely missing an entry in |
Ah, that's where they went. I remember looking at them in the texlab repo a while ago. The |
The script is not picking it up because |
Yeah, it's a bit weird. It also doesn't define
So it does, thank you! |
I noticed two small issues with parsing
subcaption
labels in document symbols(and completion)only:If I have
subfigures
, the containingfigure
incorrectly gets the label from the firstsubfigure
(i.e.,Figure 1a
instead ofFigure 1
). The problem is that the figure label is not the first label in the containing environment (since captions are usually below figures); if the caption is moved to the top of the environment, it is picked up correctly. Note that this is an issue in parsing theaux
file; the caption is still correctly linked to thefigure
environment, e.g., in theLocationLink
ofGotoDefinition
.subtables
do not seem to be supported (the environment isn't autocompleted, and they don't appear in the symbol list). EDIT: This is an easy fix, see Subcaption fix #89Brief example, in case it's useful:
Aux file:
The text was updated successfully, but these errors were encountered: