[NTG-context] numbering sections/subsections

Alan Bowen bowenalan03 at gmail.com
Sun Jul 10 22:25:39 CEST 2022


Thank you, Hraban, for the solution and the link!

All best, Alan

On Sat, Jul 9, 2022 at 6:59 PM Henning Hraban Ramm via ntg-context <
ntg-context at ntg.nl> wrote:

> 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 at 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
>
> ___________________________________________________________________________________
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220710/1a91a982/attachment-0001.htm>


More information about the ntg-context mailing list