Re: [NTG-context] MkIV \digits bug

2009-02-19 Thread Wolfgang Schuster


Am 15.02.2009 um 17:04 schrieb Wolfgang Schuster:


Hi,

the \digits command cause a error message with the last beta in MkIV.


% engine=luatex
\starttext
\digits{1.000}
\stoptext


! \textfont 1 is undefined (character :).
\mathematics #1-\relax \ifmmode #1\else $#1$
\fi
\doscandigit ...\digitoutputmode ,\else .\fi \fi }
 \egroup
\digitsep ...x \digitsepbox \hbox {\doscandigit #1
 }\fi \chardef  
\skipdigit 0...

\scandigits #1-\if #1.\digitsep 1
 \else \if #1,\digitsep 2\else \if  
#...@\digi...

\next *#1-\dododohandletokens {#1}
  \dohandletokens
argument 1.
000
...
l.3 \digits{1.000}


Best regards,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] MkIV \digits bug

2009-02-15 Thread Wolfgang Schuster

Hi,

the \digits command cause a error message with the last beta in MkIV.


% engine=luatex
\starttext
\digits{1.000}
\stoptext


! \textfont 1 is undefined (character :).
\mathematics #1-\relax \ifmmode #1\else $#1$
 \fi
\doscandigit ...\digitoutputmode ,\else .\fi \fi }
  \egroup
\digitsep ...x \digitsepbox \hbox {\doscandigit #1
  }\fi \chardef  
\skipdigit 0...

\scandigits #1-\if #1.\digitsep 1
  \else \if #1,\digitsep 2\else \if  
#...@\digi...

\next *#1-\dododohandletokens {#1}
   \dohandletokens
argument 1.
 000
...
l.3 \digits{1.000}


Best regards,
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___