On Wed, 17 Aug 2022, Fabrice Couvreur via ntg-context wrote:

> Hello,
> how to get this
> Définition 1.1.
> Proposition 1.2.
> Définition 1.3.
> Proposition 1.4.
> 
> Thanks
> Fabrice
> 
> \setupenumerations
>   [before={\blank},
>    after={\blank},
>    alternative=serried,
>    distance=0.5em,
>    title=yes,
>    titleleft=,
>    titleright=,
>    titlestyle=normal,
>    prefix=yes,
>    prefixsegments=chapter,
>    way=bychapter,
>    headcommand=\groupedcommand{}{.},
>    numbercommand=\groupedcommand{}{},
>    titlecommand=\groupedcommand{(}{)},
>    width=broad]
> 
> \defineenumeration
>    [definition]
>    [text=Définition,
>     number=yes,
>     style=italic]
> 
> \defineenumeration
>    [proposition]
>    [text=Proposition,
>     number=yes,

Add:

      counter=definition,

>     style=italic]


Now, definition and proposition share the same counter.

Aditya
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to