-
Notifications
You must be signed in to change notification settings - Fork 407
completion is missing equation labels when using autonum #2976
Copy link
Copy link
Closed
Labels
Description
This is a rather low-priority issue.
Is your feature request related to a problem? Please describe it.
When using the autonum package1 equations that are \labeled but not \referenced don't appear in the aux file. Hence they don't appear in vimtex's completion.
Describe the solution you'd like
Maybe it would be possible to just search the current file for \labels and add those to the completion function?. This would also fix \labels not appearing in completion if the document has not been compiled since they were added (which happens frequently because most of time you add a \label you will \reference it right away.)
Footnotes
-
The main feature of this package is that
\labeled equations in the source that don't\referenced don't get labeled in the pdf ↩
Reactions are currently unavailable