Am 21.10.2013 um 00:55 schrieb Hans Hagen <pra...@wxs.nl>:

> On 10/21/2013 7:44 AM, Peter Münster wrote:
>> Hi,
>> 
>> aligncharacter=yes does not work with \addfeature[with-tnum]:
>> 
>> --8<---------------cut here---------------start------------->8---
>> \definefontfeature[with-tnum][default][tnum=yes]
>> \definefontfamily[mainface][sans][Alwyn New]
>> \setupbodyfont[mainface]
>> \setupTABLE[alignmentcharacter=., aligncharacter=yes]
>> \starttext
>> \startbuffer
>>   \bTABLE \bTR \bTD 111.111 \eTD \eTR \bTR \bTD 444.444 \eTD \eTR \eTABLE
>> \stopbuffer
>> \getbuffer\addfeature[with-tnum]\getbuffer
>> \stoptext
>> --8<---------------cut here---------------end--------------->8---
>> 
>> Please find attached the pdf file.
>> 
>> How could I solve this problem please?
> 
> when making examples, use fonts that are available ... (as I have no time to 
> find a variant on my system that has a similar problem as the font used by 
> you)


You can use Constantia for the example.

\definefontfeature[tnum][tnum=yes]

\definefontfamily[mainface][sans][Constantia]

\setupbodyfont[mainface]

\startbuffer
\bTABLE[alignmentcharacter=., aligncharacter=yes]
        \bTR
                \bTD 111.111 \eTD
        \eTR
        \bTR
                \bTD 444.444 \eTD
        \eTR
\eTABLE
\stopbuffer

\starttext

\getbuffer

\feature[+][tnum]

\getbuffer

\stoptext

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

Reply via email to