Skip to content

Calculate counter increment based on footnote type #13

Open
@alerque

Description

@alerque

The new auto-counter calculator –while arguably much more useful out of the box– does actually clobber some more customized workflows. In particular the ability to keep separate counters per footnote style is basically obliterated by calculating the next available number all the time.

It looks to me like the best option is going to be to drop the ability to manually set the counter value at all, but add regex matching to the auto-counter calculator to only count footnotes of the same style. This way adding a new footnote would always increment above the number of current footnotes on a per-style basis?

Does anybody have a use case that would not be covered satisfactorily by this solution?

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