" 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={: }]
\setuphead[section][distance=\zeropoint,commandbefore={\space\endash\space}]
\setuplabeltext[en][chapter=Chapitre ]
But for this
Remark 1.1.
Remark 1.2
Remark 1.3
I do not find !
Fabrice
2017-08-26 12:27 GMT+02:00 Fabrice Couvreur
Hi, I have simplified the code, but I get :
Remark I.1. Remark I.2. Remark I.3.
instead :
Remark 1.1. Remark 1.2 Remark 1.3
Thanks Fabrice
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definestructureconversionset [structure] [numbers, Romannumerals, numbers, numbers, numbers] [numbers]
\setupheads [sectionconversionset=structure]
\defineenumeration [remark] [ text=Remark, location=serried, width=fit, right={.~}, prefix=yes, prefixsegments=chapter, ]
\setupnumber[remark][way=bychapter]
\starttext \startchapter [title={First chapter}] \startsection [title={First section}] \dorecurse{3}{\startremark \input ward \stopremark} \stopsection \stopchapter \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2017-08-24 14:53 GMT+02:00 Fabrice Couvreur
: Hello, I would like to have this :
####################
Chapitre I : Espaces probabilisés
I.1 - Expérience aléatoire et univers
Définition 1.1
Définition 1.2
####################
Thank you Fabrice
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definestructureconversionset [structure] [numbers, Romannumerals, numbers, numbers, numbers] [numbers]
\setupheads [sectionconversionset=structure]
\setupenumerations [ before={\blank[big]}, after={\blank[big]}, alternative=serried, width=broad, distance=0.5em, headstyle=bold, titlestyle=bold, prefix=chapter, way=bychapter, conversion=numbers]
\defineenumeration [definition] [ text=Définition, title=yes, style=italic, list=all, listtext={Définition}]
\starttext \startchapter[title=Espaces probabilisés] \startsection[title=Expérience aléatoire et univers] \startdefinition On appelle expérience aléatoire une expérience sur un système dont le résultat n'est pas connu d'avance et peut varier si on répète cette expérience. \stopdefinition \startdefinition On appelle univers l'ensemble des résultats possibles. Il est noté \math{\Omega}. \stopdefinition \stopchapter \stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%