[x] The issue is not related to compiling a document, or the document can be successfully compiled in the OS terminal but not in Visual Studio Code with this extension.
Environment*
Operating System: Ubuntu 22.04.4 LTS
Visual Studio Code Version: 1.88.1
LaTeX Workshop Version: 9.19.2
TeX Distribution Version: TeX Live 2024
The Issue*
A warning Duplicate label #2 is reported in the following example for \NewDocumentCommand, which is unexpected.
In contrast, \newcommand works well.
Similarily, \NewDocumentEnvironment has the same issue.
Pre-checks*
Environment*
The Issue*
A warning
Duplicate label #2
is reported in the following example for\NewDocumentCommand
, which is unexpected. In contrast,\newcommand
works well.Similarily,
\NewDocumentEnvironment
has the same issue.Logs
LaTeX Workshop Output*