Skip to content

Issues when directives share the same title and no number #51

Open

Description

@nathanael-fijalkow

Hi,

It may not be very frequent, but it may be worth fixinf anyway.

I write:

```{prf:theorem} Title1
:nonumber:
Content1
```
```{prf:lemma} Title1
:nonumber:
Content2
```

And surprisingly, the first directive becomes
Theorem Lemma (Title1):
it stole "Lemma" from the second directive.
I guess this is because the "Theorem" and "Lemma" (and all other directives actually) are assigned to the first match.

The issue disappears when removing :nonumber

Nath

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions