You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Texlab reports both in (1) and (2) that the label #1 is unused and dublicate.
Expected Behaviours
Texlab should either
ignore \label and alike commands in macro definition
if the parametre (#1, ...) is passed directly to the \label (or with a little concatenate) in the bulk of the definition of the newcommand, newly defined command shall be considered as a new `label' and can be recognised by the texlab's label-ref analysis system (not sure if I have used the right words for it...)
Issue
Consider defining some macros in the preamble:
Texlab reports both in (1) and (2) that the label
#1
is unused and dublicate.Expected Behaviours
Texlab should either
\label
and alike commands in macro definition#1
, ...) is passed directly to the\label
(or with a little concatenate) in the bulk of the definition of the newcommand, newly defined command shall be considered as a new `label' and can be recognised by the texlab's label-ref analysis system (not sure if I have used the right words for it...)Maybe related links
#1093
Version info
Confermed both in VS Code with texlab extension and Vim with coc-texlab
The text was updated successfully, but these errors were encountered: