[NTG-context] Placing a section ending depending on odd/even sectionnumber

Willi Egger context at boede.nl
Tue Aug 4 18:56:48 CEST 2020


now I have another hurdle to be taken :-) — Depending on the odd or even number of the section I have to place an ornament at the end of the section.

I have sofar the following setup:


\startsetups endsection
		{\currentheadnumber} %{\headnumber[section][current]}{odd}
 		{\bf End of even numbered section}
			{\bf End of odd numbered section}


		\input ward

		\input knuth



However the the evaluation of the sectionnumber results always in “false”, having therefore always odd as a sectionending.

What to change in order to get the desired result?

Kind regards


More information about the ntg-context mailing list