Skip to content

ignore duplicated labels in autosectionlabel extensionΒ #7697

@albertored

Description

@albertored

When having duplicated section titles in the same file the autosectionlabel extension print a warning but adds the label anyway overriding the old one.

In this situation I think it would be better to simply not add labels for duplicated sections. In this way a user can define its own labels for that problematic sections avoiding inconsistencies.

This behaviour can be optionally enabled by a configuration option of the autosectionlabel extension.

If you want I can submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions