[NTG-context] Re: Use of marking

2024-03-22 Thread Pablo Rodriguez via ntg-context
On 3/21/24 19:00, Thomas Meyer wrote: > Hi Pablo and Bruce, > > thank you very much for your two solutions. That helps me enormously now. Hi Thomas, literally, »nichts zu danken«, since it was Andrés and not me who provided a solution. Cheers, Pablo

[NTG-context] Re: Use of marking

2024-03-21 Thread Thomas Meyer
Hi Pablo and Bruce, thank you very much for your two solutions. That helps me enormously now. Greetings Thomas Am 21.03.24 um 16:34 schrieb Bruce Horrocks: \startsetups[doc:header] \getmarking[chapternumber] \space - \space \getmarking[chapter] \space :: \space

[NTG-context] Re: Use of marking

2024-03-21 Thread Bruce Horrocks
> On 20 Mar 2024, at 18:45, Andres Conrado Montoya > wrote: > > 2. As far as I have found, including the chapter/section number in the > marking is not really a trivial task. I usually hack something using > \headnumber and \getmarking, like so: You can do the following:

[NTG-context] Re: Use of marking

2024-03-20 Thread Andres Conrado Montoya
As I understand, Thomas needs a layout in which the header shows something like 1. Chapter title -- 1.1. Section title (including the numbers! *This is the important bit!*) There are a couple things about this: 1. In a section (part, chapter, section, etc.) you can introduce three versions of

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
\setupheadtext[de][section=Aufgabe] Rename the section, then you don’t need marking. Sorry, I'm in a hurry and must look up how to get the number… Am 20.03.24 um 12:18 schrieb Thomas Meyer: Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know

[NTG-context] Re: Use of marking

2024-03-20 Thread Thomas Meyer
Hi Hraban, and thanks. setuphead[chapter,section][numberwidth=2em] or "fit" works! I know \setupheadertexts, but do not know what shall I write here: \startsection[titel=Aufgabe, marking=?] If I write marking=Aufgabe I get Aufgabe, no number! For chapter the same. \setupheadertexts   

[NTG-context] Re: Use of marking

2024-03-20 Thread Hraban Ramm
Am 20.03.24 um 08:18 schrieb Thomas Meyer: HI folks, yesterday while reading along I learned how to suppress the chapter numbers in sections. That was something I was looking for myself. But how do you use marking correctly in startsection? I would like to see "1. Kapitel - 1. Aufgabe" in