Skip to content

Disabling individual warnings #1092

@helq

Description

@helq

I am getting an erroneous "undefined reference" warning from this newcommand definition

\newcommand{\mycitep}[1]{\cite{#1}}

I've been looking in the wiki, and it might be that I am bad at looking, but I haven't found a simple way to disable the warning for that single line. I would expect something like:

\newcommand{\mycitep}[1]{\cite{#1}} % texlab: disable warning

% or

% texlab: disable warning
\newcommand{\mycitep}[1]{\cite{#1}}

% or

\newcommand{\mycitep}[1]{\cite{#1}}
% ^ texlab: disable warning

Is there a way to disable individual warnings?
Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions