Willi Egger
29. März 2016 um 15:11
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?
\setuplist[chapter][pagestyle={\feature[=][tabularnumbers]}]

\definefontfeature[default][default][onum=yes]

\setupbodyfont[pagella]

\starttext

\setcounter[userpage][100]

\completecontent

\dorecurse{20}{\expanded{\chapter{Chapter \recurselevel}}}

\stoptext