[NTG-context] adding font feature tnum in the TOC

Willi Egger context at boede.nl
Tue Mar 29 15:11:48 CEST 2016


Hi,

hm, I am a little puzzled…

If I am correct then one should be able to enable the font feature tnum for the page-numbers with “pagecommand=“.

I have 

\setuphead
	[section]
	[aftersection=\page, textstyle=\bfd, numberstyle=\bfd, align=middle, after={\godown[-1\lineheight]}, number=no]

\setuplist[section][pagecommand={\addfeature[tnum]#1\subtractfeature[tnum]}]

However if I do this then I get the pagenumber prefixed with ‘section’ e.g. 

	bbb bar buch bühne          section3

What am I doing in the wrong way?


Kind regards

Willi


More information about the ntg-context mailing list