On 9/4/2016 5:33 PM, Jose Luis Arellano wrote:
Hello Hans.

I have no clue what you expect ..
Use old style numbers as default feature in text and tabular-lining
numbers for tables.

and how about oldstyle tabular lining numbers ... if we would disable oldstyle then someone would complain that oldstyle fixed width digits would fail

\definefontfeature
  [system:tabnum]
  [system:tabnum]
  [onum=no]

\definefontfeature[default][default][onum=yes]

\setupbodyfont[pagella]

\starttext

\enabledirectives[typesetters.characteralign.autofont]

\bTABLE
\setupTABLE[alignmentcharacter={text->.},aligncharacter=yes,align=middle]
\bTR \bTD 1.23456789 \eTD \eTR
\bTR \bTD 12.3456789 \eTD \eTR
\bTR \bTD 123.456789 \eTD \eTR
\eTABLE

\disabledirectives[typesetters.characteralign.autofont]

\bTABLE
\setupTABLE[alignmentcharacter={text->.},aligncharacter=yes,align=middle]
\bTR \bTD 1.23456789 \eTD \eTR
\bTR \bTD 12.3456789 \eTD \eTR
\bTR \bTD 123.456789 \eTD \eTR
\eTABLE

\stoptext


what font is used? Not all fonts have those num features.
This issue is not related to font. You can reproduce it with default
font (Latin Modern) just use the MWE.

Thanks

2016-09-04 6:40 GMT-03:00 Hans Hagen <pra...@wxs.nl>:
On 9/4/2016 6:38 AM, Jose Luis Arellano wrote:

Hello list.
I want to report a very annoying issue when one use oldstyle numbers
by default. You can check the result in the following MWE:

%\definefontfeature[default][default][onum=yes]
\definefontfeature[lnum][tnum=yes,lnum=yes]

\starttext
\bTABLE

\setupTABLE[alignmentcharacter={text->.},aligncharacter=yes,align=middle,style={\feature[+][lnum]}]
\bTR \bTD 1.23456789 \eTD \eTR
\bTR \bTD 12.3456789 \eTD \eTR
\bTR \bTD 123.456789 \eTD \eTR
\eTABLE
\stoptext

As you can see, when you uncomment the line above, "aligncharacter"
has no effect.


I have no clue what you expect .. what font is used? Not all fonts have
those num features.

Hans


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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