On 10/20/2013 5:57 AM, Peter Münster wrote:
On Sun, Jun 10 2012, Wolfgang Schuster wrote:
\definefontfeature[default][default][tnum=yes]
Hi,
What's the new method please?
I've tried this, but without success:
--8<---------------cut here---------------start------------->8--- \definefontfamily[mainface][rm][Linux Libertine Initials O][features=tnum] \definefontfeature[default][default][tnum=yes] \setupbodyfont[mainface] \starttext \addff{tnum} \setff{tnum} \feature[+][tnum] \feature[+][tnum=yes] 565656565656X\par 000000000000X \stoptext --8<---------------cut here---------------end--------------->8---
we probably need a well defined set of predefined features \setupbodyfont[pagella] \definefontfeature[inlinenumbers] [lnum=yes] \definefontfeature[oldstylenumbers][onum=yes] \definefontfeature[tabularnumbers] [tnum=yes] \starttext % 565656565656X\par % 000000000000X\par % 111111111111X\par % \feature[+][inlinenumbers] 565656565656X\par 000000000000X\par 111111111111X\par \feature[+][oldstylenumbers] 565656565656X\par 000000000000X\par 111111111111X\par \feature[+][tabularnumbers] 565656565656X\par 000000000000X\par 111111111111X\par \stoptext the problem is that combining features is possible but that is very font dependent ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------