executablebooks / sphinx-proof

A Sphinx extension for producing proof, theorem, lemma, definition, remark, conjecture, corollary and algorithm directives.

Home Page:https://sphinx-proof.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Directive numbering does not reset between different directives

AakashGfude opened this issue · comments

Describe the problem

The behavior at present when using different directives ::

Screen Shot 2021-07-22 at 1 30 41 pm

I think the numbering should follow the following pattern:

Theorem 1

Theorem 2

Algorithm 1

Algorithm 2

Link to your repository or website

No response

Steps to reproduce

To reproduce this problem:

  1. Use different directives(theorem, lemma, etc.) on the same page.
  2. Build HTML.
  3. The numbering will be continuous across different directives in the HTML output.

The version of Python you're using

3.8.5

Your operating system

MacOS

Versions of your packages

No response

Additional context

No response