Skip to content

ensure-labels-for-sections hook doesn't recognize refstyle labels #149

Description

@AbhijeetKrishnan

The refstyle package provides commands like \eqlabel{pythagoras} or \seclabel{Introduction} to define labels, and \eqref{pythagoras} or \secref{Introduction} to reference them, allowing for finer grained control over the display of references for different elements of your TeX document. They are equivalent to label{eq:pythagoras} or \label{sec:Introduction}.

However, the ensure-labels-for-sections hook doesn't currently recognize this style of label definitions, flagging it as missing label. It would be nice to have that support, as my current solution is to run git commit --no-verify, which is not preferable.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions