ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* adding font feature tnum in the TOC
@ 2016-03-29 13:11 Willi Egger
  2016-03-29 15:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Willi Egger @ 2016-03-29 13:11 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-03-30  6:31 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-29 13:11 adding font feature tnum in the TOC Willi Egger
2016-03-29 15:33 ` Wolfgang Schuster
2016-03-29 15:48   ` Willi Egger
2016-03-29 18:29     ` Willi Egger
2016-03-29 18:36       ` Wolfgang Schuster
2016-03-29 18:38         ` Willi Egger
2016-03-29 18:52           ` Wolfgang Schuster
2016-03-30  6:26           ` Hans Hagen
2016-03-30  6:31             ` Willi Egger
2016-03-29 18:59         ` Willi Egger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).