[NTG-context] Numbercommand and title

Fabrice Couvreur fabrice1.couvreur at gmail.com
Fri Aug 12 11:12:31 CEST 2022


Hello,
How to make the period after the number be after the second parenthesis
when there is a title like this  Définition 1.1 (Title). ?
Thanks
Fabrice

################################################
\definestructureconversionset [structure] [n, R, n, n, n] [n]

\defineconversionset [digit] [] [n]

\setupheads[sectionconversionset=structure]

\setupenumerations
  [before={\blank},
   after={\blank},
   alternative=serried,
   distance=0.5em,
   title=yes,
   titleleft=,
   titleright=,
   titlestyle=normal,
   numbercommand=\groupedcommand{}{.},
   titlecommand=\groupedcommand{(}{)},
   width=broad,
   way=bychapter,
   prefix=yes,
   prefixsegments=chapter,
   prefixconversionset=digit,]

\defineenumeration
   [definition]
   [text=Définition,
    number=yes,
    style=italic]

\starttext
\startchapter
  [title={First Chapter}]
  \startdefinition
    [title={My first définition}]
    \input{ward}
  \stopdefinition
  \startdefinition
    \input ward
  \stopdefinition
  \startdefinition
    [title={My third définition}]
    \input ward
  \stopdefinition
\stopchapter
\stopchapter
\stoptext
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220812/d4728af0/attachment.htm>


More information about the ntg-context mailing list