On 08/27/2017 12:14 AM, Fabrice Couvreur wrote:
> " I would like to have this :
>
> Chapitre I : Espaces probabilisés
>
> I.1 - Expérience aléatoire et univers "
>
> I did this :
>
> \setuphead[chapter][commandbefore={: }] Hi Fabrice,
> \setuphead[section][distance=\zeropoint,commandbefore={\ space\endash\space}]
> \setuplabeltext[en][chapter=Chapitre ]
I think it would be better to use French:
\mainlanguage[fr]
\setuplabeltext[fr][chapter=Chapitre ]
> But for this
>
> Remark 1.1.
> Remark 1.2
> Remark 1.3
>
> I do not find !
You have to define a new conversion set and use it for the prefix
segments (I added the section to the numbering):
\definestructureconversionset
[digits]
[n, n, a, n, n]
[numbers]
\defineenumeration
[remark]
[
text=Remark,
location=serried,
width=fit,
right={.~},
prefix=yes,
prefixsegments=chapter:section,
prefixconversionset=digits,
]
I hope it helps,
Pablo
--
http://www.ousia.tk
____________________________________________________________ _______________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
____________________________________________________________ _______________________