[NTG-context] Setupheadertexts with if-condition

Huseyin Özoguz h.oezoguz at mmnetz.de
Wed Apr 10 12:29:45 CEST 2019

Hello mailing list,

I want to use an simple if-condition for this code:

\setupheadertexts [][][][{\tfx\bf\getmarking[chapternumber] – 

My problem: In my case the document dont begin with a chapter but with a 
section. So at the first pages there is not chapter and chapternumber 
and the "–" is printed alone.

So I want something like this:

{\getmarking[chapternumber] – \getmarking[chapter]}

That is of course no valid code. How to implement that if-condition?


Huseyin Özoguz

E-Mail: h.oezoguz at mmnetz.de

More information about the ntg-context mailing list