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

2016-03-30 Thread Willi Egger
Thank you Hans, I think we will keep such things with fonts as before. So I am happy about the solution I got from Wolfgang and it works for me here…The latter is the most important. Kind regards Willi > On 30 mrt. 2016, at 08:26, Hans Hagen wrote: > > On 3/29/2016 8:38 PM,

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

2016-03-30 Thread Hans Hagen
On 3/29/2016 8:38 PM, Willi Egger wrote: I underrstand this, however then I do not get tabular figures… These things also depend on the font. Some fonts (maybe taken from type ones) have old styles in the regular digit slots so effectively they always have onum=yes hardcoded and maybe

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

2016-03-29 Thread Willi Egger
Hello Wolfgang, indeed if one uses pagella it is true what you say. If I use Seravek, which has oldstuyle figures also, then it does not work in the same way. I tested with \addfeature[oldstyle] which is defined as \definefontfeature[oldstyle][default][sript=latn,onum=yes] With this feature

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

2016-03-29 Thread Wolfgang Schuster
Willi Egger 29. März 2016 um 20:38 I underrstand this, however then I do not get tabular figures… Do you want them for oldstyle figures or lining figures. \definefontfeature [onum+pnum] [onum=yes,lnum=no,pnum=yes,tnum=no] \definefontfeature [onum+tnum]

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

2016-03-29 Thread Willi Egger
I underrstand this, however then I do not get tabular figures… Willi > On 29 mrt. 2016, at 20:36, Wolfgang Schuster > wrote: > >> Willi Egger 29. März 2016 um 20:29 >> Hello Wolfgang, >> >> I used your solution. However I think instead of an “=“ it should be “+”.

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

2016-03-29 Thread Wolfgang Schuster
Willi Egger 29. März 2016 um 20:29 Hello Wolfgang, I used your solution. However I think instead of an “=“ it should be “+”. No, the = was intentional because I had to get rid of the onum setting. Wolfgang

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

2016-03-29 Thread Willi Egger
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 >

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

2016-03-29 Thread Willi Egger
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

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

2016-03-29 Thread Wolfgang Schuster
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,

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

2016-03-29 Thread Willi Egger
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]},