Hello Wolfgang, I used your solution. However I think instead of an “=“ it should be “+”. I wikified this issue. Kind regards Willi
On 29 mrt. 2016, at 17:48, Willi Egger
wrote: Wolfgang!
Many thanks for this! - I get the result I wanted to.
Kind regards
Willi
On 29 mrt. 2016, at 17:33, Wolfgang Schuster
wrote: 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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________