Re: [NTG-context] numbering sections/subsections

2022-07-11 Thread Alan Bowen via ntg-context
Thanks, again, Hraban. This is very helpful. Best, Alan On Mon, Jul 11, 2022 at 5:53 AM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 10.07.22 um 22:25 schrieb Alan Bowen via ntg-context: > > Thank you, Hraban, for the solution and the link! > > You’re welcome! > > > > >

Re: [NTG-context] numbering sections/subsections

2022-07-11 Thread Henning Hraban Ramm via ntg-context
Am 10.07.22 um 22:25 schrieb Alan Bowen via ntg-context: Thank you, Hraban, for the solution and the link! You’re welcome! \definestructureconversionset[mySet][A,n,A,n][n] % starts at part! \setuphead[section,subsection][sectionconversionset=mySet]

Re: [NTG-context] numbering sections/subsections

2022-07-10 Thread Alan Bowen via ntg-context
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@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 > >

Re: [NTG-context] numbering sections/subsections

2022-07-09 Thread Henning Hraban Ramm via ntg-context
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

[NTG-context] numbering sections/subsections

2022-07-09 Thread 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]

[NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
I have activated numbering sections by *\setuphead[section][number=yes]*, and now the numbers are in the toc, too, as they should. How to show the numbers in the header, too? The header is: *\setupheadertexts [][{\grau{\tfx\getmarking[section]}}][{\definedfont[name:myriadprosemibold at

Re: [NTG-context] Numbering sections

2013-09-02 Thread Wolfgang Schuster
Am 02.09.2013 um 14:45 schrieb H. Özoguz h.oezo...@mmnetz.de: I have activated numbering sections by \setuphead[section][number=yes], and now the numbers are in the toc, too, as they should. How to show the numbers in the header, too? The header is: \setupheadertexts

Re: [NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
You can the section number with \getmarking[sectionnumber], the chapter number with \getmarking[chapternumber] etc. Thanks Wolfgang! And another question about numbering: How can I let start the numbering of chapters with the number n (not 1, as default)? E.g. with n=0 or n=2? Thanks.

Re: [NTG-context] Numbering sections

2013-09-02 Thread Wolfgang Schuster
Am 02.09.2013 um 15:21 schrieb H. Özoguz h.oezo...@mmnetz.de: You can the section number with \getmarking[sectionnumber], the chapter number with \getmarking[chapternumber] etc. Thanks Wolfgang! And another question about numbering: How can I let start the numbering of chapters with

Re: [NTG-context] Numbering sections

2013-09-02 Thread H. Özoguz
Thanks Wolfgang, nearly perfect, what I wanted. The problem left is here: \defineexpandable[1]\Previousnumber {\number\numexpr#1-1\relax} \defineconversion[previousnumber][\Previousnumber] \setuphead[section][conversion=previousnumber] \starttext \dorecurse{5}{\chapter{Chapter #1}