On 2/16/2023 8:07 PM, Alex Leray via ntg-context wrote:
Answering my own question… this fits my needs:
###
\defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII,
VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI]
Answering my own question… this fits my needs:
###
\defineconversion[romannumeralszero][0, I, II, III, IV, V, VI, VII,
VIII, IX, X, XI, XII, XIII, XIV, XV, XVI, XVII, XIII, XIX, XX, XXI]
\setuphead[section][conversion=romannumeralszero]
\starttext
\startsection[title={Section
Hello,
I'd like to have roman numerals prefixed sections, but starting from
Zero and not One (even if I know that roman numerals don't have a sign
for 0).
Is there a way to achieve this? My code looks like that at the moment:
###
\setuphead[section][conversion=Romannumerals]
\starttext