Re: [NTG-context] memoir-style chapter heading

2020-08-18 Thread jbf
Thank you Otared. The power of ConTeXt never ceases to amaze me, though despite the excellent work done on the wiki recently, it is the little things like the use of \raise that could be better described, especially in a range of applied instances. We find it, combined with hbox, in reference

Re: [NTG-context] Chapter number with Luametafun

2020-08-18 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 18.08.2020 um 16:24: Hello, How to get the number of the current chapter ? \namedheadnumber{chapter} How to get the label "Chapitre" ? \labeltext{chapter} Wolfgang ___ If your

[NTG-context] Chapter number with Luametafun

2020-08-18 Thread Fabrice Couvreur
Hello, How to get the number of the current chapter ? How to get the label "Chapitre" ? Thanks for your help. Fabrice %%% Begin example \mainlanguage[fr] \setcharacterspacing [frenchpunctuation] \setuplabeltext[fr][chapter=Chapitre~] \startuseMPgraphic{fun} definecolor[name="Mycolor", s =

[NTG-context] Index confusion with first entry

2020-08-18 Thread Henning Hraban Ramm
Hi, my index of locations shows a strange problem: Hamburg 6, 12, 14, 24–25, 27, 31, 33, 35, 44, 46, 48, 57, 59, 64, 75, 79, 81, 93–94, 96, 102, 104–105, 108–110, 112, 116–118, 120, 121–125, 6, 126–135, 6, 137– 147, 149, 151–159, 161, 165, 168, 169–171, 174, 176, 178, 182, 207, 209, 211,

[NTG-context] TOC chapter and section numbering

2020-08-18 Thread Adrian
Hello, I'm attempting to typeset a short book using ConTeXt (current version: 2020.08.09 22:03). EXAMPLE: \setuplist[content][alternative=c] \setuphead[title][alternative=middle,style=cap] \setuphead[chapter][number=no] \setuphead[section][sectionsegments=section]

Re: [NTG-context] memoir-style chapter heading

2020-08-18 Thread Otared Kavian
Hi Julian, Indeed you can modify slightly what Aditya said to obtain what you want: you can put the overlay into a framed environment as in the following example. Though, to my taste the number is a little bit too low… %% begin example \setuppagenumbering[state=start,location=footer]

Re: [NTG-context] Same counter for figures as theorems

2020-08-18 Thread Tim Steenvoorden
Hi Taco, Thanks! This works for me. It indeed seems at least inconsistent. Also, using \definecounter[enumeration][object] instead of \setupenumeration[enumeration][counter=object] Numbers figures correctly but forgets the object counter in enumerations, it numbers 1.1., 1.1.,

Re: [NTG-context] TOC chapter and section numbering

2020-08-18 Thread Taco Hoekwater
> On 18 Aug 2020, at 06:40, Adrian wrote: > > > I would like all the chapters to be prefixed with "Chapter RN." and the > sections to keep a single count, > for example: > \setuplabeltext[chapter=Chapter~] \definestructureresetset[default][1,1,0][1] % reset part, chapter, but not section