From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: adding font feature tnum in the TOC
Date: Tue, 29 Mar 2016 15:11:48 +0200 [thread overview]
Message-ID: <C713097C-781A-4BC4-A70D-A86E5CEFAF09@boede.nl> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2016-03-29 13:11 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 13:11 Willi Egger [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=C713097C-781A-4BC4-A70D-A86E5CEFAF09@boede.nl \
--to=context@boede.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).