Am 10.07.22 um 00:35 schrieb Alan Bowen via ntg-context:
I’m trying to get my sections numbered with capital letters and my subsections with Arabic numbers. So far, no joy. What am I missing?

Alan

Mwe: with ConText ver: 2022.01.21 20:13 LMTX  fmt: 2022.2.1. (The problem persists when I run ConTeXt online)

\setuphead[section][conversion=A]
\setuphead[subsection][conversion=n, sectionsegements=section:subsection, 
stopper={.}]

\definestructureconversionset[mySet][A,n,A,n][n] % starts at part!
\setuphead[section,subsection][sectionconversionset=mySet]
\setuphead[subsection][sectionsegments=section:subsection, stopper={.}]

% found in https://wiki.contextgarden.net/Titles

\starttext

\startsection[title=New section]
\input knuth
\startsubsection[title=New subsection]
\input ward
\stopsubsection
\stopsection

\stoptext

Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to