Hi Pablo, " You have to define a new conversion set and use it for the prefix segments " It seems to me that's what I did :
\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] Only I get (which is normal according to the numbering chosen for the chapters : Romannumerals) Remark I.1. and I want this : Remark 1.1. Fabrice 2017-08-27 11:03 GMT+02:00 Pablo Rodriguez <oi...@gmx.es>: > 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={: }] > > \setuphead[section][distance=\zeropoint,commandbefore={\ > space\endash\space}] > > \setuplabeltext[en][chapter=Chapitre ] > > Hi Fabrice, > > 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 > ____________________________________________________________ > _______________________
___________________________________________________________________________________ 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 ___________________________________________________________________________________